/* ═══════════════════════════════════════════════════════════════════════
   GERZE BEYAZ İNCİ RESTAURANT — PREMIUM MINIMALIST THEME
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --bg-color: #ffffff;
    --bg-alt: #fcfbf9;
    --text-main: #1c1c1c;
    --text-muted: #6b6b6b;
    --accent: #bda069;
    --accent-dark: #a18758;
    --border: #eae8e1;
    --font-heading: 'Playfair Display', serif;
    --font-accent: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ── Loader ─────────────────────────────────────────────────────────── */
.loader {
    position: fixed; inset: 0; z-index: 9999;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s, visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { width: 100px; animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(0.95); opacity: 0.7; } 50% { transform: scale(1.05); opacity: 1; } }

/* ── Header ─────────────────────────────────────────────────────────── */
.header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 40px; transition: height var(--transition); }
.header.scrolled .logo-img { height: 34px; }
.logo-text {
    font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600;
    color: #fff; transition: color var(--transition);
}
.header.scrolled .logo-text { color: var(--text-main); }

.nav { display: flex; gap: 32px; align-items: center; }
.nav-link {
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
}
.header.scrolled .nav-link { color: var(--text-main); }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-cta {
    border: 1px solid rgba(255,255,255,0.5); padding: 8px 20px; border-radius: 4px;
}
.header.scrolled .nav-cta { border-color: var(--text-main); }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Mobile Menu */
.hamburger { display: none; flex-direction: column; gap: 6px; z-index: 1001; }
.hamburger span { width: 30px; height: 1px; background: #fff; transition: all 0.3s; }
.header.scrolled .hamburger span { background: var(--text-main); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 600px; background: #1a1a1a; overflow: hidden; }
.hero-bg-slide {
    position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 0;
}
.hero-bg-slide.active { opacity: 1; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.slide-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 95%; max-width: 1000px; text-align: center; z-index: 5;
}
.hero-title-wrapper { margin-bottom: 24px; }
.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 8vw, 5rem); font-weight: 700;
    color: #fff; line-height: 1.1; letter-spacing: -0.01em;
    margin: 0 auto;
    animation: fadeUp 1s ease forwards;
}
.slide-subtitle {
    font-size: 1.05rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.95); margin: 0 auto 40px; font-weight: 300;
    animation: fadeUp 1s 0.2s ease forwards; opacity: 0;
}
.btn-primary {
    display: inline-block; padding: 16px 45px;
    background: var(--accent); color: #fff;
    font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
    border-radius: 0; transition: background var(--transition);
    animation: fadeUp 1s 0.4s ease forwards; opacity: 0;
}
.btn-primary:hover { background: var(--accent-dark); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px;
    color: var(--accent); display: block; margin-bottom: 12px; font-weight: 600;
}
.section-title {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 500;
    color: var(--text-main); position: relative; display: inline-block;
}
.section-title::after {
    content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 1px; background: var(--accent);
}

/* ── About ──────────────────────────────────────────────────────────── */
.section-about { background: var(--bg-alt); }
.about-text {
    max-width: 800px; margin: 0 auto 60px; text-align: center;
    font-size: 1.15rem; color: var(--text-muted); font-family: var(--font-accent); font-style: italic;
}
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.feature-card { text-align: center; padding: 40px 20px; }
.feature-icon { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Menu ───────────────────────────────────────────────────────────── */
.menu-tabs { display: flex; justify-content: center; gap: 24px; margin-bottom: 60px; flex-wrap: wrap; }
.menu-tab {
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.menu-tab.active, .menu-tab:hover { color: var(--text-main); border-color: var(--accent); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 40px; }
.menu-card {
    display: flex; gap: 20px; align-items: center;
    transition: transform var(--transition);
}
.menu-card:hover { transform: translateX(10px); }
.menu-card.hidden { display: none; }
.menu-card-img {
    width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-body { flex: 1; }
.menu-card-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.menu-card-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.menu-card-price { font-family: var(--font-accent); font-size: 1.3rem; font-weight: 600; color: var(--accent); }
.menu-card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ── Gallery ────────────────────────────────────────────────────────── */
.section-gallery { background: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item {
    position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 1.5rem; }

/* ── Lightbox ───────────────────────────────────────────────────────── */
.lightbox {
    position: fixed; inset: 0; z-index: 9000; background: rgba(255,255,255,0.98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; font-size: 2rem; color: var(--text-main); z-index: 10;
}
.lightbox-close { top: 30px; right: 40px; }
.lightbox-prev { left: 40px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 40px; top: 50%; transform: translateY(-50%); }

/* ── Contact ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-card { display: flex; gap: 20px; margin-bottom: 40px; }
.contact-card-icon { font-size: 1.5rem; color: var(--accent); }
.contact-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--text-muted); }
.social-links { display: flex; gap: 16px; margin-top: 20px; }
.social-links a { font-size: 1.2rem; color: var(--text-main); transition: color var(--transition); }
.social-links a:hover { color: var(--accent); }
.contact-map iframe { width: 100%; height: 500px; border: none; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--text-main); color: #fff; padding: 60px 0 40px; text-align: center; }
.footer-logo { height: 80px !important; width: auto !important; margin: 0 auto 20px !important; display: block !important; opacity: 1; filter: none !important; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 20px; display: block; }
.footer-text { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ── Animations & Responsive ────────────────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ── Back to Top ────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed; bottom: 40px; right: 40px; z-index: 1000;
    width: 45px; height: 45px; border-radius: 50%;
    background: #fff; color: var(--text-main);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.4s ease; border: 1px solid var(--border);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); background: var(--accent); color: #fff; border-color: var(--accent); }


@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: #fff; flex-direction: column; justify-content: center;
        transform: translateY(-100%); transition: transform 0.5s ease;
    }
    .nav.open { transform: translateY(0); }
    .nav-link { color: var(--text-main); font-size: 1.2rem; }
    .header.scrolled .hamburger span { background: var(--text-main); }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text-main); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text-main); }
    .slide-title { font-size: 3.5rem; }
}
