/* css/style.css - FİNAL: HOVER EFEKTLİ BUTON + TÜM DÜZENLEMELER */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@300;400;500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --liva-red: #F31D2F; 
    --dark: #222222;
    --gray-bg: #f2f4f6;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif; color: var(--dark); background-color: var(--gray-bg);
    line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- EN ÜST SİYAH ÇUBUK --- */
.top-bar {
    background-color: #111; padding: 15px 5%; display: flex; justify-content: center; align-items: center; 
    position: relative; z-index: 1002; border-bottom: 3px solid var(--liva-red); box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.brand-logo-text { position: absolute; left: 5%; font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.top-right-group { position: absolute; right: 5%; display: flex; align-items: center; gap: 10px; }
.catalog-btn { display: flex; align-items: center; gap: 5px; background-color: var(--liva-red); color: white; padding: 5px 12px; border-radius: 4px; font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.5px; font-weight: 500; border: 1px solid var(--liva-red); white-space: nowrap; }
.catalog-btn:hover { background-color: transparent; color: var(--liva-red); }
.wholesale-badge { position: static; background: rgba(243, 29, 47, 0.15); border: 1px solid #444; color: #ccc; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-family: 'Roboto', sans-serif; font-weight: 400; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.wholesale-badge i { color: var(--liva-red); font-size: 12px; }

/* MENÜ */
.nav-links { display: flex; gap: 40px; align-items: center; margin: 0; padding: 0; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: #cccccc; transition: 0.3s; padding: 25px 0; }
.nav-links > li > a:hover { color: #ffffff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
@media (max-width: 1100px) { .nav-links { display: none; } .brand-logo-text { position: static; margin-bottom: 10px; } .top-bar { flex-direction: column; gap: 10px; padding: 20px; } .top-right-group { position: static; flex-direction: column; } }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: none; flex-direction: column; border-top: 4px solid var(--liva-red); padding: 10px 0; z-index: 2000; border-radius: 0 0 5px 5px; margin-top: 0px; }
.nav-links > li:hover .dropdown-menu { display: flex; animation: slideUp 0.3s ease; }
.dropdown-menu li a { color: #333 !important; text-shadow: none; font-family: 'Roboto', sans-serif !important; text-transform: capitalize !important; font-weight: 400 !important; font-size: 14px !important; padding: 12px 20px !important; border-bottom: 1px solid #f5f5f5 !important; display: block; width: 100%; }
.dropdown-menu li a:hover { background: #fafafa; color: var(--liva-red) !important; padding-left: 25px !important; }

/* HERO SLIDER */
.hero-section { position: relative; height: 75vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; margin-bottom: 40px; background-color: #222; margin-top: 0; }
.slider-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; opacity: 0; animation: slideShow 10s infinite ease-in-out; }
.slider-bg::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
.slide-1 { background-image:url('../img/slide1.jpg'); animation-delay: 0s; }
.slide-2 { background-image: url('../img/slide2.jpg'); animation-delay: 3s; }
.slide-3 { background-image: url('../img/slide3.png'); animation-delay: 6s; }
@keyframes slideShow { 0% { opacity: 0; transform: scale(1); } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; transform: scale(1.1); } }
.hero-content { animation: fadeInUp 1.2s ease-out; z-index: 2; position: relative; }
.hero-section h1 { font-size: 5rem; margin-bottom: 10px; font-family: 'Oswald', sans-serif; letter-spacing: 3px; text-shadow: 2px 2px 15px rgba(0,0,0,0.8); }
.hero-section p { font-size: 1.4rem; margin-bottom: 25px; opacity: 1; max-width: 800px; text-shadow: 1px 1px 8px rgba(0,0,0,0.9); font-weight: 300; letter-spacing: 1px; }
.hero-btn { display: inline-block; padding: 15px 40px; background: #F31D2F; color: white; border-radius: 5px; font-weight: bold; font-family: 'Oswald'; letter-spacing: 1px; margin-top: 25px; box-shadow: 0 5px 15px rgba(243, 29, 47, 0.4); }
.hero-btn:hover { background: #d00e1f; transform: translateY(-3px); }

/* KARTLAR VE GENEL */
.container { display: flex; padding: 50px 5%; gap: 40px; max-width: 1400px; margin: 0 auto; flex: 1; }
.page-header { background: #e9ecef; padding: 40px 5%; border-bottom: 1px solid #ddd; text-align: center; }
.page-header h1 { font-family: 'Oswald', sans-serif; color: var(--liva-red); font-size: 2.5rem; }
.sidebar { flex: 0 0 250px; }
.sidebar-title { font-family: 'Oswald', sans-serif; font-size: 18px; margin-bottom: 20px; border-bottom: 2px solid var(--liva-red); padding-bottom: 10px; color: #333; }
.sidebar ul li a { display: block; padding: 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; font-weight: 500; margin-bottom: 5px; }
.sidebar ul li a:hover, .sidebar ul li a.active { background: var(--liva-red); color: white; border-color: var(--liva-red); }
.content-area { flex: 1; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 20px 0; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }
.product-card { background: var(--white); border: 1px solid transparent; border-radius: 12px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; height: 440px; position: relative; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.15); transform: translateY(-7px); }
.img-box { position: relative; width: 100%; height: 300px; overflow: hidden; background: #fff; border-bottom: 1px solid #f9f9f9; }
.img-box img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.img-back { position: absolute; top: 0; left: 0; opacity: 0; z-index: 2; }
.product-card:hover .img-back { opacity: 1; }
.product-card:hover img:not(.img-front):not(.img-back) { transform: scale(1.05); }
.product-info-bar, .info-box { padding: 20px 15px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; background: #fff; z-index: 5; transition: 0.3s; border-top: 3px solid transparent; }
.title, h3 { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; margin: 0 0 10px 0; color: #222; text-transform: uppercase; letter-spacing: 0.5px; }
.product-card:hover .info-box { border-top-color: var(--liva-red); }

/* ÖZELLİKLER KUTULARI (NEDEN BİZ) */
.features-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 60px 5%; background: #e9ecef; text-align: center; margin-bottom: 50px; margin-top: 0; }
.feature-box { background: white; padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.feature-box:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.feature-box i { font-size: 45px; color: var(--liva-red); margin-bottom: 20px; }
.feature-box h4 { font-family: 'Oswald', sans-serif; font-size: 1.3rem; margin-bottom: 10px; color: #222; }
.feature-box p { color: #666; font-size: 15px; }
@media (max-width: 768px) { .features-section { grid-template-columns: 1fr; } }

/* YENİ EKLENEN BUTON STİLİ (HOVER İÇİN) */
.inspect-btn {
    margin-top: 8px;
    border: 1px solid var(--liva-red);
    padding: 6px 15px;
    border-radius: 30px;
    color: var(--liva-red);
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.5px;
    transition: all 0.3s ease; /* Yumuşak geçiş */
    background: transparent;
}

.inspect-btn:hover {
    background-color: var(--liva-red); /* Arka plan kırmızı olsun */
    color: white; /* Yazı beyaz olsun */
    transform: translateY(-2px); /* Hafif yukarı kalksın */
    box-shadow: 0 4px 10px rgba(243, 29, 47, 0.3); /* Gölge ekle */
}

/* FAB & FOOTER */
.fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: center; }
.fab-toggle { width: 65px; height: 65px; background: #F31D2F; border-radius: 50%; color: white; font-size: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(243, 29, 47, 0.4); cursor: pointer; transition: 0.3s; animation: pulse 2s infinite; }
.fab-menu { position: absolute; bottom: 75px; display: flex; flex-direction: column; gap: 15px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s; }
.fab-container:hover .fab-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-container:hover .fab-toggle { transform: rotate(45deg); background: #333; animation: none; }
.fab-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 26px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s; position: relative; }
.fab-btn:hover { transform: scale(1.1); }
.btn-wp { background-color: #25D366; } .btn-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); } .btn-mail { background-color: #0078D4; }
.fab-tooltip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.8); color: white; padding: 5px 10px; border-radius: 5px; font-size: 12px; white-space: nowrap; opacity: 0; transition: 0.3s; pointer-events: none; }
.fab-btn:hover .fab-tooltip { opacity: 1; right: 65px; }
footer { background: #1a1a1a; color: #bbb; padding: 60px 0 20px; margin-top: auto; font-size: 14px; border-top: 4px solid var(--liva-red); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
.footer-brand { font-family: 'Oswald', sans-serif; font-size: 2rem; color: #fff; letter-spacing: 2px; margin-bottom: 10px; }
.footer-slogan { color: #666; font-style: italic; margin-bottom: 30px; }
.footer-info-row { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #333; width: 100%; }
.footer-item { display: flex; align-items: center; gap: 10px; color: #ddd; font-size: 15px; transition: 0.3s; }
.footer-item:hover { color: var(--liva-red); }
.footer-copyright { color: #555; font-size: 12px; }
.color-options { display: flex; justify-content: center; gap: 6px; margin-top: 5px; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #ccc; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.color-dot:hover { transform: scale(1.2); border-color: #000; }
.c-kirmizi { background: #D32F2F; } .c-siyah { background: #000000; } .c-beyaz { background: #FFFFFF; } .c-lacivert { background: #1A237E; } .c-gri { background: #757575; } .c-sari { background: #FBC02D; } .c-yesil { background: #388E3C; } .c-mavi { background: #2196F3; }
.min-order-badge { position: absolute; top: 10px; left: 10px; bottom: auto; right: auto; background-color: rgba(243, 29, 47, 0.95); color: white; padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: bold; z-index: 10; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); font-family: 'Oswald', sans-serif; letter-spacing: 0.5px; }
/* --- SİNEMATİK PRELOADER (GELİŞMİŞ) --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease-in-out; /* Daha yumuşak kapanış */
}

/* Marka İsmi Kutusu */
.preloader-brand {
    text-align: center;
    overflow: hidden; /* Taşmaları gizle */
    margin-bottom: 20px;
}

/* LİVA TEKSTİL Yazısı */
.preloader-text {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #222;
    letter-spacing: 2px;
    display: inline-block;
    animation: cinematicText 2s infinite alternate; /* Sinematik harf açılması */
}

.preloader-text span {
    color: var(--liva-red); /* "TEKSTİL" kırmızı olsun */
}

/* İlerleme Çubuğu Alanı */
.progress-container {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

/* Kırmızı Dolum Çubuğu */
.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--liva-red);
    animation: loadProgress 2s ease-in-out forwards; /* 2 saniyede dolsun */
    box-shadow: 0 0 10px rgba(243, 29, 47, 0.5); /* Hafif parama efekti */
}

/* Alttaki Küçük Yazı */
.loading-status {
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    animation: blink 1s infinite;
}

/* --- ANİMASYONLAR --- */

/* Yazının harflerinin açılıp kapanması */
@keyframes cinematicText {
    0% { letter-spacing: 2px; transform: scale(1); filter: blur(0px); }
    100% { letter-spacing: 6px; transform: scale(1.05); filter: blur(0.5px); }
}

/* Çubuğun dolması */
@keyframes loadProgress {
    0% { width: 0%; }
    40% { width: 30%; }
    70% { width: 70%; }
    100% { width: 100%; }
}

/* Yanıp sönme */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Kapanış Efekti */
.hide-preloader {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); /* Hafif yukarı kayarak kaybolur */
}
/* =========================================
   MOBİL VE TABLET DÜZENLEMELERİ (RESPONSIVE)
   Bu kodları css dosyasının en altına yapıştır
   ========================================= */

@media screen and (max-width: 991px) {
    
    /* Genel Ayarlar: Yatay taşmayı engelle */
    body, html {
        overflow-x: hidden;
    }

    .container {
        flex-direction: column; /* Yan yana olanları alt alta al */
        padding: 30px 20px;
    }

    /* --- HERO SLIDER --- */
    .hero-section {
        height: 60vh; /* Mobilde yüksekliği biraz azalt */
    }
    .hero-section h1 {
        font-size: 2.5rem; /* Başlığı küçült */
    }
    .hero-section p {
        font-size: 1rem;
        padding: 0 20px; /* Kenarlardan boşluk bırak */
    }

    /* --- ÖZELLİK KUTULARI (Hızlı Teslimat vb.) --- */
    .features-section {
        grid-template-columns: 1fr; /* 3 sütun yerine tek sütun yap */
        padding: 40px 20px;
    }

    /* --- ÜRÜN KARTLARI --- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde 2'li olsun */
        gap: 15px;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (Telefonlar) İÇİN */
@media screen and (max-width: 600px) {
    
    /* Ürünleri tekli sıraya düşür (Daha büyük gözüksün) */
    .products-grid {
        grid-template-columns: 1fr; 
    }

    /* --- HAKKIMIZDA SAYFASI --- */
    .image-frame {
        max-width: 100%;
        margin-top: 30px; /* Resim ile yazı arasına boşluk */
    }
    .image-frame::before {
        display: none; /* Mobilde taşan çerçeveyi gizle ki ekran kaymasın */
    }

    /* --- İLETİŞİM SAYFASI --- */
    /* O yatay butonları mobilde alt alta ve tam genişlik yap */
    .horizontal-bar {
        flex-direction: column;
        gap: 15px;
    }
    .contact-pill {
        width: 100%; /* Tam genişlik */
        justify-content: flex-start; /* Yazılar sola yaslansın */
    }
    
    /* Adres şeridi */
    .address-banner {
        flex-direction: column;
        text-align: center;
    }
    
    /* Navbar (Üst Menü) Düzeni */
    .top-bar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        display: none; /* Mobilde menü linklerini gizle (Hamburger menü gerekir, şimdilik kalabalık yapmasın) */
    }
    /* Logo ortada dursun */
    .brand-logo-text {
        position: static;
        text-align: center;
    }
    .top-right-group {
        position: static;
        margin-top: 10px;
    }
    
    /* Yükleme Ekranı Yazısı */
    .loader-brand {
        font-size: 2rem; /* Yükleme yazısını küçült */
    }
}/* =========================================
   MOBİL VE TABLET DÜZENLEMELERİ (RESPONSIVE)
   Bu kodları css dosyasının en altına yapıştır
   ========================================= */

@media screen and (max-width: 991px) {
    
    /* Genel Ayarlar: Yatay taşmayı engelle */
    body, html {
        overflow-x: hidden;
    }

    .container {
        flex-direction: column; /* Yan yana olanları alt alta al */
        padding: 30px 20px;
    }

    /* --- HERO SLIDER --- */
    .hero-section {
        height: 60vh; /* Mobilde yüksekliği biraz azalt */
    }
    .hero-section h1 {
        font-size: 2.5rem; /* Başlığı küçült */
    }
    .hero-section p {
        font-size: 1rem;
        padding: 0 20px; /* Kenarlardan boşluk bırak */
    }

    /* --- ÖZELLİK KUTULARI (Hızlı Teslimat vb.) --- */
    .features-section {
        grid-template-columns: 1fr; /* 3 sütun yerine tek sütun yap */
        padding: 40px 20px;
    }

    /* --- ÜRÜN KARTLARI --- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde 2'li olsun */
        gap: 15px;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (Telefonlar) İÇİN */
@media screen and (max-width: 600px) {
    
    /* Ürünleri tekli sıraya düşür (Daha büyük gözüksün) */
    .products-grid {
        grid-template-columns: 1fr; 
    }

    /* --- HAKKIMIZDA SAYFASI --- */
    .image-frame {
        max-width: 100%;
        margin-top: 30px; /* Resim ile yazı arasına boşluk */
    }
    .image-frame::before {
        display: none; /* Mobilde taşan çerçeveyi gizle ki ekran kaymasın */
    }

    /* --- İLETİŞİM SAYFASI --- */
    /* O yatay butonları mobilde alt alta ve tam genişlik yap */
    .horizontal-bar {
        flex-direction: column;
        gap: 15px;
    }
    .contact-pill {
        width: 100%; /* Tam genişlik */
        justify-content: flex-start; /* Yazılar sola yaslansın */
    }
    
    /* Adres şeridi */
    .address-banner {
        flex-direction: column;
        text-align: center;
    }
    
    /* Navbar (Üst Menü) Düzeni */
    .top-bar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        display: none; /* Mobilde menü linklerini gizle (Hamburger menü gerekir, şimdilik kalabalık yapmasın) */
    }
    /* Logo ortada dursun */
    .brand-logo-text {
        position: static;
        text-align: center;
    }
    .top-right-group {
        position: static;
        margin-top: 10px;
    }
    
    /* Yükleme Ekranı Yazısı */
    .loader-brand {
        font-size: 2rem; /* Yükleme yazısını küçült */
    }
}/* =========================================
   MOBİL VE TABLET DÜZENLEMELERİ (RESPONSIVE)
   Bu kodları css dosyasının en altına yapıştır
   ========================================= */

@media screen and (max-width: 991px) {
    
    /* Genel Ayarlar: Yatay taşmayı engelle */
    body, html {
        overflow-x: hidden;
    }

    .container {
        flex-direction: column; /* Yan yana olanları alt alta al */
        padding: 30px 20px;
    }

    /* --- HERO SLIDER --- */
    .hero-section {
        height: 60vh; /* Mobilde yüksekliği biraz azalt */
    }
    .hero-section h1 {
        font-size: 2.5rem; /* Başlığı küçült */
    }
    .hero-section p {
        font-size: 1rem;
        padding: 0 20px; /* Kenarlardan boşluk bırak */
    }

    /* --- ÖZELLİK KUTULARI (Hızlı Teslimat vb.) --- */
    .features-section {
        grid-template-columns: 1fr; /* 3 sütun yerine tek sütun yap */
        padding: 40px 20px;
    }

    /* --- ÜRÜN KARTLARI --- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde 2'li olsun */
        gap: 15px;
    }
}

/* ÇOK KÜÇÜK EKRANLAR (Telefonlar) İÇİN */
@media screen and (max-width: 600px) {
    
    /* Ürünleri tekli sıraya düşür (Daha büyük gözüksün) */
    .products-grid {
        grid-template-columns: 1fr; 
    }

    /* --- HAKKIMIZDA SAYFASI --- */
    .image-frame {
        max-width: 100%;
        margin-top: 30px; /* Resim ile yazı arasına boşluk */
    }
    .image-frame::before {
        display: none; /* Mobilde taşan çerçeveyi gizle ki ekran kaymasın */
    }

    /* --- İLETİŞİM SAYFASI --- */
    /* O yatay butonları mobilde alt alta ve tam genişlik yap */
    .horizontal-bar {
        flex-direction: column;
        gap: 15px;
    }
    .contact-pill {
        width: 100%; /* Tam genişlik */
        justify-content: flex-start; /* Yazılar sola yaslansın */
    }
    
    /* Adres şeridi */
    .address-banner {
        flex-direction: column;
        text-align: center;
    }
    
    /* Navbar (Üst Menü) Düzeni */
    .top-bar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        display: none; /* Mobilde menü linklerini gizle (Hamburger menü gerekir, şimdilik kalabalık yapmasın) */
    }
    /* Logo ortada dursun */
    .brand-logo-text {
        position: static;
        text-align: center;
    }
    .top-right-group {
        position: static;
        margin-top: 10px;
    }
    
    /* Yükleme Ekranı Yazısı */
    .loader-brand {
        font-size: 2rem; /* Yükleme yazısını küçült */
    }
}/* --- MOBİL MENÜ (HAMBURGER MENÜ) STİLLERİ --- */

/* Masaüstünde Hamburger İkonunu Gizle */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white; /* İkon rengi */
}

/* 991px ve altı (Tablet ve Telefon) */
@media screen and (max-width: 991px) {
    
    /* İkonu Göster */
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px; /* Konumu ayarla */
    }

    /* Menü Linklerini Normalde Gizle ve Şekillendir */
    .nav-links {
        display: none; /* Başlangıçta gizli */
        position: absolute;
        top: 100%; /* Siyah barın hemen altı */
        left: 0;
        width: 100%;
        background-color: #222; /* Menü arka planı */
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        z-index: 1000;
        border-top: 1px solid #333;
    }

    /* Menü Açıkken (Javascript bu sınıfı ekleyecek) */
    .nav-links.active {
        display: flex; /* Görünür yap */
        animation: slideDown 0.3s ease;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        width: 100%;
        font-size: 18px; /* Mobilde yazılar büyük olsun */
    }

    /* Mobilde Dropdown (Ürünler) Menüsü */
    .dropdown-menu {
        position: static; /* Mobilde aşağıya iteklesin, üstüne binmesin */
        width: 100%;
        background: #333;
        box-shadow: none;
        border: none;
        display: none; /* Tıklayınca açılsın istersen JS gerekir ama şimdilik hover kalsın */
        transform: none;
        padding-left: 0;
    }
    
    /* Mobilde ürünlerin üstüne gelince altı açılsın */
    .nav-links li:hover .dropdown-menu {
        display: block;
    }
}

/* Menü Açılma Animasyonu */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- MOBİL DROPDOWN (ÜRÜNLER) DÜZELTMESİ --- */

@media screen and (max-width: 991px) {
    
    /* Dropdown Kutusunu Düzenle */
    .dropdown-menu {
        position: static !important; /* Havada asılı kalmasın, direkt altına insin */
        width: 100% !important;      /* Tam genişlik olsun */
        background-color: #222 !important; /* Menü ile aynı koyu renk */
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        transform: none !important;
        display: none; /* Tıklayınca JS açacak */
    }

    /* Dropdown İçindeki Linkler (Yazı Rengi Sorunu Çözümü) */
    .dropdown-menu li a {
        color: #ddd !important; /* Yazılar ARTIK AÇIK GRİ/BEYAZ */
        background-color: transparent !important; /* Arka plan şeffaf */
        border-bottom: 1px solid #333 !important; /* Aralarına ince çizgi */
        font-size: 16px !important; /* Mobilde okunur boyutta */
        padding: 15px 0 !important; /* Tıklaması kolay olsun */
    }

    /* Dropdown Linkine Tıklayınca/Üzerine Gelince */
    .dropdown-menu li a:hover {
        background-color: #333 !important; /* Hafif ton farkı */
        color: #F31D2F !important; /* Kırmızı olsun */
        padding-left: 0 !important; /* Masaüstündeki kayma efektini iptal et */
    }

    /* ÜRÜNLER'e tıklayınca menüyü açmak için JS desteği gerekecek */
    /* Şimdilik hover ile açılması için: */
    .nav-links li:hover .dropdown-menu {
        display: block;
        animation: none; /* Kayma animasyonunu iptal et, direkt açılsın */
    }
}
/* --- MOBİL ÜRÜNLER MENÜSÜ DÜZELTMESİ (AŞAĞI AÇILIR) --- */

@media screen and (max-width: 991px) {
    
    /* Dropdown Linki (Tıklanacak "ÜRÜNLER" yazısı) */
    .dropdown > a {
        color: #fff !important;
        border-bottom: 1px solid #444;
        width: 100%;
        display: flex;
        justify-content: space-between; /* Ok işaretini sağa it */
        align-items: center;
    }

    /* Dropdown Kutusu (Açılacak Menü) */
    .dropdown-menu {
        position: static !important; /* Havada asılı kalmasın, akışa girsin */
        width: 100% !important;
        background-color: #2a2a2a !important; /* Ana menüden bir tık açık renk */
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        transform: none !important;
        
        /* Başlangıçta Gizli (JS açacak) */
        display: none; 
        overflow: hidden; /* Taşmaları gizle */
        transition: max-height 0.3s ease-out; /* Yumuşak açılış efekti için */
    }

    /* Dropdown İçindeki Linkler */
    .dropdown-menu li a {
        color: #ccc !important; /* Yazı rengi: Açık Gri */
        padding: 12px 0 12px 30px !important; /* Soldan girintili olsun ki alt menü olduğu belli olsun */
        font-size: 15px !important;
        border-bottom: 1px solid #333 !important;
        text-align: left; /* Sola yasla */
    }

    /* Üzerine gelince/Tıklayınca */
    .dropdown-menu li a:hover {
        background-color: #333 !important;
        color: #F31D2F !important; /* Kırmızı */
        padding-left: 35px !important; /* Hafif kayma efekti */
    }
}
/* =======================================================
   MOBİL MENÜ TAMİR KODU (AKORDEON SİSTEMİ)
   Bu kodları css dosyasının EN ALTINA yapıştırın.
   ======================================================= */

@media screen and (max-width: 991px) {
    
    /* 1. MENÜ KUTUSU (SİYAH ALAN) */
    .nav-links {
        width: 100%;
        background-color: #1a1a1a; /* Koyu gri zemin */
        padding: 0;
        overflow-y: auto; /* İçerik uzarsa kaydırma çubuğu çıksın */
        max-height: 80vh; /* Ekranı taşırmasın */
    }

    /* Linklerin Genel Ayarı */
    .nav-links li {
        width: 100%;
        margin: 0;
        display: block; /* Alt alta dizil */
        border-bottom: 1px solid #333; /* Çizgi çek */
    }

    .nav-links li a {
        display: flex; /* Ok işaretini hizalamak için */
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px; /* Geniş tıklama alanı */
        font-size: 16px;
        color: #fff;
        text-align: left;
    }

    /* 2. DROPDOWN KUTUSU (AÇILIR MENÜ) */
    .dropdown-menu {
        /* EN ÖNEMLİ KISIM BURASI: */
        position: static !important; /* Havada kalma, YERE BAS! */
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        transform: none !important;
        
        /* Renk ve Gizleme */
        background-color: #111 !important; /* Daha koyu zemin */
        display: none; /* JS ile açılacak */
        padding: 0;
    }

    /* Dropdown İçindeki Linkler */
    .dropdown-menu li a {
        padding: 15px 15px 15px 40px !important; /* Soldan girintili (Merdiven etkisi) */
        font-size: 15px !important;
        color: #bbb !important; /* Hafif gri yazı */
        border-bottom: 1px solid #222 !important;
        background: transparent !important;
    }

    /* Tıklayınca Rengi Değişsin */
    .dropdown-menu li a:hover {
        background-color: #222 !important;
        color: #F31D2F !important;
    }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(243, 29, 47, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(243, 29, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 29, 47, 0); } }