/*
Theme Name: Menu Template
Description: A basic WordPress theme
Version: 1.0
Author: Ahmed Gamal
*/

:root {
    --brand-blue: #55adde;
    --dark: #0a3847;
    --light: #f5f7f9;
    --text: #1f2a32;
    --muted: #6b7c86;
    --hero-overlay: rgba(7, 26, 34, 0.55);
    --pill-bg: rgba(255, 255, 255, 0.18);
    --pill-border: rgba(255, 255, 255, 0.5);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Takeaway Sans Regular", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background-color: var(--light);
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    align-items: center;
    color: #ffffff;
}

.menubutton {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-wrapper ul {
    list-style: none;
    display: inline-flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0.4rem 0.6rem;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-wrapper a {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--pill-border);
    background-color: var(--pill-bg);
    color: #ffffff;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.nav-wrapper li.active a {
    background-color: #ffffff;
    color: var(--dark);
    border-color: #ffffff;
}

.templaterevamped-hero {
    background-image:
        linear-gradient(180deg, var(--hero-overlay), var(--hero-overlay)),
        url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    padding: 5rem 1.5rem 4rem;
    color: #ffffff;
    text-align: center;
}

.page-hero {
    padding-top: 7rem;
}

.templaterevamped-header {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

.restaurantlogo img {
    width: 180px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.templaterevamped-header h1 {
    margin: 0;
    letter-spacing: 1.5px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.menucard-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.menu-category-bar-container {
    position: sticky;
    top: 68px;
    background-color: var(--light);
    padding: 1rem 0;
    z-index: 15;
}

.menu-category-bar {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.menu-category-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--muted);
    overflow-x: auto;
    padding: 0.25rem 0;
}

.category-link {
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-link:hover {
    color: var(--brand-blue);
    border-color: rgba(85, 173, 222, 0.4);
}

.category-link.is-active {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

.menucat {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.menucat.is-hidden {
    display: none;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.category-description {
    color: var(--muted);
    margin-top: 0.35rem;
}

.product-container {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.meal-wrapper {
    border-bottom: 1px solid #edf0f3;
    padding-bottom: 1rem;
}

.meal-wrapper:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-name {
    font-weight: 700;
}

.product-description {
    color: var(--muted);
    margin: 0.25rem 0;
}

.product-price {
    font-weight: 700;
    color: var(--brand-blue);
}

.meal-description-attribute-descriptions {
    color: var(--muted);
    font-size: 0.85rem;
}

.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.page-section {
    background-color: #ffffff;
    padding: 3rem 1.5rem 4rem;
}

.page-title-block {
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
}

.page-title-block h2 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.1;
}

.page-title-block::after {
    content: "";
    display: block;
    width: 220px;
    height: 2px;
    background-color: #e6e6e6;
    margin: 1rem auto 0;
}

.reviews-section {
    text-align: center;
}

.reviews-summary {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    color: #333333;
}

.reviews-summary .stars {
    font-size: 1.6rem;
    letter-spacing: 3px;
}

.reviews-summary-title {
    margin: 0;
    font-weight: 600;
}

.reviews-summary-text {
    margin: 0.35rem 0;
    font-size: 0.95rem;
    color: #555555;
}

.reviews-summary-link {
    color: #0a5c8a;
    text-decoration: underline;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-items: center;
}

.reviews-cards {
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    text-align: center;
    max-width: 260px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border: 2px solid #111111;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 0.75rem;
    font-size: 1.4rem;
}

.review-meta {
    color: #666666;
    font-size: 0.85rem;
    margin: 0.35rem 0 0.75rem;
}

.review-message {
    border: 1px solid #111111;
    padding: 0.85rem;
    min-height: 88px;
    font-size: 0.95rem;
}

.contact-details-section {
    text-align: left;
}

.contact-columns {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.page-title-block--left {
    text-align: left;
}

.page-title-block--left::after {
    margin-left: 0;
}

.contact-address {
    font-size: 1rem;
    color: #444444;
    line-height: 1.6;
}

.delivery-times {
    display: grid;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #444444;
}

.delivery-times div {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.impressum-section {
    text-align: center;
}

.impressum-card {
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid #111111;
    padding: 1.5rem;
    line-height: 1.7;
    color: #444444;
}

.site-footer {
    background-color: var(--dark);
    color: #ffffff;
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer a:hover {
    color: var(--brand-blue);
}

@media (max-width: 768px) {
    .nav-wrapper ul {
        gap: 0.5rem;
    }

    .menu-category-bar-container {
        position: static;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-wrapper a {
        font-size: 0.7rem;
    }

    .delivery-times div {
        flex-direction: column;
        align-items: flex-start;
    }
}
