/* Restaurant Web Sitesi — standalone marketing page */

:root {
    --brand: #892a21;
    --brand-light: #c45c52;
    --brand-dark: #5c1a14;
    --wa: #25d366;
    --wa-dark: #1da851;
    --bg: #faf8f6;
    --bg-dark: #1a1412;
    --surface: #ffffff;
    --text: #1c1917;
    --text-muted: #57534e;
    --border: #e7e5e4;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 20px 60px rgba(28, 25, 23, 0.12);
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: min(1140px, calc(100% - 2rem));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 246, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: visible;
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 68px;
    overflow: visible;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 68px;
    padding-left: calc(124px + 0.65rem);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    overflow: visible;
}

.site-header .logo-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 124px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    pointer-events: none;
}

.logo-img {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-img--footer {
    width: 52px;
    height: 52px;
}

.logo-text {
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .logo {
        padding-left: calc(72px + 0.5rem);
    }

    .logo-text {
        font-size: 0.82rem;
        white-space: normal;
        max-width: 9.5rem;
    }

    .site-header .logo-img {
        width: 72px;
        height: 72px;
    }
}

.nav-desktop {
    display: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-desktop a {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s;
}

.nav-desktop a:hover { color: var(--brand); }

.header-cta { margin-left: auto; }

.header-cta-short { display: none; }

@media (max-width: 767px) {
    .header-inner {
        gap: 0.5rem;
    }

    .header-cta {
        display: inline-flex;
        margin-left: auto;
        margin-right: 0.15rem;
        padding: 0.38rem 0.7rem;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border-radius: 8px;
        white-space: nowrap;
        flex-shrink: 0;
        background: rgba(137, 42, 33, 0.06);
        color: var(--brand);
        border: 1px solid rgba(137, 42, 33, 0.22);
        box-shadow: none;
    }

    .header-cta:hover,
    .header-cta:active {
        background: rgba(137, 42, 33, 0.1);
        box-shadow: none;
    }

    .header-cta-full { display: none; }
    .header-cta-short { display: inline; }

    .nav-toggle {
        margin-left: 0;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: 1px solid var(--border);
        background: var(--surface);
    }

    .nav-toggle span {
        width: 16px;
        margin-inline: auto;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.nav-mobile[hidden] { display: none; }

.nav-mobile a:not(.btn) {
    padding: 0.65rem 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.nav-mobile-cta {
    align-self: center;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    box-shadow: 0 2px 10px rgba(137, 42, 33, 0.18);
}

.btn-compact {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .nav-toggle { display: none; }
    .header-cta { margin-left: 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.925rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(137, 42, 33, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(137, 42, 33, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

.btn-wa {
    background: linear-gradient(135deg, var(--wa), var(--wa-dark));
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-wa:hover { box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); }

/* Hero */
.hero {
    position: relative;
    padding: 7.5rem 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(137, 42, 33, 0.12), transparent),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 92, 82, 0.08), transparent),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.lang-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.lang-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(137, 42, 33, 0.08);
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero-lead {
    margin: 0 0 2rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 32rem;
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-stats li {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-stats strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 700;
}

/* Hero visual mockups */
.hero-visual { position: relative; min-height: 380px; }

.device-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
}

.device {
    border-radius: var(--radius);
    background: #111;
    box-shadow: var(--shadow-lg);
}

.device-phone {
    position: relative;
    z-index: 2;
    width: 220px;
    padding: 8px;
    border-radius: 28px;
    margin-inline: auto;
}

.device-bar {
    width: 60px;
    height: 4px;
    margin: 4px auto 8px;
    background: #333;
    border-radius: 4px;
}

.device-screen {
    border-radius: 20px;
    overflow: hidden;
}

.phone-screen {
    background: #1c1917;
    color: #fafaf9;
    padding: 1rem;
    min-height: 280px;
}

.mock-header {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.mock-search {
    height: 32px;
    background: #292524;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.mock-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.75rem;
    background: #292524;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.mock-card.discount { border-left: 3px solid var(--brand-light); }

.mock-card .price { color: var(--brand-light); font-weight: 600; }
.mock-card.discount s { color: #78716c; margin-right: 0.25rem; }

.mock-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mock-actions .pill {
    flex: 1;
    text-align: center;
    padding: 0.4rem;
    border-radius: 8px;
    background: #292524;
    font-size: 0.7rem;
}

.mock-actions .pill.active {
    background: var(--brand);
}

.device-tv {
    position: absolute;
    top: 20px;
    right: -10px;
    width: 200px;
    padding: 6px;
    z-index: 1;
    transform: rotate(3deg);
}

.tv-screen {
    background: #0f1410;
    color: #e7e5e4;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    min-height: 140px;
    border: 2px solid #2d4a2d;
}

.tv-title {
    color: #a8d5a2;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tv-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    padding: 0.25rem 0;
    border-bottom: 1px dashed rgba(168, 213, 162, 0.2);
}

.qr-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--surface);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand);
    z-index: 3;
}

.qr-badge svg { width: 22px; height: 22px; }

/* Sections */
.section { padding: 5rem 0; }

.section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3rem;
}

.section-head h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-head p { margin: 0; color: var(--text-muted); }

.section-head--light h2,
.section-head--light p { color: #fafaf9; }
.section-head--light .eyebrow { background: rgba(255,255,255,0.12); color: #fbbf24; }

/* Featured grid */
.featured { background: var(--surface); }

.featured-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .featured-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-card--hero { grid-column: span 2; }
}

.feature-card {
    padding: 1.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-card--hero {
    background: linear-gradient(135deg, rgba(137, 42, 33, 0.06), rgba(196, 92, 82, 0.04));
    border-color: rgba(137, 42, 33, 0.15);
}

.feature-card--whatsapp {
    border-color: rgba(37, 211, 102, 0.25);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.04), transparent);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(137, 42, 33, 0.1);
    color: var(--brand);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-icon--wa {
    background: rgba(37, 211, 102, 0.12);
    color: var(--wa-dark);
}

.feature-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-tags li {
    padding: 0.25rem 0.6rem;
    background: var(--surface);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--brand);
    border: 1px solid rgba(137, 42, 33, 0.15);
}

/* Steps */
.steps {
    background: var(--bg-dark);
    color: #fafaf9;
}

.steps-list {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

@media (min-width: 768px) {
    .steps-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.steps-list li {
    position: relative;
    padding-top: 0.5rem;
}

.step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(196, 92, 82, 0.5);
    line-height: 1;
    margin-bottom: 1rem;
}

.steps-list h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.steps-list p {
    margin: 0;
    font-size: 0.925rem;
    color: #a8a29e;
    line-height: 1.65;
}

/* Admin preview */
.admin-preview { background: var(--bg); }

.admin-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 960px) {
    .admin-grid { grid-template-columns: 1fr 1.1fr; }
}

.admin-copy h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.admin-copy > p {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.75rem;
    font-size: 0.925rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.admin-window {
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    min-height: 320px;
}

.admin-sidebar {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    width: 160px;
    padding: 1rem 0.75rem;
    background: #1c1917;
    color: #a8a29e;
    font-size: 0.8rem;
}

.admin-sidebar span {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.admin-sidebar .active {
    background: rgba(137, 42, 33, 0.3);
    color: #fff;
}

@media (min-width: 640px) {
    .admin-sidebar { display: flex; }
}

.admin-main {
    flex: 1;
    padding: 1.25rem;
    background: #fafaf9;
}

.admin-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-stat {
    padding: 0.75rem;
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.admin-stat small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.admin-stat strong {
    font-size: 1.25rem;
    color: var(--brand);
}

.admin-chart {
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(137, 42, 33, 0.08) 0%, transparent 100%);
    border: 1px solid var(--border);
}

.admin-table .row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    border: 1px solid var(--border);
}

.badge {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(137, 42, 33, 0.1);
    color: var(--brand);
}

.badge.green {
    background: rgba(37, 211, 102, 0.12);
    color: var(--wa-dark);
}

/* Extras */
.extras-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .extras-grid { grid-template-columns: repeat(3, 1fr); }
}

.extra-item {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.extra-item h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.extra-item p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA */
.cta { padding-bottom: 6rem; }

.cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding: 3.5rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    box-shadow: 0 24px 60px rgba(137, 42, 33, 0.35);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.cta-content h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    text-align: center;
}

.cta-content p {
    margin: 0 auto;
    opacity: 0.9;
    max-width: 480px;
    text-align: center;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    background: #111;
    color: #a8a29e;
    font-size: 0.875rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand strong { color: #fff; display: block; }
.footer-brand p { margin: 0.15rem 0 0; font-size: 0.8rem; }

.footer-copy { margin: 0; }

.footer-wa {
    color: var(--wa);
    font-weight: 600;
}

.footer-wa:hover { text-decoration: underline; }

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.float-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

@media (max-width: 767px) {
    .float-wa {
        width: 50px;
        height: 50px;
        bottom: 1.15rem;
        right: 1.15rem;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    }

    .float-wa svg {
        width: 24px;
        height: 24px;
    }
}
