:root {
    --brand: #b22222;
    --brand-dark: #921c1c;
    --text: #222222;
    --muted: #666666;
    --bg: #ffffff;
    --bg-alt: #faf7f7;
    --container: 1100px;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}


header {
    background: var(--brand);
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items:center;
    gap:30px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo svg {
    width: auto;
    height: 55px;
}

.header-logo .logo-top-text,
.header-logo .logo-bottom-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    fill: #fff;
}

.header-logo .logo-bottom-text {
    letter-spacing: 1px;
}

.header-contact {
    display:grid;
    gap: 40px;
    font-size: 14px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background .2s ease, color .2s ease;
    font-weight: 600;
    font-size: 14px;
}

.header-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ================= GENEL SAYFA STİLLERİ ================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

section {
    padding: 50px 0;
    background-color: #f4e4ca;
}

section.alt {
    background: var(--bg-alt);
    background-color: #ffffff;
    
}

h2 {
    margin: 0 0 24px;
    font-size: 32px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
}

.grid-1 {
    grid-template-columns: 1fr;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s ease;
}

.card:hover {
    background-color: rgb(231, 231, 231);
    transform: translateY(-3px);
}

.card h3 {
    color: var(--brand);
    margin-top: 5px;
}

.muted {
    color: var(--muted);
}

ul.clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.clean li {
    padding: 6px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(1px);
}

.btn-ghost {
    background: #fff;
    color: var(--brand);
    border-color: #eee;
}

.btn-ghost:hover {
    background: #f8f8f8;
}

/* ================= HERO (ANA GİRİŞ) BÖLÜMÜ ================= */
.hero {
    background: var(--bg);
    padding: 40px 0 20px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}

.hero h1 {
    font-size: 40px;
    margin: 0 0 10px;
    font-family: 'Playfair Display', serif;
}

.hero p.lead {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 18px;
}

.hero-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e7e7;
}

.menu-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.menu-date {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.badge {
    background: var(--bg-alt);
    border: 1px solid #efe3e3;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
}

#daily-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#daily-menu li {
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

#daily-menu li:before {
    content: "•";
    color: var(--brand);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* ================= İLETİŞİM BÖLÜMÜ ================= */
.contact-box {
    display: grid;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.contact-item strong,
.contact-item a {
    color: var(--text);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--brand);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 24px;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


.quick-actions {
    display: none;
}


#gallery .container {
    position: relative;
}

.gallery-grid {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    gap: 12px;
    padding: 0 50px; 
}


.gallery-grid img {
    flex-shrink: 0;
    width: calc(50% - 6px);
    height: 300px;
    object-fit: cover;
    object-position: center; 
    border-radius: var(--radius);
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}

.gallery-control-btn-absolute {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background: rgba(178, 34, 34, 0.9);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-control-btn-absolute:hover {
    background: var(--brand-dark);
}

.gallery-control-btn-absolute:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#prev-btn-abs {
    left: 16px;
}

#next-btn-abs {
    right: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
}

/* ================= MOBİL UYUMLULUK (RESPONSIVE) ================= */

@media (max-width: 750px) {
    
    /* 1. Konteyner referans noktası olsun */
    .header-container {
        position: relative; 
        justify-content: flex-end; /* Menü butonunu sağa itmek için */
        height: 70px; /* Yükseklik çökmesini engellemek için sabit bir değer gerekebilir */
    }

    /* 2. Logo ve Telefon Grubunu TAM ORTAYA Çivile */
    .header-left {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Tam merkezleme formülü */
        width: max-content; /* İçerik kadar genişle */
        gap: 10px;
        z-index: 10; /* Menünün altında kalmasın diye */
    }

    /* 3. Sağ taraf (Menü Butonu) sağda kalsın */
    .header-right {
        /* position: static veya relative kalabilir, flex-end ile sağa gitti zaten */
        z-index: 20; /* Menü açıldığında üstte kalsın */
    }

    /* --- Diğer ayarların aynen kalıyor --- */
    .hero-inner, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .menu-toggle {
        display: block;
        font-size: 24px;
    }

    /* Logoyu mobilde biraz küçültelim ki taşmasın */
    .header-logo svg {
        height: 50px; /* Biraz daha küçülttüm ki sığsın */
        width: auto;
    }

    /* Telefon numarası ayarı */
    .header-contact {
        display:none;
        align-items: center;
        gap: 5px;
        font-size: 20px; /* Yer kazanmak için biraz ufattım */
    }

    /* Menü açıldığında düzgün görünmesi için */
    .header-nav {
        position: fixed; /* Absolute yerine Fixed daha garantidir mobilde */
        top: 80px; 
        left: 0;
        right: 0;
        flex-direction: column;
        background: #b22222; /* Koyu renk arka plan (örnek) */
        color: #fff;
        display: none;
        padding: 20px 0;
        z-index: 999; /* En üstte */
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        width: 90%;
        text-align: center;
        margin: 5px auto;
        padding: 10px; /* Dokunması kolay olsun */
        border-radius: 8px;
        color: #fff; /* Link rengi */
    }

    .contact-box {
        order: 2;
    }
    
    .gallery-grid {
        padding: 0;
        gap: 0;
    }

    .gallery-grid img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    #prev-btn-abs {
        left: 5px;
    }

    #next-btn-abs {
        right: 5px;
    }
}

@media (max-width: 600px) {
    /* Çok küçük ekranlarda telefon numarası sığmazsa */
    .header-contact span, 
    .header-contact a {
        font-size: 12px; /* Yazıyı biraz daha küçült */
    }
    
    .contact-box {
        max-width: 100%;
    }

    .card .grid-2 {
        grid-template-columns: 1fr;
    }
}

footer {
    background: #111;
    color: #ddd;
    padding: 20px 0;
}

footer .foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.footer-line {
    display: block;
    margin-top: 4px;
}

.tiny {
    font-size: 12px;
    color: #aaa;

}
