/* ============================================================
   RESTAURANT TEMPLATE — THEME STYLES
   ============================================================ */

/* ---- NAVIGATION ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.35s ease;
}

.nav--scrolled {
    background: color-mix(in srgb, var(--brand-color) 97%, transparent);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav__brand-icon {
    font-size: 1.5rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav__links a:hover {
    color: #ffffff;
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav__cta.btn {
    padding: 10px 22px;
    font-size: 0.88rem;
    border-radius: 8px;
}

.nav__cta:hover {
    color: #fff;
}

.nav__cta-icon {
    font-size: 1.1rem;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background:
        linear-gradient(160deg,
            var(--brand-color) 0%,
            color-mix(in srgb, var(--brand-color) 60%, black) 50%,
            color-mix(in srgb, var(--brand-color) 40%, black) 100%);
}

.hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 70%, color-mix(in srgb, var(--accent-color) 8%, transparent) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, color-mix(in srgb, var(--accent-color) 5%, transparent) 0%, transparent 50%);
    pointer-events: none;
}

.hero[style*="background-image"] .hero__overlay {
    background: rgba(0, 0, 0, 0.55);
}

/** Decorative elements **/
.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 500px;
    height: 500px;
    border: 1px solid color-mix(in srgb, var(--accent-color) 6%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.8s forwards;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s 1s forwards;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero__badge-icon {
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---- MENU ---- */
.menu__header {
    text-align: center;
    margin-bottom: 56px;
}

.menu__header .section-subtitle {
    margin: 0 auto;
}

.menu__category {
    margin-bottom: 56px;
}

.menu__category:last-child {
    margin-bottom: 0;
}

.menu__category-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu__category-icon {
    font-size: 1.4rem;
}

.menu__category-desc {
    font-size: 0.92rem;
    color: #6a6a8a;
    line-height: 1.6;
    margin-top: -16px;
    margin-bottom: 24px;
    max-width: 640px;
}

.menu__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu__item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.menu__item-info {
    flex: 1;
}

.menu__item-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.menu__item-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-color);
}

/* Dotted leader line */
.menu__item-header::after {
    content: '';
    flex: 1;
    border-bottom: 2px dotted rgba(0, 0, 0, 0.12);
    margin-bottom: 4px;
    min-width: 24px;
}

.menu__item-price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
    order: 1;
}

.menu__item-desc {
    font-size: 0.88rem;
    color: #6a6a8a;
    line-height: 1.6;
    max-width: 520px;
}

.menu__item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.menu__item-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6a6a8a;
}

.menu__item-image {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.menu__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu__cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #eaeaf0;
}


/* ---- ABOUT ---- */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}

.about__text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__highlights {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about__highlight {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about__highlight-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
}

.about__highlight-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
}

.about__visual {
    display: flex;
    justify-content: center;
}

.about__visual-card {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--accent-color) 12%, transparent) 0%, color-mix(in srgb, var(--accent-color) 2%, transparent) 100%);
    border: 1px solid color-mix(in srgb, var(--accent-color) 15%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__visual-placeholder {
    text-align: center;
    padding: 40px;
}

.about__visual-placeholder-icon {
    display: block;
    font-size: 5rem;
    opacity: 0.2;
    margin-bottom: 16px;
}

.about__visual-placeholder-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 3px;
}


/* ---- REVIEWS ---- */
.reviews__header {
    text-align: center;
    margin-bottom: 56px;
}

.reviews__header .section-subtitle {
    margin: 0 auto;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.reviews__card {
    background: var(--background-color);
    border: 1px solid #eaeaf0;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.35s ease;
}

.reviews__card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.reviews__card-stars {
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.reviews__card-quote {
    font-size: 0.95rem;
    color: #3a3a5a;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.reviews__card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews__card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.reviews__card-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-color);
}

.reviews__card-source {
    font-size: 0.82rem;
    color: #8a8aa0;
}


/* ---- CONTACT ---- */
.contact {
    background: var(--background-color);
    color: var(--brand-color);
}

.contact .section-title {
    color: var(--brand-color);
}

.contact__actions-card {
    background: #ffffff;
    border: 1px solid #eaeaf0;
    box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
}

.contact__actions-title {
    color: var(--brand-color);
}

.contact__actions-text {
    color: #5a5a7a;
}

/* Make outline buttons readable on light background */
.contact .btn-outline {
    color: var(--brand-color);
    border-color: color-mix(in srgb, var(--brand-color) 30%, transparent);
}

.contact .btn-outline:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: color-mix(in srgb, var(--brand-color) 55%, transparent);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__detail-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__detail a {
    color: var(--accent-color);
    transition: opacity 0.2s ease;
}

.contact__detail a:hover {
    opacity: 0.8;
}

.contact__actions-panel {
    display: flex;
    justify-content: center;
}

.contact__actions-card {
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    width: 100%;
}

.contact__actions-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact__actions-text {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.contact__action-btn {
    width: 100%;
    justify-content: center;
}

.contact__delivery-link {
    display: block;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: opacity 0.2s ease;
}

.contact__delivery-link:hover {
    opacity: 0.8;
}


/* ---- FOOTER ---- */
.footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__brand-icon {
    font-size: 1.8rem;
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.footer__brand-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer__links a,
.footer__contact a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--accent-color);
}

.footer__contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer__social-links {
    display: flex;
    gap: 10px;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--accent-color);
    color: var(--brand-color);
    border-color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__disclaimer {
    line-height: 1.6;
    max-width: 800px;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__visual {
        display: none;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {

    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__links--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: color-mix(in srgb, var(--brand-color) 98%, transparent);
        backdrop-filter: blur(12px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero__content {
        padding-top: 120px;
    }

    .hero__badges {
        flex-direction: column;
        gap: 12px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
    }

    .menu__item-header::after {
        display: none;
    }

    .menu__item-header {
        flex-direction: column;
        gap: 2px;
    }

    .menu__item-price {
        order: 0;
    }

    .menu__item-image {
        display: none;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .about__highlights {
        flex-direction: column;
        gap: 16px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}