/* ==========================================================================
   GENEL STİLLER VE MOBİL ÖNCELİKLİ TASARIM (Mobile-First)
   ========================================================================== */

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f0f0f0;
    overflow-x: hidden;
    background-image: url('uploads/background6.webp');
    background-repeat: repeat;
}

h1, h2, h3, h4, header nav a {
    font-family: 'Cinzel', serif;
}

main {
    width: 100%;
    margin: 20px auto;
    padding: 0 15px; /* Mobil için yan boşluklar */
    box-sizing: border-box;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #c00;
    border-bottom: 2px solid #555;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em; /* Mobil için başlık boyutu */
}

/* ==========================================================================
   HEADER / ÜST MENÜ
   ========================================================================== */
header {
    background-color: #000;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid rgb(110, 6, 6);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px; /* Mobil için header yüksekliği */
}

.logo-link {
    height: 60px; /* Mobil için logo yüksekliği */
    z-index: 1001;
    transition: height 0.3s ease;
}

.logo-img {
    height: 100%;
    width: auto;
}

/* Mobil Menü (Hamburger) */
.hamburger-menu {
    display: block; /* Mobilde her zaman görünür */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Navigasyon menüsü (Mobilde gizli) */
nav {
    display: none;
    position: absolute;
    top: 70px; /* Header yüksekliği kadar */
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.95);
    flex-direction: column;
    text-align: center;
}

nav.nav-open {
    display: flex; /* Tıklandığında görünür */
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 18px 0;
    border-bottom: 1px solid #333;
    width: 100%;
    transition: color 0.3s, background-color 0.3s;
}
nav a:hover {
    color: #fff;
    background-color: #c00;
}


/* ==========================================================================
   SAYFA İÇERİKLERİ
   ========================================================================== */

/* Hero Alanı */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('uploads/Banner.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 8px;
}
.hero-text h1 { font-size: 2.2em; color: #fff; margin-bottom: 10px; }
.hero-text p { font-size: 1.1em; }
.cta-button {
    background-color: #c00;
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 20px;
}
.cta-button:hover { background-color: #a00; }

/* Grid Yapıları (Kampanya & Galeri) */
.kampanya-grid, .galeri-grid { 
    display: grid; 
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 20px; 
}
.kampanya-kart, .galeri-item { 
    background-color: #2b2b2b; 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid #444; 
}
.kampanya-kart img, .galeri-item img { width: 100%; height: 200px; object-fit: cover; }
.kampanya-kart h3, .kampanya-kart p { padding: 0 15px; }
.kampanya-kart h3 { color: #c00; margin-top: 15px; }
.kampanya-kart p { padding-bottom: 15px; }

/* Menü Sayfası */
.kategori-baslik { margin-top: 30px; color: #fff; background-color: #c00; padding: 10px; border-radius: 5px; }
.menu-item-yeni {
    display: flex;
    flex-direction: column;
    background-color: #2b2b2b;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #444;
}
.menu-item-resim { width: 100%; height: 180px; object-fit: cover; }
.menu-item-bilgi { padding: 15px; }
.menu-item-fiyat { font-size: 1.5em; font-weight: bold; color: #c00; text-align: right; padding: 0 15px 15px 15px; }
.menu-item-yeni h4 { margin: 0 0 10px 0; color: #fff; font-size: 1.3em; }
.menu-item-yeni p { margin: 0; font-size: 0.9em; color: #ccc; }
.kalori { color: #888; font-style: italic; }

/* Video Slider */
.swiper-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.swiper-button-next, .swiper-button-prev { color: #c00; }

/* İletişim & Hakkımızda */
.iletisim-container { display: flex; flex-direction: column; gap: 30px; } /* Mobilde alt alta */
.harita iframe { width: 100%; height: 350px; border-radius: 8px; }
.hakkimizda-bolum { margin-bottom: 30px; background-color: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px; }
.hakkimizda-bolum ul { list-style: none; padding-left: 0; }
.hakkimizda-bolum li { padding-left: 1.5em; text-indent: -1.5em; margin-bottom: 10px; }
.hakkimizda-bolum li::before { content: '🔥'; margin-right: 10px; }

/* ==========================================================================
   WHATSAPP & FOOTER
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 50px; /* Mobil için daha küçük */
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    text-decoration: none;
}
.whatsapp-float svg { width: 28px; height: 28px; } /* Mobil için ikon boyutu */
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #777;
    border-top: 2px solid #333;
}

/* ==========================================================================
   TABLET VE MASAÜSTÜ STİLLERİ (min-width: 769px)
   ========================================================================== */
@media (min-width: 769px) {

    main {
        max-width: 1300px;
        padding: 40px 20px;
    }

    h2 {
        font-size: 2em;
    }
    
    /* Header ve Logo (Masaüstü Görünümü) */
    header {
        height: 80px; /* Logoya yer açmak için header'ı biraz büyüttük */
        padding: 5px 5%; 
    }

    .logo-link {
        /* Mutlak konumlandırma kaldırıldı. Logo artık header içinde. */
        position: static;
        height: 100%; /* Logonun yüksekliği header'a uyum sağlar */
    }

    .hamburger-menu {
        display: none; /* Masaüstünde hamburger menü gizli */
    }

    nav {
        display: flex; /* Normal menü görünür */
        position: static;
        width: auto;
        background-color: transparent;
        flex-direction: row;
        margin-left: auto; /* Sağa yaslamak için */
    }

    nav a {
        padding: 0;
        border-bottom: none;
        width: auto;
        margin-left: 25px;
    }
    
    nav a:hover {
        background-color: transparent;
        color: #c00;
    }

    /* İçerik Stilleri (Masaüstü) */
    .hero { padding: 100px 20px; }
    .hero-text h1 { font-size: 3em; }
    .hero-text p { font-size: 1.2em; }
    .cta-button { font-size: 1.2em; padding: 15px 30px; }

    .kampanya-grid, .galeri-grid { 
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .iletisim-container {
        flex-direction: row; /* Masaüstünde yan yana */
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 40px;
        right: 40px;
    }
    .whatsapp-float svg { width: 32px; height: 32px; }
}

