/* =========================================
   1. GENEL AYARLAR & MİNİMALİZM
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #fbfbfd; 
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-color: #c4381c; /* Kiremit/Tarçın Vurgu */
    --accent-light: #fdfaf9; 
    --nav-pink: rgba(255, 246, 237, 0.85); /* #FFF6ED krem renginin şeffaf cam efekti */
    --footer-pink: #FFF6ED; /* Footer krem tonu */
    --border-color: rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; 
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. NAVİGASYON (MENÜ) - CAM EFEKTİ
========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: var(--nav-pink); 
    backdrop-filter: saturate(180%) blur(20px); 
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    max-height: 200px !important; 
    width: 100px !important;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- AÇILIR (DROPDOWN) KOLEKSİYON MENÜSÜ --- */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Görünmez Köprü */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 35px;
    display: none;
}

.dropdown:hover::after {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 25px); 
    left: 50%;
    transform: translateX(-50%); 
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 10px 40px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--footer-pink);
    color: var(--accent-color);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* =========================================
   3. BUTONLAR & ANİMASYONLAR
========================================= */
.btn {
    display: inline-block;
    background-color: var(--text-main);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.2s ease, box-shadow 0.4s ease;
}

.btn:hover {
    background-color: #424245; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn:active {
    transform: scale(0.97); 
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: #fff;
}

/* =========================================
   4. ANA SAYFA: HERO (KARŞILAMA) 
========================================= */
.hero-section {
    padding: 220px 5% 140px; 
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative; 
    overflow: hidden;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #ffffff; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9); 
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* =========================================
   5. DİĞER SEKSİYONLAR 
========================================= */
.about-preview, .about-detailed, .faq-section, .contact-section {
    padding: 100px 5%; 
    max-width: 1200px; 
    margin: 0 auto;
}

.about-container { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
}

.about-image { 
    flex: 1; 
}

.about-image img { 
    width: 100%; 
    border-radius: var(--radius-lg); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    object-fit: cover; 
}

.about-text { 
    flex: 1; 
}

.about-text h2 { 
    font-size: 32px; 
    margin-bottom: 20px; 
    letter-spacing: -0.5px; 
}

.about-text p { 
    font-size: 16px; 
    color: var(--text-muted); 
    margin-bottom: 20px; 
}

.products-section { 
    padding: 140px 5% 100px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 40px; 
}

.product-card { 
    text-decoration: none; 
    color: var(--text-main); 
    display: block; 
    border-radius: var(--radius-md); 
    transition: transform 0.4s ease, box-shadow 0.4s ease; 
}

.product-card:hover { 
    transform: translateY(-8px); 
}

.product-card img { 
    width: 100%; 
    height: 320px; 
    object-fit: cover; 
    border-radius: var(--radius-md); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
}

.card-info { 
    padding: 15px 5px; 
    text-align: center; 
}

.card-info h3 { 
    font-size: 16px; 
    font-weight: 500; 
}

.product-price { 
    font-size: 15px; 
    color: var(--text-muted); 
    margin-top: 5px; 
}

/* =========================================
   6. KAYAN SLIDER (MARQUEE)
========================================= */
.scrolling-cards-section { 
    padding: 80px 0; 
    background-color: #fff; 
    overflow: hidden; 
}

.marquee-container { 
    display: flex; 
    width: 100%; 
    overflow: hidden; 
}

.marquee-content { 
    display: flex; 
    gap: 30px; 
    padding-left: 30px; 
    animation: scroll 25s linear infinite; 
}

.marquee-container:hover .marquee-content { 
    animation-play-state: paused; 
}

.scroll-card { 
    flex: 0 0 250px; 
    border-radius: var(--radius-md); 
    overflow: hidden; 
    position: relative; 
}

.scroll-card img { 
    width: 100%; 
    height: 300px; 
    object-fit: cover; 
    border-radius: var(--radius-md); 
    transition: transform 0.4s ease; 
}

.scroll-card:hover img { 
    transform: scale(1.05); 
}

.scroll-card p { 
    position: absolute; 
    bottom: 15px; 
    left: 15px; 
    background: rgba(255,255,255,0.9); 
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 14px; 
    font-weight: 500; 
}

@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* =========================================
   7. SSS VE DİĞER DETAYLAR
========================================= */
details { 
    background: #fff; 
    padding: 20px; 
    border-radius: var(--radius-sm); 
    margin-bottom: 15px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); 
    border: 1px solid var(--border-color); 
}

summary { 
    font-weight: 500; 
    cursor: pointer; 
    list-style: none; 
    outline: none; 
}

summary::-webkit-details-marker { 
    display: none; 
}

details p { 
    margin-top: 15px; 
    color: var(--text-muted); 
    font-size: 15px; 
}

/* =========================================
   8. ALT BİLGİ (FOOTER)
========================================= */
footer {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--footer-pink); 
    border-top: 1px solid var(--border-color);
}

.footer-content h2 { 
    font-size: 24px; 
    letter-spacing: -0.5px; 
    margin-bottom: 5px; 
}

/* =========================================
   9. BİLGİSAYAR BOŞLUK (PADDING/MARGIN)
========================================= */
#vitrin-1-kapsayici { 
    margin-top: 100px; 
}

.page-header { 
    padding-top: 140px; 
    padding-bottom: 40px; 
}

/* =========================================
   📱 10. KUSURSUZ MOBİL UYUM (BURGER MENÜ)
========================================= */

/* Bilgisayar Ekranında Burger Menüyü Gizle */
.mobile-nav-wrapper { 
    display: none; 
}

@media (max-width: 768px) {
    /* Eski yatay menüyü tamamen gizle */
    .nav-links { 
        display: none !important; 
    }
    
    /* Ana Menü Barını Toparla */
    nav { 
        padding: 18px 5%; 
        flex-direction: row !important; 
        justify-content: space-between !important; 
    }

    /* Burger Menü İkonu ve Kutusu */
    .mobile-nav-wrapper { 
        display: block; 
    }

    .mobile-menu-checkbox { 
        display: none; 
    }

    .mobile-menu-button { 
        display: block; 
        background: transparent; 
        border: none; 
        color: var(--text-main); 
        font-size: 32px; 
        cursor: pointer; 
        padding: 0;
        line-height: 1;
    }

    /* Sağdan Kayarak Açılan Beyaz Panel */
    .mobile-side-menu { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        height: 100vh; 
        width: 280px; 
        max-width: 85%; 
        background: #fff; 
        box-shadow: -8px 0 30px rgba(0,0,0,0.12); 
        padding: 80px 20px 20px; 
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        z-index: 1100; 
        display: flex; 
        flex-direction: column; 
        gap: 12px; 
    }
    
    /* Panel İçindeki Linklerin Şık Tasarımı */
    .mobile-side-menu a { 
        display: block; 
        padding: 16px; 
        color: var(--text-main); 
        text-decoration: none; 
        font-weight: 600; 
        font-size: 16px;
        border-radius: 12px; 
        border: 1px solid rgba(0,0,0,0.05); 
        transition: background 0.2s ease; 
    }

    .mobile-side-menu a:hover { 
        background: var(--footer-pink); 
        color: var(--accent-color); 
    }
    
    /* Çarpı (Kapatma) İkonu */
    .mobile-menu-close { 
        position: absolute; 
        top: 20px; 
        right: 20px; 
        font-size: 40px; 
        color: var(--text-main); 
        cursor: pointer; 
        line-height: 1; 
    }
    
    /* Arka Planı Karartan Cam Efekti */
    .mobile-menu-overlay { 
        position: fixed; 
        inset: 0; 
        background: rgba(0,0,0,0.4); 
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0; 
        visibility: hidden; 
        transition: opacity 0.3s ease, visibility 0.3s ease; 
        z-index: 1090; 
    }
    
    /* ⚡ Tıklanınca Menüyü Kayan CSS Kodları */
    .mobile-menu-checkbox:checked ~ .mobile-side-menu { 
        right: 0; 
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-overlay { 
        opacity: 1; 
        visibility: visible; 
    }

    /* Mobilde Sıkışan Boşlukları Düzeltme (Nefes Payları) */
    #vitrin-1-kapsayici { 
        margin-top: 80px !important; 
    }
    
    .page-header { 
        padding-top: 140px !important; 
    }
    
    .hero-content h1 { 
        font-size: 32px !important; 
    }
    
    .hero-content p { 
        font-size: 16px !important; 
    }
    
    .hero-section { 
        height: 60vh !important; 
        padding-top: 160px !important; 
    }
    
    .about-container, .contact-grid { 
        flex-direction: column !important; 
        text-align: center; 
        gap: 30px !important; 
    }
    
    header, section { 
        padding: 40px 15px !important; 
    }
    
    .urun-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    .scroll-card { 
        min-width: 200px; 
    }
}