/* Cristina's Greek Souvlaki — Custom Styles */

/* ── Design tokens ──────────────────────────────────────────────────── */
:root {
    --olive-deep:      #2F3E2F;
    --olive-mid:       #3E5A3C;
    --olive-light:     #6B8F5C;
    --olive-highlight: #8FAE7A;
    --accent:          #C6A75E;
    --accent-dark:     #A07D28;
    --warm-beige:      #EFE8D8;
    --cream:           #F7F5EF;
    --sage-light:      #EBF0E9;
    --charcoal:        #1A1A1A;

    --glow-olive:  0 0 18px rgba(62, 90, 60, 0.30);
    --glow-accent: 0 0 18px rgba(198, 167, 94, 0.35);
    --lift-shadow: 0 18px 52px rgba(47, 62, 47, 0.14), 0 4px 14px rgba(47, 62, 47, 0.08);
}

/* ── Base ───────────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
    body { padding-bottom: 72px; }
}

/* ── Typography — tighter heading tracking for premium feel ─────────── */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

.hero-h1 {
    letter-spacing: -0.03em;
    line-height: 1.06;
}

/* ── Image handling ─────────────────────────────────────────────────── */
img {
    transition: opacity 0.3s ease;
}
img[src=""], img:not([src]) {
    opacity: 0;
}

/* ── Aspect ratio fallback ──────────────────────────────────────────── */
.img-wrap {
    background-color: #DFE8DB;
    position: relative;
    overflow: hidden;
}

/* ── Nav ────────────────────────────────────────────────────────────── */
#navbar {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 2px 28px rgba(47, 62, 47, 0.10);
    background-color: rgba(255,255,255,0.98) !important;
}

/* Desktop nav link hover */
nav a:not([class*="rounded-full"]):not([class*="bg-"]) {
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

nav a:not([class*="rounded-full"]):not([class*="bg-"]):hover {
    color: var(--olive-mid) !important;
}

/* Animated underline */
nav a:not([class*="rounded-full"]):not([class*="bg-"])::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.22s ease;
}
nav a:not([class*="rounded-full"]):not([class*="bg-"]):hover::after {
    width: 100%;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
a[href]:is([class*="bg-primary"]),
button[class*="bg-primary"] {
    box-shadow: 0 2px 10px rgba(62, 90, 60, 0.18);
    transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
a[href]:is([class*="bg-primary"]):hover,
button[class*="bg-primary"]:hover {
    box-shadow: var(--glow-olive), 0 8px 24px rgba(62, 90, 60, 0.20);
    transform: translateY(-2px);
}

a[href]:is([class*="bg-accent"]),
button[class*="bg-accent"] {
    box-shadow: 0 4px 16px rgba(198, 167, 94, 0.28);
    transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
a[href]:is([class*="bg-accent"]):hover,
button[class*="bg-accent"]:hover {
    box-shadow: var(--glow-accent), 0 10px 28px rgba(198, 167, 94, 0.30);
    transform: translateY(-2px);
}

a[href]:is([class*="border-white"]),
a[href]:is([class*="border-2"]) {
    transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
a[href]:is([class*="border-white"]):hover,
a[href]:is([class*="border-2"]):hover {
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero-text {
    text-shadow: 0 2px 36px rgba(0,0,0,0.55);
}

/* Eyebrow with side lines */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: 0.65;
    flex-shrink: 0;
}

/* ── Ken Burns ──────────────────────────────────────────────────────── */
@keyframes kenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -0.5%); }
}
.ken-burns {
    animation: kenBurns 22s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: center center;
}

/* ── WhatsApp pulse ─────────────────────────────────────────────────── */
.whatsapp-btn {
    animation: waPulse 2.8s infinite;
    transition: transform 0.2s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35); }
    50%       { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.60); }
}

/* ── Stars ──────────────────────────────────────────────────────────── */
.stars { color: #F59E0B; }

/* ── Section divider ────────────────────────────────────────────────── */
.divider {
    width: 44px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

/* ── Trust bar separators ───────────────────────────────────────────── */
.trust-item {
    position: relative;
}
@media (min-width: 1024px) {
    .trust-item + .trust-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 36px;
        width: 1px;
        background: rgba(255,255,255,0.15);
    }
}

/* ── Category badge ─────────────────────────────────────────────────── */
.category-badge {
    display: inline-block;
    background: var(--olive-deep);
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(47, 62, 47, 0.20);
}

/* ── Allergy notice ─────────────────────────────────────────────────── */
.allergy-notice {
    border-left: 4px solid var(--accent);
}

/* ── Testimonial ────────────────────────────────────────────────────── */
.testimonial-quote::before {
    content: '\201C';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    color: rgba(198, 167, 94, 0.28);
    line-height: 0.6;
    display: block;
    margin-bottom: 0.9rem;
}

/* ── Feature icons (Why Choose Us) ─────────────────────────────────── */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(111, 143, 92, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 2px 12px rgba(47, 62, 47, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-icon svg {
    color: var(--olive-mid);
}

/* ── Contact / info cards ───────────────────────────────────────────── */
.bg-white.rounded-2xl,
.bg-white.rounded-xl {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* ── Section backgrounds ────────────────────────────────────────────── */
.bg-warm-beige { background-color: var(--warm-beige); }
.bg-olive-deep { background-color: var(--olive-deep); }

/* ── Smooth mobile menu ─────────────────────────────────────────────── */
#mobile-menu {
    transition: all 0.2s ease;
}

/* ── Cookie banner ──────────────────────────────────────────────────── */
#cookie-banner {
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

/* ── Uniform menu card images ───────────────────────────────────────── */
.menu-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

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

.menu-card > div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-card img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.menu-card:hover img {
    transform: scale(1.04);
}

/* img-wrap variants (menu.html cards) */
.menu-card:hover .img-wrap img,
.portion-card:hover .img-wrap img {
    transform: scale(1.06);
}
.menu-card .img-wrap img,
.portion-card .img-wrap img {
    transition: transform 0.4s ease;
}

/* Placeholder items */
.img-placeholder {
    background: linear-gradient(135deg, var(--sage-light) 0%, #dce6d8 100%);
}

/* ── Card price display ─────────────────────────────────────────────── */
.card-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--olive-mid);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

/* ── Lightbox ───────────────────────────────────────────────────────── */
#lightbox {
    animation: lbFadeIn 0.22s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Print ──────────────────────────────────────────────────────────── */
@media print {
    nav, footer, .whatsapp-btn, #mobile-cta, #cookie-banner { display: none !important; }
}

/* ── Mobile refinements ─────────────────────────────────────────────── */
@media (max-width: 639px) {
    .hero-h1 { line-height: 1.1; }
    .menu-card img { height: 210px !important; }
    .testimonial-quote::before { font-size: 4.5rem; }
}
