/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Navigasyon */
.navbar {
    display: flex;
    justify-content: content; /* Mevcut düzeniniz */
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    background: #0d2c54; /* 21. Satır Güncellendi */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 3px solid #d4af37; /* Altına şık bir gold çizgi ekledik */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff; /* 31. Satır Güncellendi */
}

.logo span {
    color: #d4af37; /* 35. Satır Güncellendi */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff; /* 45. Satır Güncellendi */
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #2d5a27;
}

/* Hero Bölümü */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #8bc34a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn:hover {
    background: #2d5a27;
}

/* Kategoriler */
.categories {
    padding: 4rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #2d5a27;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #8bc34a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.category-card i {
    font-size: 3rem;
    color: #8bc34a;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #2d5a27;
    color: #fff;
    padding: 3rem 10% 1rem;
    text-align: center;
}

.footer-content h3 {
    margin-bottom: 1rem;
}

.socials {
    margin: 1.5rem 0;
}

.socials a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
}

.bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Basitlik için mobilde menüyü gizledik */
    }
}
/* Yükleme Ekranı Alanı */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; /* Arka plan rengi beyaz */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Her şeyin en üstünde görünmesi için */
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

/* Şirket Logosunun Tasarımı */
.loader-logo {
    width: 120px; /* Logonun boyutu */
    height: auto;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite ease-in-out; /* Logoya hafif büyüme/küçülme efekti */
}

/* Dönen Çember Animasyonu */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2d5a27; /* Dükkanın ana yeşil tonu */
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

.loader-content p {
    color: #2d5a27;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Animasyon Tanımlamaları */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}
/* Yükleme Ekranı Alanı - Logodaki Lacivert Tonu */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0d2c54; /* Logodaki asil koyu lacivert */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

/* Şirket Logosunun Tasarımı ve Boyutu */
.loader-logo {
    width: 450px; /* Fotoğrafı buradan büyüttüm! Eğer yine küçük gelirse 400px veya 450px yapabilirsin */
    height: auto;
    margin-bottom: 25px;
    border-radius: 12px; /* Kare fotoğrafın köşelerini hafifçe yumuşatır */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Arkasına şık bir gölge verir */
    animation: goldShine 2s infinite ease-in-out; /* Parlama ve büyüme efekti */
}

/* Dönen Çember Animasyonu - Altın Sarısı */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2); 
    border-top: 4px solid #d4af37; /* Parlak Altın Sarısı */
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-content p {
    color: #d4af37; /* Yazı rengi altın sarısı */
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Animasyonlar */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes goldShine {
    0% { transform: scale(0.98); opacity: 0.9; filter: brightness(0.9); }
    50% { transform: scale(1.02); opacity: 1; filter: brightness(1.1); }
    100% { transform: scale(0.98); opacity: 0.9; filter: brightness(0.9); }
}
/* --- SİTE GENELİ RENK GÜNCELLEMELERİ --- */

/* Ana Sayfa Başlıkları */
.section-title {
    color: #0d2c54 !important; /* Başlıklar asil lacivert */
}

/* Kategori Kartlarının İçindeki İkonlar ve Başlıklar */
.category-card i {
    color: #d4af37 !important; /* Kartların içindeki tüm ikonlar altın sarısı */
}

.category-card h3 {
    color: #0d2c54 !important; /* Kart başlıkları lacivert */
}

/* Üzerine Gelince Kartın Hafifçe Parlaması */
.category-card:hover {
    border-color: #d4af37 !important; /* Kenarlık rengi altına döner */
    box-shadow: 0 10px 20px rgba(13, 44, 84, 0.15) !important; /* Lacivert tonlu gölge */
}

/* Ana Butonların (Ürünleri İncele, İletişim vb.) Formatı */
.btn {
    background-color: #d4af37 !important; /* Buton arka planı altın sarısı */
    color: #0d2c54 !important; /* Yazı rengi lacivert (okunurluk için) */
    border: 2px solid #d4af37 !important;
    font-weight: 600 !important;
    border-radius: 5px;
    transition: all 0.3s ease !important;
}

/* Butonların Üzerine Gelince (Hover) Oluşacak Efekt */
.btn:hover {
    background-color: #0d2c54 !important; /* Arka plan lacivert olur */
    color: #d4af37 !important; /* Yazı rengi altın sarısı olur */
    border: 2px solid #d4af37 !important;
}

/* Sitenin En Altındaki Footer (İletişim) Alanı */
footer {
    background-color: #0d2c54 !important; /* Alt kısım da navbar gibi lacivert */
    color: #ffffff !important;
    border-top: 4px solid #d4af37; /* Üstüne şık bir altın çizgi */
}

/* Footer İçindeki Sosyal Medya İkonları */
.socials a {
    color: #ffffff !important;
    background-color: rgba(212, 175, 55, 0.2) !important; /* Hafif şeffaf altın arka plan */
    transition: all 0.3s ease;
}

.socials a:hover {
    background-color: #d4af37 !important; /* Üzerine gelince tam altın sarısı */
    color: #0d2c54 !important; /* İkon rengi lacivert */
}

/* Telif Hakkı (Copyright) Çubuğu */
.bottom-bar {
    background-color: #0a2240 !important; /* Biraz daha koyu bir lacivert */
    color: rgba(255, 255, 255, 0.7) !important;
}
/* --- SABİT WHATSAPP CANLI DESTEK BALONCUĞU --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px; /* Sağ altta durması için */
    background-color: #25d366; /* Orijinal WhatsApp Yeşili */
    color: #ffffff !important; /* İkon rengi beyaz */
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Her şeyin (harita dahil) üstünde görünmesi için */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    animation: floatAnim 3s ease-in-out infinite; /* Sürekli yukarı-aşağı sallanma efekti */
    transition: all 0.3s ease;
}

/* Fareyle üzerine gelindiğinde (Hover) hafif büyüme efekti */
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a; /* Biraz daha koyu yeşil */
}

/* Baloncuğun pofuduk bir şekilde yukarı aşağı oynamasını sağlayan animasyon */
@keyframes floatAnim {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px); /* 10 piksel yukarı kalkar */
    }
    100% {
        transform: translateY(0px);
    }
}

/* Mobil cihazlar (telefonlar) için ekranı çok kapatmasın diye küçültme ayarı */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* --- MOBİL UYUMLULUK (RESPONSIVE NAVBAR) --- */

/* Normal bilgisayarlarda üç çizgi butonunu gizle */
.menu-toggle {
    display: none;
    color: #d4af37; /* Logomuzun altın sarısı */
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ekran genişliği 768px ve daha küçükse (Mobil ve Tablet) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; /* Üç çizgiyi görünür yap */
    }

    .nav-links {
        display: none; /* Normal yan yana duran menüyü gizle */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Navbar yüksekliğine göre ayarlı */
        left: 0;
        width: 100%;
        background-color: #0d2c54; /* Logomuzun laciverti */
        border-bottom: 2px solid #d4af37;
        padding: 20px 0;
        text-align: center;
        z-index: 999;
    }

    .nav-links li {
        margin: 15px 0; /* Linklerin arasına boşluk */
    }

    .nav-links li a {
        margin-left: 0 !important; /* Masaüstünden kalan sol boşluğu sıfırla */
        display: block;
        font-size: 1.1rem;
    }

    /* Üç çizgiye tıklanınca JavaScript'in devreye sokacağı sınıf */
    .nav-links.active {
        display: flex; /* Gizlenen menüyü alta doğru görünür yapar */
    }
}