/* style.css - Ortak Tasarim Dosyasi (Hamburger Menülü Mobil Uyum) */

/* --- GENEL AYARLAR --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html, body { background-color: #fcfcfc; color: #333; line-height: 1.6; overflow-x: hidden; width: 100%; }

/* --- ÜST MENÜ VE LOGO ALANI --- */
header {
    background-color: #241c1f; 
    color: white; 
    padding: 10px 60px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: sticky; top: 0; z-index: 1000;
}
.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-container img { height: 60px; border-radius: 8px; box-shadow: 0 2px 8px rgba(216, 27, 96, 0.4); object-fit: cover; }
.logo-text { font-size: 1.5rem; font-family: 'Georgia', serif; font-weight: bold; color: #ec407a; letter-spacing: 1px; }

/* Menü Linkleri */
nav { display: flex; align-items: center; }
nav a { color: #e0e0e0; text-decoration: none; margin-left: 35px; font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
nav a:hover, nav a.active { color: #ec407a; }

/* Hamburger Butonu (Bilgisayarda Gizli) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ec407a;
    font-size: 2.2rem;
    cursor: pointer;
}

/* --- SAYFA IÇERIK ALANI (GENEL) --- */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; min-height: 70vh; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title p { color: #ec407a; font-weight: bold; text-transform: uppercase; letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 5px; }
.section-title h2 { font-size: 2.8rem; font-family: 'Georgia', serif; color: #241c1f; }

/* --- FILTRE BUTONLARI --- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.filter-btn { padding: 10px 25px; border: none; border-radius: 30px; background-color: #fce4ec; color: #555; cursor: pointer; font-weight: bold; transition: all 0.3s; }
.filter-btn.active { background-color: #ec407a; color: white; box-shadow: 0 4px 10px rgba(236, 64, 122, 0.3); }
.filter-btn:hover:not(.active) { background-color: #f8bbd0; color: #d81b60; }

/* --- YEMEK KARTLARI --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); justify-content: center; gap: 35px; }
.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(236, 64, 122, 0.15); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-content { padding: 25px; position: relative; }
.card-title { font-size: 1.5rem; font-family: 'Georgia', serif; margin-bottom: 10px; color: #241c1f; }
.card-desc { color: #666; font-size: 0.95rem; margin-bottom: 15px; }
.card-price { display: inline-block; font-size: 1.3rem; font-weight: bold; color: #ec407a; background-color: #fce4ec; padding: 5px 15px; border-radius: 20px; }

/* --- ALT BILGI (FOOTER) --- */
/* =========================================
   GELISMIS FOOTER (ALT BILGI)
========================================= */
.site-footer {
    background-color: #1a1416; /* Mevcut antrasitten bir tik daha koyu, derinlik katar */
    color: #b0a8a3;
    padding: 60px 20px 20px 20px;
    border-top: 4px solid #ec407a; /* Pembe serit */
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Sol kisim (logo) daha genis */
    gap: 40px;
    margin-bottom: 40px;
}

/* Logo ve Marka Kismi */
.footer-brand .footer-logo {
    font-size: 2rem;
    font-family: 'Georgia', serif;
    color: white;
    margin-bottom: 15px;
}
.footer-brand .footer-logo span {
    color: #ec407a;
}
.footer-brand p {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 400px;
}

/* Sosyal Medya Ikonlari */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #241c1f;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #413339;
}
.social-links a:hover {
    background-color: #ec407a;
    border-color: #ec407a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(236, 64, 122, 0.4);
}

/* Basliklar */
.site-footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #ec407a;
}

/* Liste Linkleri ve Iletisim */
.site-footer ul {
    list-style: none;
    padding: 0;
}
.site-footer ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-footer ul li i {
    color: #ec407a;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.footer-links ul li a, .footer-contact ul li a {
    color: #b0a8a3;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links ul li a:hover, .footer-contact ul li a:hover {
    color: #ec407a;
}

/* En Alt Telif Hakki Kismi */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #33272c;
    font-size: 0.85rem;
    color: #7a706b;
}
/* --- SEPET IKONU (KARTLAR IÇIN) --- */

/* Kart içerigine ekstra alt bosluk veriyoruz ki ikon yazinin üstüne binmesin */
.card-content { 
    padding: 25px; 
    position: relative; /* Ikonun karta göre hizalanmasi için bu sart */
    padding-bottom: 60px; /* Ikon için altta yer açtik */
}

.cart-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ec407a; /* Sitenin parlak pembesi */
    font-size: 1.6rem; /* Ikon boyutu */
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.cart-icon:hover {
    color: #d81b60; /* Üzerine gelince biraz koyulasir */
    transform: scale(1.15); /* Üzerine gelince hafifçe büyür */
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Mobilde her sey alt alta gelsin */
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto 20px auto;
    }
    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%); /* Mobilde çizgileri ortala */
    }
    .site-footer ul li {
        justify-content: center;
    }
}

/* =========================================================
   MOBIL EKRAN UYUMLULUGU (HAMBURGER MENÜ)
   ========================================================= */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    .logo-container img { height: 45px; }
    .logo-text { font-size: 1.2rem; }
    
    /* 3 Çizgili Butonu Telefondan Göster */
    .menu-toggle { display: block; }
    
    /* Linkleri Gizle ve Açilir Menü Haline Getir */
    nav {
        display: none; /* Baslangiçta gizli */
        position: absolute;
        top: 100%; /* Menünün hemen altina hizalar */
        left: 0;
        width: 100%;
        background-color: #241c1f;
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        border-top: 1px solid #413339;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    }
    
    /* Javascript ile "active" sinifi eklenince menü görünür */
    nav.active { display: flex; }
    
    nav a { margin: 15px 0; font-size: 1.1rem; }

    /* Diger Mobil Boyutlandirmalar */
    .hero h1 { font-size: 2.8rem !important; }
    .hero p { font-size: 1rem !important; padding: 0 10px; }
    .hero { background-size: 85% !important; }
    .hero-subtitle { font-size: 0.75rem !important; }
    .hero-subtitle .line { width: 20px !important; }
    .section-title h2 { font-size: 2.2rem; }
    .container { padding: 40px 15px; }
    .grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

}
