:root {
    --navy: #0b1b38;
    --navy-soft: #182944;
    --gold: #c69a55;
    --gold-light: #d8b46a;
    --cream: #f8ece0;
    --sand: #f4e3d3;
    --ink: #27364b;
    --muted: #6e665f;
    --line: rgba(198, 154, 85, 0.3);
    --white: #fffdf9;
    --display: 'Playfair Display', Georgia, serif;
    --body: 'Outfit', Arial, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.shell {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 27, 56, 0.97);
    color: #fff;
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand small,
.brand strong {
    font-weight: 400;
    letter-spacing: 2px;
}

.brand small {
    color: var(--gold-light);
    font-size: 0.65rem;
}

.brand strong {
    color: #fff;
    font-family: var(--display);
    font-size: 1.3rem;
    letter-spacing: 0;
}

.back-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    transition: color 180ms var(--ease);
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--gold-light);
}

.order-hero {
    background: var(--navy);
    color: #fff;
    padding: 112px 0 120px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: 80px;
}

.eyebrow {
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin: 0 0 16px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin-bottom: 28px;
    max-width: 800px;
}

h1 em {
    color: var(--gold-light);
    font-style: normal;
}

.hero-copy {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 540px;
}

.hero-signature {
    align-self: center;
    border-left: 1px solid rgba(216, 180, 106, 0.45);
    padding: 26px 0 26px 28px;
}

.hero-signature span {
    display: block;
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 5rem;
    line-height: 0.7;
}

.hero-signature p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 2px;
    line-height: 1.7;
    margin: 24px 0 0;
    text-transform: uppercase;
}

.order-section {
    padding: 104px 0 120px;
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 46px;
}

.section-intro h2 {
    color: var(--navy);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
}

.section-intro > p {
    color: var(--muted);
    max-width: 320px;
    margin: 0 0 4px;
}

.category-strip {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.category-strip button {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.78rem;
    padding: 10px 14px;
    transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.category-strip button:hover,
.category-strip button:focus-visible,
.category-strip button[aria-pressed="true"] {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.category-strip button:active,
.add-button:active,
.quantity-control button:active,
.send-button:active {
    transform: translateY(1px);
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(310px, 0.72fr);
    align-items: start;
    gap: 34px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    background: var(--white);
    border: 1px solid transparent;
    padding: 24px;
    transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.menu-card:hover,
.menu-card.is-selected {
    border-color: var(--gold);
    box-shadow: 0 18px 35px rgba(11, 27, 56, 0.08);
    transform: translateY(-3px);
}

.menu-card-meta {
    align-items: center;
    display: flex;
    gap: 8px;
    min-height: 20px;
}

.menu-card-meta::before {
    background: var(--gold);
    border-radius: 50%;
    content: '';
    height: 8px;
    width: 8px;
}

.menu-card-tag {
    color: var(--gold);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.menu-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1.25;
    margin: 20px 0 26px;
    overflow-wrap: anywhere;
}

.menu-card-footer {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.menu-card-price {
    color: var(--navy);
    font-family: var(--display);
    font-size: 1.2rem;
    white-space: nowrap;
}

.add-button {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 9px 12px;
    transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.add-button:hover,
.add-button:focus-visible {
    background: var(--gold);
    color: var(--navy);
}

.cart-panel {
    position: sticky;
    top: 112px;
    background: var(--navy);
    color: #fff;
    padding: 30px;
    box-shadow: 0 24px 56px rgba(11, 27, 56, 0.17);
}

.cart-topline {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    padding-bottom: 22px;
}

.cart-topline .eyebrow {
    margin: 0;
}

.spark {
    color: var(--gold-light);
    font-size: 1.7rem;
}

.cart-panel h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2.2rem;
    line-height: 1;
    margin: 0;
    padding: 24px 0;
}

.cart-panel h2 small {
    color: var(--gold-light);
    font-family: var(--body);
    font-size: 0.85rem;
}

.cart-lines {
    max-height: 340px;
    overflow-y: auto;
    padding: 6px 0;
}

.empty-cart,
.cart-note {
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.87rem;
    line-height: 1.6;
}

.empty-cart {
    margin: 0;
    padding: 18px 0;
}

.cart-line {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 0;
}

.cart-line-copy {
    min-width: 0;
}

.cart-line-copy strong,
.cart-line-copy span {
    display: block;
}

.cart-line-copy strong {
    color: #fff;
    font-size: 0.87rem;
    line-height: 1.35;
}

.cart-line-copy span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    margin-top: 4px;
}

.quantity-control {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.quantity-control button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    height: 28px;
    line-height: 1;
    transition: border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
    width: 28px;
}

.quantity-control button:hover,
.quantity-control button:focus-visible {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.quantity-control span {
    min-width: 14px;
    text-align: center;
}

.cart-total {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0 18px;
}

.cart-total strong {
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 400;
}

.order-form label {
    color: #fff;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.order-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    min-height: 104px;
    padding: 13px;
    resize: vertical;
    width: 100%;
}

.order-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.order-form textarea:focus {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--gold-light);
    outline: none;
}

.send-button {
    background: var(--gold-light);
    border: 1px solid var(--gold-light);
    color: var(--navy);
    font-weight: 600;
    margin-top: 10px;
    padding: 14px 16px;
    transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
    width: 100%;
}

.send-button:hover,
.send-button:focus-visible {
    background: #fff;
    border-color: #fff;
}

.form-error {
    color: #ffd1bd;
    font-size: 0.78rem;
    line-height: 1.4;
    min-height: 22px;
    margin: 10px 0 0;
}

.cart-note {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    margin: 18px 0 0;
    padding-top: 16px;
}

:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}

.site-footer {
    background: var(--sand);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 1px;
    padding: 24px 0;
}

.footer-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner a {
    color: var(--navy);
}

@media (max-width: 980px) {
    .hero-inner,
    .order-layout {
        gap: 30px;
    }

    .order-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(285px, 0.7fr);
    }

    .cart-panel {
        padding: 24px;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 40px, 600px);
    }

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        height: 50px;
        width: 50px;
    }

    .brand strong {
        font-size: 1.1rem;
    }

    .order-hero {
        padding: 72px 0 76px;
    }

    .hero-inner,
    .section-intro,
    .order-layout {
        display: block;
    }

    h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hero-copy {
        font-size: 0.98rem;
    }

    .hero-signature {
        display: none;
    }

    .order-section {
        padding: 68px 0 76px;
    }

    .section-intro > p {
        margin-top: 18px;
    }

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

    .cart-panel {
        margin-top: 28px;
        position: static;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}

/* ===== Dil seçici (ana siteyle uyumlu) ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-switch button {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.65);
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button:hover {
    color: #fff;
}

.lang-switch button.active {
    background: #c9a84c;
    color: #0b1b38;
}

/* ===== RTL (Arapça) desteği ===== */
html[dir="rtl"] .header-inner,
html[dir="rtl"] .order-layout,
html[dir="rtl"] .menu-card-footer,
html[dir="rtl"] .cart-line,
html[dir="rtl"] .quantity-control,
html[dir="rtl"] .footer-inner {
    direction: rtl;
}

html[dir="rtl"] .category-strip {
    direction: rtl;
}

@media (max-width: 720px) {
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
    }
}
