/* Hanımeli Sofrası - Ana Stil Dosyası */

:root {
    --altin: #D4A017;
    --altin-koyu: #B8860B;
    --siyah: #1a1a1a;
    --antrasit: #2d2d2d;
    --krem: #FAFAF7;
    --krem-koyu: #F0EDE6;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--krem);
    color: #1a1a1a;
}

.container { max-width: 1200px; }

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

/* ---------- NAVİGASYON ---------- */
.nav-link {
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}
.nav-link:hover,
.nav-link.aktif {
    color: #D4A017;
    background-color: rgba(255, 255, 255, 0.07);
}

.mobil-nav-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #d1d5db;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
}
.mobil-nav-link:hover,
.mobil-nav-link.aktif {
    color: #D4A017;
    background-color: rgba(255, 255, 255, 0.07);
}

/* ---------- HERO ---------- */
.hero-bolumu {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #111;
}

.hero-slayt {
    position: absolute;
    inset: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slayt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.75) 100%
    );
}

.hero-icerik {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
}

/* ---------- BÖLÜM BAŞLIKLARI ---------- */
.bolum-baslik {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #1a1a1a;
    line-height: 1.2;
}

.bolum-cizgi {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: var(--altin);
    border-radius: 2px;
    margin: 0.75rem auto;
}

.bolum-aciklama {
    font-size: 1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- ÜRÜN KARTLARI ---------- */
.urun-kart {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.urun-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

.urun-kart-gorsel {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.urun-kart:hover .urun-kart-gorsel {
    transform: scale(1.05);
}

.urun-kart-gorsel-sarg {
    overflow: hidden;
    height: 220px;
    position: relative;
}

.one-cikan-rozet {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--altin);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ---------- GÜNÜN YEMEKLERİ ---------- */
.gunun-yemegi-satir {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: background 0.2s, transform 0.2s;
}

.gunun-yemegi-satir:hover {
    background: #fffbf0;
    transform: translateX(4px);
}

/* ---------- YENİDEN KULLANILABILIR BUTONLAR ---------- */
.btn-altin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--altin);
    color: #000;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-altin:hover { background: var(--altin-koyu); transform: translateY(-1px); }

.btn-cerceveli {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-cerceveli:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ---------- GALERİ ---------- */
.galeri-kart {
    position: relative;
    overflow: hidden;
    border-radius: 0.875rem;
    cursor: pointer;
}

.galeri-kart img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-kart:hover img { transform: scale(1.08); }

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.galeri-kart:hover .galeri-overlay {
    background: rgba(0,0,0,0.45);
}

.galeri-overlay-ikon {
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.galeri-kart:hover .galeri-overlay-ikon {
    opacity: 1;
    transform: scale(1);
}

/* ---------- FOOTER LİNK ---------- */
.footer-link {
    color: #9ca3af;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-link:hover { color: var(--altin); }

/* ---------- FORM ---------- */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    font-size: 0.9rem;
    background: #fff;
    color: #1a1a1a;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus {
    border-color: var(--altin);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

/* ---------- SAYFA BAŞLIĞI ---------- */
.sayfa-baslik-alani {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3.5rem 1rem;
    text-align: center;
}

/* ---------- GALERİ LIGHTBOX ---------- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.aktif { display: flex; }
.lightbox-gorsel { max-width: 90vw; max-height: 85vh; border-radius: 0.5rem; }

/* ---------- ALERT ---------- */
.alert {
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ---------- MOBİL İYİLEŞTİRMELER ---------- */
@media (max-width: 768px) {
    .hero-bolumu { min-height: 85vh; }
    .urun-kart-gorsel, .urun-kart-gorsel-sarg { height: 180px; }
    .galeri-kart img { height: 200px; }
}

/* ---------- ANİMASYONLAR ---------- */
@keyframes yukariKay {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.yukari-kay {
    animation: yukariKay 0.7s ease forwards;
}

/* ---------- SCROLL INDICATOR ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--altin);
    z-index: 9999;
    transition: width 0.1s linear;
}
