/* et döner kavurmalı normal tavuklu  */
/* Genel Ayarlar ve Resetleme */
:root {
    --primary-color: #FFA500; /* Logo turuncusu - Gerekirse Hex kodunu değiştirin */
    --secondary-color: #333; /* Koyu gri */
    --dark-color: #000000; /* Siyah */
    --light-color: #FFFFFF; /* Beyaz */
    --background-light: #f8f9fa; /* Açık gri arkaplan */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --font-family: 'Poppins', sans-serif; /* Modern font */
    --header-height: 70px; /* Header yüksekliği */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Sayfa içi linklerde yumuşak kaydırma */
    scroll-padding-top: var(--header-height); /* Sabit header için kaydırma boşluğu */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #e69500; /* Turuncunun biraz koyusu */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block; /* Resim altındaki boşluğu engeller */
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--background-light);
}
.bg-dark {
    background-color: var(--dark-color);
    color: var(--text-light);
}
.bg-dark h2, .bg-dark h3, .bg-dark p {
    color: var(--text-light);
}
.bg-dark a {
    color: var(--primary-color);
}
.bg-dark a:hover {
    color: var(--light-color);
}


/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color); /* Turuncu üzerine koyu renk daha okunaklı olabilir */
}
.btn-primary:hover {
    background-color: #e69500; /* Turuncunun biraz koyusu */
     transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
     box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.btn-secondary {
     background-color: transparent;
     color: var(--primary-color);
     border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

/* Header & Navbar */
#header {
    background-color: var(--light-color);
    position: fixed; /* Sabit header */
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#navbar .logo {
    display: flex;
    align-items: center;
    padding-top: 10px; /* Üstten 10px boşluk ekler, ihtiyaca göre değeri artırabilirsiniz */
}

#navbar .logo img {
    height: 50px; /* Logo yüksekliğini ayarlayın */
    width: auto;
}

/* Alternatif Metin Logo Stili
#navbar .logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0;
} */

#navbar ul {
    display: flex;
    
}

#navbar ul li {
    margin-left: 25px;
}

#navbar ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    padding-bottom: 5px; /* Alt çizgi için boşluk */
    position: relative; /* Alt çizgi için */
}

#navbar ul li a::after { /* Hover alt çizgi efekti */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

#navbar ul li a:hover::after,
#navbar ul li a.active::after { /* Aktif link için de çizgi */
    width: 100%;
}

#navbar ul li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu Button */
.hamburger {
    display: none; /* Varsayılan olarak gizli */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Diğer öğelerin üzerinde */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Mobil Navigasyon */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98); /* Hafif transparan beyaz */
    backdrop-filter: blur(5px); /* Arkaplanı bulanıklaştır (destekleyen tarayıcılarda) */
    display: none; /* Başlangıçta gizli */
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: flex; /* JavaScript ile aktifleşince göster */
}

.mobile-nav ul li {
    margin: 15px 0;
    text-align: center;
}

.mobile-nav ul li a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}
.mobile-nav ul li a:hover {
    color: var(--primary-color);
}


/* Hero Alanı */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh; /* Ekran yüksekliği kadar */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    position: relative; /* Animasyonlar için */
    overflow: hidden; /* Animasyon taşmalarını engelle */
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px; /* Yazı genişliğini sınırla */
    margin-left: auto;
    margin-right: auto;
}

/* Section Başlıkları */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}
.bg-dark .section-subtitle {
     color: var(--text-light);
}

/* Menüler Alanı */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Duyarlı grid */
    gap: 30px; /* Öğeler arası boşluk */
    align-items: stretch; /* Kartların yüksekliklerini eşitlemek için eklendi */
}
.menu-item {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden; /* Resmin köşelerini yuvarlatmak için */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px 20px 20px 20px; /* Padding-top kaldırıldı, resim tam üste yaslanacak */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Tıklanabilir olduğunu belirtir */
    display: flex; /* İçerikleri daha iyi kontrol etmek için eklendi */
    flex-direction: column; /* İçerikleri dikey sırala */
}

.menu-item:hover {
    transform: translateY(-10px); /* Hover'da hafif yukarı kalkma */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;       /* Genişliği %100 yapıldı (kartın tamamını kaplasın) */
    height: 200px;      /* Sabit yükseklik verildi (max-height yerine height) */
    object-fit: cover; /* Resmin orantısını koruyarak alanı kapla (kırpma olabilir) */
    display: block;
    margin-bottom: 15px; /* Resim ile başlık arası boşluk */
    /* margin: 0 auto; kaldırıldı, width: 100% ile gereksiz */
}

.menu-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    min-height: 50px; /* Yaklaşık 2 satır başlık + boşluk için minimum yükseklik (ayarlayabilirsiniz) */
    /* Başlığın dikeyde ortalanması istenirse (opsiyonel): */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

.menu-item p {
    margin-bottom: 15px;
    /* min-height: 60px; kaldırılabilir veya ayarlanabilir, flex-grow daha esnek olabilir */
    flex-grow: 1; /* Açıklama alanının kalan boşluğu doldurmasını sağlar (butonları hizalamak için) */
}
/* Butonun hep en altta kalması için (opsiyonel ama önerilir) */
.menu-item .btn {
    margin-top: auto; /* Butonu kartın en altına iter */
}

/* Hakkımızda Alanı */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Galeri Alanı */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative; /* Hover efekti için */
    cursor: pointer; /* Büyütme efekti için */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Hover'da hafif zoom */
}

/* İletişim Alanı */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start; /* Form ve bilgileri yukarı hizala */
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i { /* İkonlar */
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px; /* İkon genişliğini ayarla */
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555; /* Koyu arkaplanda daha belirgin */
    border-radius: 5px;
    background-color: #222; /* Koyu input arkaplanı */
    color: var(--text-light);
    font-family: inherit;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5); /* Turuncu focus efekti */
}

.contact-form textarea {
    resize: vertical; /* Sadece dikeyde boyutlandırma */
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 20px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer Alanı */
#footer {
    background-color: var(--secondary-color);
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 0; /* İletişim alanı ile birleşik durması için */
}

/* ----- Modal Stilleri ----- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.close-modal:hover {
    color: #000;
}

/* Modal içindeki resmin boyutunu düzelt */
#modal-img {
    width: 100%;
    max-width: 500px;
    max-height: 300px;
    object-fit: scale-down; /* Resim container ile karşılaştırılır; büyükse küçülür. */
    border-radius: 5px;  
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#modal-price-list {
    padding-left: 20px;
    margin: 10px 0;
}

.price-note {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animasyonlar (JavaScript ile tetiklenecek) */
/* Başlangıç durumu (görünmez ve/veya kaymış) */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in { transform: translateY(30px); }
.fade-in-down { transform: translateY(-30px); }
.fade-in-up { transform: translateY(30px); }
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }
.zoom-in { transform: scale(0.8); }

/* Görünür olduğunda uygulanacak stil */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1); /* Tüm transformları sıfırla */
}

/* Animasyon Gecikmeleri */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }


/* Responsive Tasarım (Media Queries) */

/* Tabletler ve Küçük Laptoplar */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    #hero h1 { font-size: 3rem; }
    #hero p { font-size: 1.1rem; }

    .about-content, .contact-grid {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
        text-align: center;
    }
    .about-image {
        margin-top: 30px;
        order: -1; /* Resmi yukarı al (isteğe bağlı) */
    }
     .contact-info {
        margin-bottom: 30px;
        text-align: center; /* İletişim bilgilerini ortala */
    }
     .contact-info p {
         justify-content: center; /* İkon ve metni ortala */
     }
    .slide-in-left, .slide-in-right { /* Yan kayma animasyonını düzelt */
        transform: translateY(30px);
    }
     .animate-on-scroll.is-visible {
        transform: translate(0, 0) scale(1);
    }

}

/* Mobil Cihazlar */
@media (max-width: 768px) {
    :root {
        --header-height: 60px; /* Header mobil için biraz daha küçük */
    }
     html {
        scroll-padding-top: var(--header-height);
    }

    #navbar ul {
        display: none; /* Normal menüyü gizle */
    }

    .hamburger {
        display: block; /* Hamburger menü butonunu göster */
    }

    /* Hamburger Açık İken X ikonu */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    #hero h1 { font-size: 2.5rem; }
    #hero p { font-size: 1rem; }

    .section-padding { padding: 60px 0; }

    .menu-grid {
         grid-template-columns: 1fr; /* Mobilde menüleri tek sütun yap */
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Galeriyi küçült */
    }

    /* Modal mobil uyumu */
     .modal-content {
         padding: 20px;
         max-height: 85vh;
     }
      #modal-title {
        font-size: 1.5rem;
     }
     #modal-img {
         max-height: 200px;
     }
}