:root {
    --terracotta: #a15643;
    --terracotta-dark: #7c3f31;
    --terracotta-deep: #3f1d16;
    --cream: #fff6d3;
    --cream-soft: #fff9e8;
    --ink: #3f1d16;
    --muted: #7a564c;
    --white: #ffffff;
    --shadow: 0 22px 50px rgba(63, 29, 22, 0.18);
    --radius: 28px;
    --header-h: 78px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}

body {
    margin: 0;
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream-soft);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 0.45em;
}

h1 {
    font-size: clamp(2.6rem, 7.2vw, 6.4rem);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h3 {
    font-size: 1.55rem;
}

p {
    margin: 0 0 1rem;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--terracotta);
    color: var(--cream);
    padding: 8px 12px;
    z-index: 100;
}

.skip-link:focus {
    top: 12px;
}

.arabic,
.arabic-line {
    font-family: "Amiri", serif;
}

.arabic {
    display: block;
    font-size: 0.42em;
    margin-top: 0.2em;
    color: var(--cream);
    opacity: 0.92;
}

.arabic-line {
    font-size: 1.35rem;
    color: var(--terracotta);
}

.eyebrow {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
}

.eyebrow--light {
    color: var(--cream);
}

.section {
    padding: 96px 0;
}

.section__head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--cream {
    background: var(--cream);
    color: var(--terracotta-dark);
}

.btn--solid {
    background: var(--terracotta);
    color: var(--cream);
    width: 100%;
}

.btn--outline {
    border-color: rgba(255, 246, 211, 0.55);
    color: var(--cream);
    background: transparent;
}

.btn--nav {
    background: var(--cream);
    color: var(--terracotta-dark);
    min-height: 42px;
    padding: 0 16px;
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--terracotta);
    display: grid;
    place-items: center;
    z-index: 80;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.is-done {
    opacity: 0;
    visibility: hidden;
}

.preloader__inner {
    position: relative;
    width: 140px;
}

.preloader__logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    animation: pulseLogo 1.8s ease-in-out infinite;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: var(--header-h);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.header.is-scrolled {
    background: rgba(63, 29, 22, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(63, 29, 22, 0.2);
}

.header.is-hidden {
    transform: translateY(-100%);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 246, 211, 0.25);
}

.logo strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    line-height: 1;
}

.logo small {
    font-family: "Amiri", serif;
    font-size: 0.85rem;
    opacity: 0.85;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--cream);
    font-size: 0.95rem;
}

.nav a:not(.btn):hover {
    color: var(--cream);
    opacity: 0.75;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 246, 211, 0.28);
    border-radius: 50%;
    background: rgba(63, 29, 22, 0.28);
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--cream);
    transition: 0.3s var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    color: var(--cream);
    text-align: center;
    overflow-x: hidden;
}

.hero__media,
.hero__overlay,
.hero__glow {
    position: absolute;
    inset: 0;
}

.hero__media {
    overflow: hidden;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    animation: kenburns 18s ease-in-out alternate infinite;
}

.hero__overlay {
    background:
        linear-gradient(180deg, rgba(63, 29, 22, 0.35) 0%, rgba(63, 29, 22, 0.55) 40%, rgba(63, 29, 22, 0.78) 100%),
        linear-gradient(90deg, rgba(161, 86, 67, 0.35), rgba(63, 29, 22, 0.2));
}

.hero__glow {
    background: radial-gradient(circle at 50% 30%, rgba(255, 246, 211, 0.18), transparent 42%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero__badge {
    display: inline-block;
    border: 1px solid rgba(255, 246, 211, 0.35);
    border-radius: 999px;
    padding: 8px 16px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 22px;
}

.hero__logo-wrap {
    position: relative;
    width: 132px;
    margin: 0 auto 18px;
}

.hero__logo-wrap img {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    animation: floatY 5s ease-in-out infinite;
}

.hero h1,
.hero__lead {
    text-shadow: 0 10px 28px rgba(63, 29, 22, 0.45);
}

.hero__lead {
    max-width: 540px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
    color: rgba(255, 246, 211, 0.9);
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.steam {
    position: absolute;
    left: 50%;
    bottom: 78%;
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(255, 246, 211, 0.7));
    filter: blur(1px);
    animation: steam 3.2s ease-in-out infinite;
}

.steam--1 { margin-left: -18px; animation-delay: 0s; }
.steam--2 { margin-left: -4px; height: 34px; animation-delay: 0.6s; }
.steam--3 { margin-left: 10px; animation-delay: 1.1s; }

.preloader__steam {
    position: absolute;
    left: 50%;
    top: -8px;
    width: 7px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 246, 211, 0.65);
    animation: steam 2.4s ease-in-out infinite;
}

.preloader__steam:nth-child(2) { margin-left: -16px; }
.preloader__steam:nth-child(3) { margin-left: 8px; animation-delay: 0.5s; }
.preloader__steam:nth-child(4) { margin-left: -4px; animation-delay: 1s; }

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 1px solid rgba(255, 246, 211, 0.5);
    border-radius: 999px;
}

.scroll-hint span {
    display: block;
    width: 4px;
    height: 8px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: var(--cream);
    animation: scrollDot 1.6s ease-in-out infinite;
}

.about {
    background:
        radial-gradient(circle at top left, rgba(161, 86, 67, 0.08), transparent 40%),
        var(--cream-soft);
}

.about__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0;
    margin: 28px 0 0;
}

.facts li {
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.facts strong {
    display: block;
    color: var(--terracotta);
    font-size: 1.05rem;
}

.facts span {
    color: var(--muted);
    font-size: 0.9rem;
}

.about__photo {
    margin: 0;
    position: relative;
}

.about__photo > img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about__photo figcaption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(63, 29, 22, 0.82);
    color: var(--cream);
    padding: 10px 14px;
    border-radius: 999px;
}

.about__photo figcaption img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.menu {
    background: var(--terracotta);
    color: var(--cream);
}

.menu .eyebrow,
.menu h2,
.menu .section__head p {
    color: var(--cream);
}

.menu .section__head p {
    opacity: 0.88;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.menu-card {
    background: rgba(255, 246, 211, 0.08);
    border: 1px solid rgba(255, 246, 211, 0.16);
    border-radius: 24px;
    padding: 28px 24px;
    backdrop-filter: blur(8px);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.menu-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 246, 211, 0.14);
}

.menu-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    color: var(--cream);
}

.menu-card p {
    color: rgba(255, 246, 211, 0.86);
}

.menu-card--cta {
    background: var(--cream);
    color: var(--ink);
}

.menu-card--cta p {
    color: var(--muted);
}

.visit {
    position: relative;
    min-height: 78vh;
    display: grid;
    place-items: center;
    color: var(--cream);
    text-align: center;
    overflow: hidden;
}

.visit__photo,
.visit__overlay {
    position: absolute;
    inset: 0;
}

.visit__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92);
}

.visit__overlay {
    background: linear-gradient(180deg, rgba(63, 29, 22, 0.45), rgba(63, 29, 22, 0.78));
}

.visit__content {
    position: relative;
    z-index: 1;
    padding: 96px 0;
    max-width: 760px;
}

.visit__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.visit__meta div {
    background: rgba(255, 246, 211, 0.1);
    border: 1px solid rgba(255, 246, 211, 0.18);
    border-radius: 20px;
    padding: 18px 12px;
}

.visit__meta span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 6px;
}

.contact {
    background: var(--cream-soft);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 16px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease);
}

.contact-card:hover {
    transform: translateX(6px);
}

.contact-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--cream);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.form {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form label {
    display: block;
    margin-bottom: 14px;
}

.form label span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--muted);
}

.form input,
.form textarea {
    width: 100%;
    border: 1px solid rgba(161, 86, 67, 0.22);
    background: var(--cream-soft);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(161, 86, 67, 0.12);
}

.form__status {
    min-height: 1.4em;
    margin: 12px 0 0;
    color: var(--terracotta-dark);
    font-size: 0.92rem;
}

.form__status.is-error {
    color: #9b2c2c;
}

.footer {
    background: var(--terracotta-deep);
    color: var(--cream);
    padding: 32px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.92rem;
}

.footer__links {
    display: flex;
    gap: 16px;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--cream);
    display: grid;
    place-items: center;
    z-index: 30;
    box-shadow: 0 12px 30px rgba(161, 86, 67, 0.45);
    animation: pulseRing 2.4s ease-out infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.hero .reveal {
    animation: rise 0.9s var(--ease) both;
    opacity: 1;
    transform: none;
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

.hero .reveal:nth-child(2) { animation-delay: 0.08s; }
.hero .reveal:nth-child(3) { animation-delay: 0.16s; }
.hero .reveal:nth-child(4) { animation-delay: 0.24s; }
.hero .reveal:nth-child(5) { animation-delay: 0.32s; }

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes kenburns {
    to { transform: scale(1.16); }
}

@keyframes floatY {
    50% { transform: translateY(-8px); }
}

@keyframes steam {
    0% { opacity: 0; transform: translateY(8px) scaleX(1); }
    30% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-28px) scaleX(1.4); }
}

@keyframes pulseLogo {
    50% { transform: scale(1.04); }
}

@keyframes scrollDot {
    50% { transform: translateY(12px); opacity: 0.2; }
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(161, 86, 67, 0.45); }
    70% { box-shadow: 0 0 0 16px rgba(161, 86, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(161, 86, 67, 0); }
}

@media (max-width: 980px) {
    .about__grid,
    .contact__grid,
    .menu-grid,
    .visit__meta {
        grid-template-columns: 1fr 1fr;
    }

    .menu-card--cta {
        grid-column: span 2;
    }

    .about__photo > img {
        height: 420px;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: block;
        z-index: 60;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: rgba(63, 29, 22, 0.96);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        font-size: 1.4rem;
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
    }

    body.nav-open .nav {
        transform: none;
    }

    .about__grid,
    .contact__grid,
    .menu-grid,
    .facts,
    .visit__meta {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .about__copy,
    .section__head,
    .visit__content,
    .form {
        text-align: left;
    }

    .menu-card--cta {
        grid-column: auto;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 360px);
        margin: 0 auto;
    }

    .hero__actions .btn {
        width: 100%;
    }

    h1 {
        font-size: 2.35rem;
        max-width: 8.6ch;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__lead {
        font-size: 1rem;
        padding: 0 8px;
    }

    .hero__content {
        padding: 96px 0 64px;
    }

    .steam {
        display: none;
    }

    .logo span {
        display: none;
    }

    .hero__logo-wrap,
    .hero__logo-wrap img {
        width: 108px;
        height: 108px;
    }

    .about__photo > img {
        height: 320px;
    }

    .facts li,
    .contact-card {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(1120px, calc(100% - 24px));
    }

    .section,
    .visit__content {
        padding: 72px 0;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
