/* ═══════════════════════════════════════════════════════════
    GURME MERSİN TANTUNI - FIXED LIGHT THEME
    Fully responsive,
   accessible (focus states, contrast, skip links)
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    --color-black: #111;
    --color-white: #fff;
    --color-red: #C1121F;
    --color-accent: #D89A48;
    --color-accent-dark: #B9772B;
    --color-accent-light: #E7B36B;
    --color-bg: #f6f1e8;
    --color-card: #fffdf9;
    --color-surface: #f0e7dc;
    --color-border: #e0d4c0;
    --color-text-primary: #221d1a;
    --color-text-secondary: #5f574f;
    --color-text-muted: #7d7369;
    --glass-bg: rgba(34,29,26,.04);
    --glass-border: rgba(34,29,26,.12);
    --glass-shadow: 0 8px 32px rgba(26,20,15,.08);
    --shadow-sm: 0 2px 8px rgba(26,20,15,.08);
    --shadow-md: 0 4px 16px rgba(26,20,15,.11);
    --shadow-lg: 0 8px 32px rgba(26,20,15,.14);
    --shadow-accent: 0 4px 20px rgba(223,152,82,.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --t-fast: .2s ease;
    --t-norm: .3s ease;
    --t-slow: .5s ease;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --nav-height: 68px;
}

/* ─── Reset & Base ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--color-accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-accent-light); }

/* ─── Accessibility: Focus states ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link - hidden until keyboard focus */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    background: var(--color-accent);
    color: #000;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top var(--t-fast);
}
.skip-link:focus {
    top: 0;
    color: #000;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─── Utility ─── */
.text-gold { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted) !important; }
.min-vh-80 { min-height: 80vh; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: .6rem 1.6rem;
    transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #000;
    box-shadow: var(--shadow-accent);
}
.btn-gold:hover { color: #000; filter: brightness(1.05); box-shadow: 0 6px 26px rgba(223,152,82,.4); }

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { color: #fff !important; filter: brightness(1.05); }

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
}
.btn-outline-light:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ─── Header / Navbar ─── */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.navbar { padding: .6rem 0; }
.navbar-brand { font-weight: 700; color: var(--color-text-primary); }
.navbar-brand:hover { color: var(--color-accent); }
.brand-text { font-size: 1.15rem; letter-spacing: .3px; }

.navbar-toggler {
    border-color: var(--color-border);
    color: var(--color-text-primary);
}
.navbar-toggler:focus { box-shadow: 0 0 0 .25rem rgba(223,152,82,.25); }

.navbar-nav .nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    transition: color var(--t-fast), background var(--t-fast);
}
.navbar-nav .nav-link:hover { color: var(--color-accent); }
.navbar-nav .nav-link.active { color: var(--color-accent); }

.btn-whatsapp-nav {
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    padding: .5rem 1.2rem !important;
    margin-left: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.btn-whatsapp-nav:hover { color: #fff !important; filter: brightness(1.05); }

/* ─── Page Hero ─── */
.page-hero {
    padding: 4rem 0 2.5rem;
    text-align: center;
    position: relative;
    background: url('images/dukkanfoto.png') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}
@media (max-width: 768px) {
    .page-hero { background-attachment: scroll; }
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
    margin-bottom: .5rem;
}
.page-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    max-width: 620px;
    margin: 0 auto;
}

/* ─── Hero Section (Home) ─── */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg), var(--color-black));
    overflow: hidden;
}
.hero-bg, .hero-overlay, .hero-pattern { position: absolute; inset: 0; }
.hero-overlay { background: radial-gradient(circle at 30% 30%, rgba(223,152,82,.15), transparent 60%); }
.hero-pattern {
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: .4rem 1rem;
    margin-bottom: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: .9rem;
    backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: 2rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-col { display: flex; justify-content: center; }
.hero-image-wrapper { position: relative; max-width: 420px; }
.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(223,152,82,.35), transparent 70%);
    filter: blur(30px);
    border-radius: 50%;
}
.hero-image {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.hero-floating-card {
    position: absolute;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .85rem;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}
.hero-floating-card i { color: var(--color-accent); }
.hero-floating-card.card-1 { bottom: 20px; left: -20px; }
.hero-floating-card.card-2 { top: 30px; right: -20px; animation-delay: 2s; }
@media (max-width: 992px) {
    .hero-floating-card.card-1 { left: 10px; }
    .hero-floating-card.card-2 { right: 10px; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ─── Sections ─── */
.section { padding: 4rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .85rem;
    margin-bottom: .5rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: .75rem;
}
.section-desc { color: var(--color-text-secondary); }

/* ─── Product Cards ─── */
.product-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform var(--t-norm), box-shadow var(--t-norm), border-color var(--t-norm);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}
.product-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-category {
    display: inline-block;
    align-self: flex-start;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-accent);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .25rem .7rem;
    border-radius: 50px;
    margin-bottom: .6rem;
}
.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .35rem;
    color: var(--color-text-primary);
}
.product-desc {
    color: var(--color-text-secondary);
    font-size: .9rem;
    margin-bottom: 1rem;
    flex: 1;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
}

/* ─── Menu Toolbar / Search ─── */
.menu-toolbar {
    max-width: 560px;
    margin: 0 auto 1.5rem;
}
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 16px;
    color: var(--color-text-muted);
    pointer-events: none;
}
.search-input {
    width: 100%;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: .8rem 1.2rem .8rem 3rem;
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.search-input::placeholder { color: var(--color-text-muted); }
.search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(223,152,82,.2);
    background: var(--color-card);
    color: var(--color-text-primary);
}

/* ─── Category Filters ─── */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.filter-btn {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 50px;
    padding: .5rem 1.3rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--t-fast);
}
.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}

/* ─── Menu Item Card (grid wrapper) ─── */
.menu-item-card { transition: opacity var(--t-fast), transform var(--t-fast); }

/* ─── No Results ─── */
.no-results h5 { color: var(--color-text-primary); margin-top: 1rem; }
.no-results p { color: var(--color-text-muted); }

/* ─── Toast ─── */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.toast-notification {
    background: var(--color-card);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: .8rem 1.2rem;
    box-shadow: var(--shadow-md);
    font-weight: 500;
    animation: toastIn var(--t-norm);
    max-width: 320px;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ─── WhatsApp Float ─── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 1300;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 26px rgba(37,211,102,.5);
}

/* ─── Footer ─── */
.site-footer {
    background: var(--color-black);
    color: var(--color-text-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
}
.site-footer h5 {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
}
.site-footer a { color: var(--color-text-secondary); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .list-unstyled li { margin-bottom: .5rem; }
.site-footer iframe { border-radius: var(--radius-sm); }
.site-footer .admin-footer-link { display: inline-block; margin-left: 1rem; text-decoration: underline; text-underline-offset: 3px; }

/* Home page: storefront-led editorial layout */
body.home-page {
    --color-bg: #f4efe8;
    --color-card: #fffdf9;
    --color-surface: #efe5d8;
    --color-border: #e0d4c0;
    --color-text-primary: #221d1a;
    --color-text-secondary: #5f574f;
    --color-text-muted: #7d7369;
}
.home-page .site-header { background: rgba(246,241,232,.97); }
.home-page .hero-section.home-hero {
    min-height: min(760px, calc(100svh - var(--nav-height)));
    display: flex;
    align-items: center;
    background: #211b17;
}
.home-hero-image,
.home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-image { object-fit: cover; object-position: center 48%; }
.home-hero-shade { background: linear-gradient(90deg, rgba(24,18,14,.88) 0%, rgba(24,18,14,.68) 43%, rgba(24,18,14,.12) 100%); }
.home-page .hero-content { width: 100%; padding-top: 5rem; padding-bottom: 5rem; }
.home-hero-copy { max-width: 690px; }
.home-page .hero-badge {
    color: #f0bd6b;
    background: rgba(27,22,18,.5);
    border-color: rgba(255,255,255,.28);
}
.home-page .hero-title {
    max-width: 680px;
    color: #fffaf2;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    font-weight: 700;
    line-height: 1.02;
}
.home-page .hero-title span { color: #f0bd6b; }
.home-page .hero-desc { color: rgba(255,250,242,.88); max-width: 500px; }
.home-page .hero-buttons { gap: .8rem; }
.home-page .hero-btn { min-height: 54px; border-radius: 4px; }
.home-page .btn-gold { background: #e3ad5c; box-shadow: none; }
.home-page .btn-call-hero {
    color: #fffaf2;
    background: rgba(24,18,14,.32);
    border: 1px solid rgba(255,255,255,.62);
}
.home-page .btn-call-hero:hover { color: #241f1a; background: #fffaf2; }
.visit-strip { background: #fff; border-bottom: 1px solid var(--color-border); }
.visit-strip-inner { display: grid; grid-template-columns: 1.15fr 1.3fr .8fr; }
.visit-detail {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.2rem 1.4rem;
    color: var(--color-text-primary);
    border-right: 1px solid var(--color-border);
}
.visit-detail:first-child { padding-left: 0; }
.visit-detail:last-child { border-right: 0; }
.visit-detail > i:first-child { color: #bd742c; font-size: 1.15rem; }
.visit-detail span { display: grid; gap: .12rem; }
.visit-detail strong { font-size: .94rem; }
.visit-detail small { color: var(--color-text-muted); font-size: .81rem; }
.visit-detail:hover { color: #a45622; }
.visit-detail .visit-arrow { margin-left: auto; color: var(--color-text-muted); font-size: .75rem; }
.home-page .section-popular { background: #fff; }
.home-page .section-title { font-family: Georgia, 'Times New Roman', serif; }
@media (max-width: 767.98px) {
    .home-page .hero-section.home-hero { min-height: 650px; min-height: min(720px, calc(100svh - var(--nav-height))); }
    .home-hero-image { object-position: 57% center; }
    .home-hero-shade { background: linear-gradient(0deg, rgba(24,18,14,.88) 0%, rgba(24,18,14,.56) 65%, rgba(24,18,14,.16) 100%); }
    .home-page .hero-content { align-self: end; padding-top: 4rem; padding-bottom: 3.5rem; }
    .home-page .hero-title { font-size: clamp(2.7rem, 12vw, 4.2rem); }
    .visit-strip-inner { grid-template-columns: 1fr; }
    .visit-detail, .visit-detail:first-child { min-height: 76px; padding: .9rem 64px .9rem 0; border-right: 0; border-bottom: 1px solid var(--color-border); }
    .visit-detail:last-child { border-bottom: 0; }
    .home-page .whatsapp-float { right: 18px; left: auto; }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .hero-buttons .btn { width: 100%; }
    .navbar-collapse { padding: 1rem 0; }
    .btn-whatsapp-nav { margin-left: 0; margin-top: .5rem; justify-content: center; }
    .navbar-nav .nav-link { padding: .6rem 0; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 18px; left: 18px; }
}

/* ─── AOS fallback (no library loaded) ─── */
[data-aos].aos-animate { opacity: 1; transform: none; transition: opacity var(--t-norm), transform var(--t-norm); }
[data-aos] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    [data-aos] { opacity: 1; }
}
