/* MODERN PIZZA VALUE TEMA */
:root { 
    --red: #ff6b6b; 
    --dark: #121212; 
    --card: #1e1e24; 
    --gold: #ffa502; 
    --pistachio: #7bed9f; /* Fıstık Yeşili eklendi */
}

body { font-family: 'Poppins', sans-serif; margin: 0; background: var(--dark); color: #fff; scroll-behavior: smooth; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* HEADER & NAV */
header { background: #000; padding: 20px 0; border-bottom: 3px solid var(--red); }
.header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo img { max-width: 180px; height: auto; }
.info { text-align: right; border-left: 3px solid var(--red); padding-left: 15px; }
.info a { color: var(--gold); text-decoration: none; font-weight: bold; font-size: 1.1rem; display: block; }

nav { background: #1e1e24; position: sticky; top: 0; z-index: 1000; transition: 0.4s; }
.nav-flex { display: flex; list-style: none; margin: 0; padding: 0; justify-content: center; }
.nav-item a { color: white; text-decoration: none; padding: 18px 20px; display: block; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; }
.dropdown-content { display: none; position: absolute; background: #1e1e24; min-width: 160px; box-shadow: 0 8px 16px rgba(0,0,0,0.5); }
.nav-item:hover .dropdown-content { display: block; }
.dip-not-btn { background: var(--red) !important; border-radius: 5px; }

/* SLIDER */
.slider-wrapper { width: 100%; height: 400px; margin: 20px 0; overflow: hidden; border-radius: 15px; position: relative; }
.slides { display: flex; width: 600%; height: 100%; animation: slide-animation 20s infinite ease-in-out; will-change: transform; }
.slide { width: 16.66%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* GRID (4 YAN 2 ALT) */
.section-title { text-align: center; margin: 40px 0 20px; color: var(--red); font-size: 1.8rem; border-bottom: 2px solid var(--red); padding-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.card { position: relative; height: 240px; border-radius: 12px; overflow: hidden; background: #222; border: 1px solid #333; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.card-label { position: absolute; inset: 0; background: rgba(255,107,107,0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; font-weight: bold; text-align: center; padding: 10px; }
.card:hover .card-label { opacity: 1; }
.card:hover img { transform: scale(1.1); }

/* WHATSAPP & FOOTER */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 2000; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.4); transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }
footer { text-align: center; padding: 30px; background: #000; color: #666; border-top: 1px solid #333; margin-top: 50px; }

/* YAN MENÜ AYARLARI */
.sub-dropdown { position: relative; display: block; }
.sub-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #1e1e24;
    min-width: 200px;
    box-shadow: 10px 0px 20px rgba(0,0,0,0.6);
    border-left: 2px solid var(--red);
    z-index: 1001;
}

.sub-dropdown:hover .sub-dropdown-content { display: block; animation: slideInRight 0.3s ease-out; }

.arrow-right { float: right; font-size: 0.7rem; margin-left: 10px; line-height: 1.5; }

.sub-dropdown-content a { padding: 12px 20px; font-size: 0.85rem; color: #ddd; text-transform: none; border-bottom: 1px solid #2a2a2a; transition: 0.2s; }

/* Fıstık yeşili etkileşimleri */
.sub-dropdown-content a:hover {
    background-color: rgba(123, 237, 159, 0.1); /* Fıstık yeşili şeffaf arka plan */
    color: var(--pistachio); /* Yazı rengi fıstık yeşili */
    padding-left: 25px;
}

/* "Tümünü görün" yazısı için özel fıstık yeşili sınıfı */
.view-all {
    color: var(--pistachio) !important;
    font-weight: 800 !important;
}

@keyframes slide-animation { 0%, 14% { transform: translateX(0); } 16%, 30% { transform: translateX(-16.66%); } 32%, 46% { transform: translateX(-33.32%); } 48%, 62% { transform: translateX(-49.98%); } 64%, 78% { transform: translateX(-66.64%); } 80%, 94% { transform: translateX(-83.3%); } 96%, 100% { transform: translateX(0); } }

@keyframes slideInRight { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 768px) { 
    .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } 
    .slider-wrapper { height: 220px; } 
    .header-flex { flex-direction: column; text-align: center; gap: 15px; } 
    .info { border: none; padding: 0; } 
    .sub-dropdown-content { position: static; width: 100%; box-shadow: none; border-left: 1px solid #444; background: #25252b; }
    .arrow-right { transform: rotate(90deg); }
}

/* Her iki yan menüdeki "Tümünü görün" yazılarını yeşil yapar */
.view-all {
    color: var(--pistachio) !important;
    font-weight: 800 !important;
    border-top: 1px solid #333;
    margin-top: 5px;
}

/* Yan menü linklerine gelince yeşil vurgu */
.sub-dropdown-content a:hover {
    color: var(--pistachio) !important;
    background-color: rgba(123, 237, 159, 0.05);
    padding-left: 25px;
}


/* LOGO ANİMASYONU */
.logo img {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease; /* Fareyle gelince büyüme hızı */
    position: relative;
    overflow: hidden;
    animation: pulseLogo 3s infinite ease-in-out; /* Nefes alma efekti */
}

/* Fareyle üzerine gelince büyüme */
.logo img:hover {
    transform: scale(1.08);
    cursor: pointer;
}

/* Nefes alma (Hafif büyüme/küçülme) animasyonu */
@keyframes pulseLogo {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Parlama Efekti İçin Logo Kapsayıcısı */
.logo {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.logo::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    animation: shineLogo 4s infinite; /* 4 saniyede bir parlasın */
}

/* Parlama (Soldan sağa ışık süzülmesi) animasyonu */
@keyframes shineLogo {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}




/* KARTIN GENEL YAPISI */
.card { 
    position: relative; 
    height: 240px; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #222; 
    border: 1px solid #333;
    cursor: pointer;
    text-decoration: none; /* Link alt çizgisini kaldırır */
    display: block;
}

/* BÜYÜTEÇ İKONU (Sağ Üst Köşe) */
.card::before {
    content: "🔍"; /* FontAwesome kullanmıyorsan emoji en hızlısı */
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 107, 107, 0.9); /* Kırmızı zemin */
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* RESİM ZOOM EFEKTİ */
.card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* HOVER DURUMU (Üzerine Gelince) */
.card:hover img { 
    transform: scale(1.15); /* Resim büyür */
}

.card:hover::before {
    background: var(--pistachio); /* Büyüteç fıstık yeşili olur */
    transform: rotate(15deg) scale(1.1); /* Hafif döner ve büyür */
    color: #000;
}

/* Yazı Etiketi (Hover'da beliren kırmızı alan) */
.card-label { 
    position: absolute; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.4); /* Hafif karartma */
    color: white; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: 0.4s; 
    font-weight: bold;
    z-index: 5;
}

.card:hover .card-label { 
    opacity: 1; 
}

/* CANLI DURUM GÖSTERGESİ */
.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #333;
}
.status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.open-dot { background-color: var(--pistachio); box-shadow: 0 0 8px var(--pistachio); }
.closed-dot { background-color: #ff4757; box-shadow: 0 0 8px #ff4757; }

/* SOSYAL MEDYA İKONLARI */
.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-item {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: 0.3s;
}
.social-item:hover {
    color: var(--pistachio);
    transform: translateY(-3px);
}
.contact-box {
    background: #000000;
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid #333;
    width: 100%; /* Sayfa genişliğine yayılması için */
    box-sizing: border-box; /* Padding'in genişliği bozmamasını sağlar */
    display: flex;
    flex-direction: column; /* İçerikleri alt alta dizer */
    align-items: center;    /* Yatayda tam ortalar */
    justify-content: center; /* Dikeyde tam ortalar */
    text-align: center;      /* Yazıları ortalar */
    margin: 40px 0;
}

.status-badge {
    margin-bottom: 25px; /* Altındaki yazılarla mesafe bırakır */
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.5);
    padding: 8px 20px;
    border-radius: 25px;
}

.contact-details p {
    font-size: 1.1rem;
    margin: 12px 0;
    line-height: 1.6;
    color: #eee;
}





/* Hakkımızda */


        /* Bu sayfaya özel ek tasarımlar */
        .pizza-list-item {
            display: flex;
            align-items: center;
            background: #1e1e24;
            margin-bottom: 40px;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid #333;
            transition: 0.3s;
            padding: 20px;
            gap: 30px;
        }
        
        .pizza-list-item:hover { border-color: var(--red); transform: translateY(-5px); }

        .pizza-img-box {
            flex: 0 0 300px; /* Sabit genişlik */
            height: 300px;
            overflow: hidden;
            border-radius: 15px;
        }

        .pizza-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.6s ease;
        }

        .pizza-list-item:hover .pizza-img-box img { transform: scale(1.1); }

        .pizza-content { flex: 1; }

        .pizza-content h2 { color: var(--red); margin-top: 0; font-size: 2rem; }

        .ingredients {
            color: #ccc;
            line-height: 1.6;
            margin: 15px 0;
            font-size: 1.1rem;
            background: rgba(0,0,0,0.2);
            padding: 15px;
            border-left: 3px solid var(--pistachio); /* Fıstık Yeşili Detay */
        }

        .order-btn {
            display: inline-block;
            background: var(--pistachio);
            color: #000;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: 0.3s;
        }

        .order-btn:hover { background: #2ed573; transform: scale(1.05); }

        @media (max-width: 768px) {
            .pizza-list-item { flex-direction: column; text-align: center; }
            .pizza-img-box { flex: 0 0 250px; width: 100%; height: 250px; }
            .ingredients { border-left: none; border-top: 3px solid var(--pistachio); }
        }


         /* İletişim Sayfasına Özel Eklemeler */


        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }

        .info-card {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-top: 5px solid #e74c3c;
        }

        .info-card h3 {
            color: #e74c3c;
            margin-top: 0;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }

        .info-card p {
            line-height: 1.8;
            color: #444;
            font-size: 16px;
        }

        /* Butonlar */
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .btn-call {
            background-color: #3498db;
            color: white;
            padding: 12px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            flex: 1;
            text-align: center;
        }

        .btn-whatsapp {
            background-color: #25d366;
            color: white;
            padding: 12px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            flex: 1;
            text-align: center;
        }

        /* Harita */
        .map-container {
            width: 100%;
            height: 400px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        @media (max-width: 768px) {
            .contact-grid { grid-template-columns: 1fr; }
            .action-buttons { flex-direction: column; }
        }