/* City Kitchen Bursa — Premium UI */
:root {
    --bg: #0f0d0b;
    --bg-elevated: #1a1612;
    --bg-card: #221e19;
    --bg-soft: #f7f3ec;
    --surface: #ffffff;
    --text: #1c1814;
    --text-on-dark: #f7f3ec;
    --muted: #7a7268;
    --gold: #c9a227;
    --gold-light: #e8c96a;
    --gold-dark: #9a7b1a;
    --copper: #b87333;
    --border: rgba(28, 24, 20, 0.1);
    --border-dark: rgba(247, 243, 236, 0.12);
    --shadow-sm: 0 2px 12px rgba(28, 24, 20, 0.06);
    --shadow-md: 0 12px 40px rgba(28, 24, 20, 0.12);
    --shadow-lg: 0 24px 64px rgba(28, 24, 20, 0.18);
    --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.35);
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --radius: 16px;
    --radius-lg: 24px;
    --header-h: 76px;
    --announce-h: 36px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* —— Announcement —— */
.announcement-bar {
    background: linear-gradient(90deg, var(--bg) 0%, #2a2218 50%, var(--bg) 100%);
    color: var(--text-on-dark);
    font-size: 0.8rem;
    height: var(--announce-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.announcement-inner strong { color: var(--gold-light); }
.announcement-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(247, 243, 236, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    z-index: 210;
}

.brand-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), var(--copper));
    box-shadow: var(--shadow-gold);
}

.brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--surface);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.brand-text small { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }

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

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover { background: rgba(28, 24, 20, 0.06); color: var(--gold-dark); }
.nav-cart { position: relative; }

.cart-badge {
    background: var(--gold);
    color: var(--bg);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 210;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— Toast —— */
.toast {
    position: fixed;
    top: calc(var(--announce-h) + var(--header-h) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    z-index: 300;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: #1b4332; color: #d8f3dc; }
.toast-error { background: #6b1d1d; color: #ffe5e5; }

/* —— Typography —— */
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
h1 em, h2 em {
    font-style: normal;
    color: var(--gold-light);
    font-weight: 800;
}

.section { padding: 5rem 0; }
.section-head { max-width: 560px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--bg);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.45);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(247, 243, 236, 0.4);
    color: var(--text-on-dark);
}

.page-home .hero .btn-ghost {
    border-color: rgba(247, 243, 236, 0.45);
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.08);
}
.page-home .hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--gold-light);
    color: #fff;
}
.page-hero-menu + .page-content .btn-ghost { border-color: var(--border); color: var(--text); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* —— Hero (Home) —— */
.hero {
    position: relative;
    min-height: calc(100vh - var(--announce-h) - var(--header-h));
    min-height: calc(100dvh - var(--announce-h) - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
    color: var(--text-on-dark);
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.35) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: float 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.25) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-content .lead {
    font-size: 1.15rem;
    color: rgba(247, 243, 236, 0.75);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.hero-stat span { font-size: 0.8rem; color: rgba(247, 243, 236, 0.55); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }

.hero-logo-frame {
    position: relative;
    width: min(320px, 80vw);
    aspect-ratio: 1;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(201, 162, 39, 0.4);
    box-shadow: 0 0 0 12px rgba(201, 162, 39, 0.1), var(--shadow-lg);
}

.hero-ring {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 162, 39, 0.35);
    animation: spin 40s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(34, 30, 25, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-md);
    animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card-2 { bottom: 15%; left: 0; animation-delay: -2s; }
.hero-float-card:first-of-type { top: 10%; right: -5%; }

.hero-float-icon { font-size: 1.5rem; }
.hero-float-card strong { display: block; font-size: 0.9rem; }
.hero-float-card small { color: rgba(247, 243, 236, 0.6); font-size: 0.75rem; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* —— Category showcase —— */
.categories-section { background: var(--bg-soft); }

.category-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.category-tile {
    position: relative;
    display: block;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-on-dark);
    overflow: hidden;
    min-height: 220px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
    border: 1px solid rgba(255,255,255,0.08);
}

.category-tile:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.category-tile-bg {
    position: absolute;
    inset: 0;
    opacity: 0.95;
    transition: transform 0.5s var(--ease);
}

.category-tile:hover .category-tile-bg { transform: scale(1.08); }

.theme-baklava .category-tile-bg { background: linear-gradient(145deg, #5c3d1e 0%, #9a7b1a 100%); }
.theme-borek .category-tile-bg { background: linear-gradient(145deg, #6b4a2a 0%, #c9a227 100%); }
.theme-manti .category-tile-bg { background: linear-gradient(145deg, #4a3528 0%, #8b6914 100%); }
.theme-kofte .category-tile-bg { background: linear-gradient(145deg, #3d2e24 0%, #7a5230 100%); }
.theme-yoresel .category-tile-bg { background: linear-gradient(145deg, #2d3d28 0%, #5a7048 100%); }
.theme-default .category-tile-bg { background: linear-gradient(145deg, #2a2218 0%, #4a4035 100%); }

.category-tile > *:not(.category-tile-bg) { position: relative; z-index: 1; }

.category-tile-icon {
    font-size: 2rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
}

.category-tile-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

.category-tile h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #fff;
}

.category-tile p {
    font-size: 0.88rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-tile-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* —— Steps —— */
.steps-section { background: var(--surface); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    display: block;
    margin-bottom: 0.75rem;
}

.step-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.95rem; }

/* —— CTA Banner —— */
.cta-banner {
    background: linear-gradient(135deg, var(--bg) 0%, #2a2218 100%);
    color: var(--text-on-dark);
    padding: 4rem 0;
    margin: 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.35rem;
}

.cta-banner p { color: rgba(247, 243, 236, 0.7); }

/* —— Features —— */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease);
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* —— Page hero (inner) —— */
.page-hero {
    background: linear-gradient(160deg, var(--bg) 0%, #2a2218 60%, #1a1612 100%);
    color: var(--text-on-dark);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-soft), transparent);
}

.page-hero-sm { padding: 3rem 0 2.5rem; }

.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(247, 243, 236, 0.7); margin-top: 0.5rem; max-width: 520px; }

.page-content { padding: 2.5rem 0 4rem; }
.page-content-narrow { max-width: 640px; }

/* —— Menu —— */
.menu-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.menu-filters, .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease);
}

.filter-chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-chip.active {
    background: var(--bg);
    color: var(--gold-light);
    border-color: var(--bg);
    box-shadow: var(--shadow-gold);
}

.menu-count { color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* —— Product cards —— */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #1a1612;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-img {
    transform: scale(1.06);
}

.product-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 13, 11, 0.55) 0%, transparent 50%);
    pointer-events: none;
}

.product-visual-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(0,0,0,0.25);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.product-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.35rem;
    margin: 0.35rem 0 0.5rem;
}

.product-desc {
    color: var(--muted);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.price-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; display: block; }
.price { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-dark); font-weight: 700; }

.add-to-cart-form { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg-soft);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text);
    transition: background 0.2s;
}

.qty-btn:hover { background: rgba(28,24,20,0.08); }

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn-add { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* —— Forms —— */
.form-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.form-card-flat { box-shadow: none; border: none; padding: 0; background: transparent; }

.form-group { margin-bottom: 1.15rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-soft);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
    background: var(--surface);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-footer { margin-top: 1.25rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
.form-footer a { color: var(--gold-dark); font-weight: 600; text-decoration: none; }
.form-footer a:hover { text-decoration: underline; }

/* —— Auth layout —— */
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--announce-h) - var(--header-h) - 120px);
    max-width: 1000px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
    gap: 2rem;
    align-items: stretch;
}

.auth-visual {
    background: linear-gradient(160deg, var(--bg), #2a2218);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--gold);
}

.auth-visual h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.auth-visual > p { color: rgba(247,243,236,0.7); margin-bottom: 1.5rem; }

.auth-perks { list-style: none; }
.auth-perks li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(247,243,236,0.85);
}

.auth-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-light);
    font-weight: 700;
}

.auth-form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.auth-form-wrap h1 { font-size: 2rem; margin-bottom: 1.5rem; }

.register-wrap { max-width: 720px; margin: 0 auto; }
.register-head { margin-bottom: 2rem; }
.register-head h1 { font-size: 2.25rem; }

/* —— Cart & tables —— */
.cart-panel, .panel-card, .table-wrap {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cart-panel { padding: 0; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th,
.data-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--bg-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
}

.data-table tbody tr:hover { background: rgba(201, 162, 39, 0.04); }
.data-table tbody tr:last-child td { border-bottom: none; }

.cart-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    flex-wrap: wrap;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}

.cart-total-box {
    margin-left: auto;
    text-align: right;
}

.cart-total-box span { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; }
.cart-total-box strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gold-dark);
}

.notice-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.notice-card span { font-size: 1.5rem; }
.notice-card strong { display: block; margin-bottom: 0.25rem; }
.notice-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.checkout-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin: 1.25rem 0;
    font-size: 1.1rem;
}

.checkout-summary strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-dark);
}

.alert {
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success { background: #d8f3dc; color: #1b4332; }
.alert-error { background: #ffe5e5; color: #6b1d1d; }

.empty-state-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.empty-state-card p { color: var(--muted); margin-bottom: 1.5rem; }

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--bg-soft);
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cce5ff; color: #004085; }
.status-completed { background: #d8f3dc; color: #1b4332; }
.status-cancelled { background: #ffe5e5; color: #6b1d1d; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.back-link:hover { text-decoration: underline; }

.btn-link {
    background: none;
    border: none;
    color: var(--gold-dark);
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    font-size: 0.9rem;
}

.btn-link.danger { color: #9b2226; }

.order-detail { padding: 2rem; }
.order-total { margin-top: 1rem; font-size: 1.15rem; }

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.cart-product-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.panel-card { padding: 2rem; margin-bottom: 1rem; }

/* —— Footer —— */
.site-footer {
    background: var(--bg);
    color: var(--text-on-dark);
    position: relative;
    margin-top: auto;
    padding: 0 0 2rem;
}

.footer-wave {
    height: 60px;
    background: var(--bg-soft);
    clip-path: ellipse(80% 100% at 50% 100%);
    margin-bottom: -1px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.footer-brand img { border-radius: 50%; border: 2px solid var(--gold); }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.footer-brand span { font-size: 0.8rem; opacity: 0.6; }

.footer-about { font-size: 0.9rem; opacity: 0.75; line-height: 1.7; max-width: 280px; }

.site-footer h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.9rem; opacity: 0.75; }
.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.footer-links a:hover { color: var(--gold-light); opacity: 1; }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-tagline { color: var(--gold); opacity: 0.8; }

.footer-credit {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-dark);
    opacity: 1;
}

.footer-credit a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-credit a:hover { color: #fff; }

/* —— Reveal animations —— */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }

/* —— Responsive —— */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content .lead { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { min-height: 300px; order: -1; }
    .hero-float-card-2 { left: 5%; }
    .steps-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-visual { padding: 2rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        z-index: 205;
    }

    .main-nav.is-open { transform: translateX(0); }

    .nav-link { padding: 0.85rem 1rem; border-radius: 12px; }

    .category-showcase { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cart-actions { flex-direction: column; align-items: stretch; }
    .cart-total-box { margin-left: 0; text-align: center; }
    .menu-toolbar { flex-direction: column; align-items: flex-start; }
}

/* Legacy btn aliases */
.btn-outline {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--surface); }

/* Fix: btn-primary used in admin-linked pages */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--bg);
    box-shadow: var(--shadow-gold);
}

.page-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-subtitle { color: var(--muted); margin-bottom: 1.5rem; }

.bursa-notice {
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
