/* ==========================================================================
   YAMAN MOBİLYA - V4.0 MASTER PREMİUM STYLE (Her Şey Dahil & Optimize)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RENK PALETİ VE CSS DEĞİŞKENLERİ
   -------------------------------------------------------------------------- */
:root {
    --gold: #c5a059;          /* Lüks Altın Rengi */
    --gold-dark: #a38242;     /* Hover (Üzerine Gelme) Koyu Altın */
    --dark-bg: #111111;       /* Antrasit Siyah (Mat) */
    --light-bg: #f8f9fa;      /* Yumuşak Beyaz */
    --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. TEMEL AYARLAR VE PERFORMANS TİPOGRAFİSİ
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
    /* Sistem yerel fontları: En hızlı yüklenen, pürüzsüz görünen yapı */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--light-bg);
}

/* Pratik Sınıflar (Utility Classes) */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.border-gold { border-color: var(--gold) !important; }

.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }
.text-sm { font-size: 0.85rem; }
.text-md { font-size: 1.05rem; }

/* Geniş Boşluklar (Mimari Ferahlık Hissi İçin) */
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }

/* Yumuşak Geçiş ve Gölgeler */
.transition-all { transition: var(--transition-fast); }
.transition-transform { transition: var(--transition-slow); }
.text-shadow-sm { text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.text-shadow-lg { text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.drop-shadow { filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }

/* Genel Hover Efektleri */
.hover-white:hover { color: #ffffff !important; }
.hover-gold:hover { color: var(--gold) !important; padding-left: 5px; }
.hover-gold-bg:hover { background-color: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; }

/* Kartları Zarifçe Yukarı Kaldıran Klasik Premium Efekt */
.hover-lift { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; }
.hover-lift:hover { 
    transform: translateY(-7px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; 
}

/* Çizgi İndikatör (Başlıkların yanındaki küçük altın çizgi) */
.line-indicator {
    display: inline-block;
    width: 30px;
    height: 2px;
}

/* --------------------------------------------------------------------------
   3. LÜKS BUTON TASARIMLARI
   -------------------------------------------------------------------------- */
.btn-gold {
    background-color: var(--gold);
    color: #ffffff;
    border: 1px solid var(--gold);
    transition: var(--transition-fast);
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    transition: var(--transition-fast);
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.header-action-btn:hover {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   4. STICKY NAVBAR (Buzlu Cam Efekti)
   -------------------------------------------------------------------------- */
.premium-nav {
    transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    will-change: padding, background-color; /* Performans ipucu */
}
.premium-nav.scrolled {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px); /* İos tarzı cam efekti */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}
.premium-nav .nav-link {
    transition: var(--transition-fast);
    position: relative;
}
.premium-nav .nav-link:hover, 
.premium-nav .nav-link.active {
    color: var(--gold) !important;
}
/* Linklerin Altından Çıkan Şık Çizgi Animasyonu */
.premium-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition-fast);
}
.premium-nav .nav-link:hover::after,
.premium-nav .nav-link.active::after {
    width: 100%;
}

/* Mobil Off-Canvas Menü */
#mobileMenu .nav-link {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}
#mobileMenu .nav-link:hover {
    color: var(--gold) !important;
    padding-left: 10px;
    background-color: rgba(197, 160, 89, 0.05);
}

/* --------------------------------------------------------------------------
   5. HERO SLIDER (Merkezlenmiş / Radial Gradient)
   -------------------------------------------------------------------------- */
.premium-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-color: var(--dark-bg);
    overflow: hidden;
}

/* Radyal (Merkezden) Karartma: Metni tam ortada jilet gibi gösterir */
.slide-overlay-premium {
    background: radial-gradient(circle at center, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.4) 100%);
}

.slider-title {
    line-height: 1.2;
}

/* Swiper Okları ve Noktaları */
.custom-swiper-nav {
    color: var(--gold) !important;
    transition: var(--transition-fast);
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.custom-swiper-nav::after {
    font-size: 24px !important;
    font-weight: 300;
}
.custom-swiper-nav:hover {
    transform: scale(1.1);
    background-color: var(--gold);
    color: #ffffff !important;
}

.custom-swiper-pagination .swiper-pagination-bullet {
    background-color: #ffffff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: var(--transition-fast);
}
.custom-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--gold);
    opacity: 1;
    width: 25px; /* Uzayan hap şeklinde modern nokta */
    border-radius: 5px;
}

/* --------------------------------------------------------------------------
   6. MİMARİ ÖZELLİKLER (Neden Biz?) - İKON SORUNU ÇÖZÜLDÜ
   -------------------------------------------------------------------------- */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* İçeriğin sıkışmasını engeller */
    background-color: rgba(255, 255, 255, 0.05); /* Antrasit zemin üzerinde hafif aydınlık halka */
    transition: var(--transition-slow);
}
.icon-circle i {
    line-height: 0; /* İkonu milimetrik olarak tam merkeze oturtur */
}
.feature-block {
    transition: var(--transition-fast);
}
.feature-block:hover .icon-circle {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    transform: rotateY(180deg) scale(1.1); /* Altın rengine dönerek 3 boyutlu havalı dönüş */
}
.feature-block:hover .icon-circle i {
    color: var(--dark-bg) !important; /* Lüks kontrast için ikon antrasit renge döner */
}
.feature-block:hover .feature-title {
    color: var(--gold) !important;
}

/* --------------------------------------------------------------------------
   7. UZMANLIK ALANLARI (Kategoriler)
   -------------------------------------------------------------------------- */
.category-card {
    height: 380px;
    cursor: pointer;
}
.category-card img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.category-card:hover img {
    transform: scale(1.08); /* Yumuşak yakınlaştırma */
}
.category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    transition: background 0.4s ease;
}
.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.1) 100%);
}

/* Metin Animasyonları (Opacity ve Y Ekseni) */
.cat-content {
    transition: transform 0.4s ease;
    transform: translateY(30px); /* Açıklama gizliyken başlık biraz aşağıda durur */
}
.opacity-0 { opacity: 0; }
.group:hover .group-hover-opacity-100 { opacity: 1 !important; }
.group:hover .transform-up { transform: translateY(0); } /* Hoverda metinler yukarı kayarak oturur */

/* --------------------------------------------------------------------------
   8. SÜREÇ (Nasıl Çalışıyoruz Timeline)
   -------------------------------------------------------------------------- */
.hover-gold-border { transition: var(--transition-fast); }
.hover-gold-border:hover {
    border-color: var(--gold) !important;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.2) !important;
    transform: translateY(-10px);
}
.hover-gold-border:hover i {
    transform: scale(1.2);
    color: #fff !important;
    transition: var(--transition-fast);
}

/* --------------------------------------------------------------------------
   9. SIK SORULAN SORULAR (Akordiyon)
   -------------------------------------------------------------------------- */
.custom-accordion .accordion-button {
    transition: var(--transition-fast);
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--gold) !important;
    background-color: transparent !important;
    box-shadow: none;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none; 
    border-color: transparent;
}
.custom-accordion .accordion-button::after {
    /* İkonu orijinal siyahtan altına çevirme filtresi */
    filter: invert(72%) sepia(19%) saturate(830%) hue-rotate(3deg) brightness(91%) contrast(93%);
}

/* --------------------------------------------------------------------------
   10. HİZMET BÖLGELERİ (SEO Kutuları)
   -------------------------------------------------------------------------- */
.region-box {
    background-color: #1a1a1a !important; /* Lüks koyu antrasit zemin */
    border: 1px solid rgba(197, 160, 89, 0.2) !important; /* Hafif altın rengi çerçeve */
    border-radius: 8px;
    transition: var(--transition-fast);
}
.region-box:hover {
    border-color: var(--gold) !important;
    background-color: #111111 !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.region-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(197, 160, 89, 0.1) !important;
    color: var(--gold) !important;
    border-radius: 50% !important;
    transition: var(--transition-fast);
}
.region-icon i {
    line-height: 0;
}

.region-box:hover .region-icon {
    background-color: var(--gold) !important;
    color: #111111 !important;
    transform: scale(1.1);
}
.region-box:hover .region-title {
    color: var(--gold) !important;
}
/* --------------------------------------------------------------------------
   11. KÖŞEDE SABİT POPUP İLETİŞİM GRUBU (Baloncuklu Tasarım)
   -------------------------------------------------------------------------- */
.floating-action-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.f-btn-container {
    position: relative; /* Baloncuğun (Tooltip) dayanağı */
    display: flex;
    align-items: center;
}

/* İletişim Butonları Yuvarlak Tasarım */
.f-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    text-decoration: none !important;
}

.call-btn {
    background-color: var(--dark-bg);
    border: 2px solid var(--gold);
    color: var(--gold);
}
.wp-btn {
    background-color: #25D366; 
    border: 2px solid #25D366;
}

/* Buton Hover Efektleri */
.call-btn:hover {
    background-color: var(--gold);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4) !important;
}
.wp-btn:hover {
    background-color: #1ebe57;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5) !important;
}

/* Baloncuk (Tooltip) Görünümü */
.f-tooltip {
    position: absolute;
    right: 100%; /* Butonun tam solu */
    margin-right: 15px; 
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px); /* İçeri kayma animasyonu başlangıcı */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Baloncuk Üçgen Oku */
.f-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
    border-width: 7px 0 7px 7px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark-bg);
}

/* Butonun üzerine gelince Baloncuk Soldan Sağa Kayarak Açılsın */
.f-btn-container:hover .f-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE (MOBİL) UYUM DÜZENLEMELERİ
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Mobil Menü Barı */
    .premium-nav {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    /* Hero Slider Mobilde */
    .premium-hero {
        height: 70vh;
        min-height: 500px;
    }
    .slide-overlay-premium {
        /* Mobilde metni rahat okutmak için aşağıdan yukarı karartma daha iyidir */
        background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.2) 100%);
    }
    .slider-title { font-size: 2.2rem; }
    
    /* Mobil Boşluklar */
    .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
    
    /* Kategori Kartları Mobilde Açıklama Direkt Görünür */
    .category-card { height: 320px; }
    .cat-content { transform: translateY(0); }
    .opacity-0 { opacity: 1; }
    
    /* Neden Biz Özellikleri (Ortala ve Aradaki Çizgileri Kaldır) */
    .feature-block {
        text-align: center;
        align-items: center !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 2rem !important;
    }
    .feature-block:last-child {
        border-bottom: none;
    }
    
    /* Floating İletişim Grubu Mobilde Küçülsün ve Baloncuk Gizlensin */
    .floating-action-wrapper {
        bottom: 20px;
        right: 20px;
    }
    .f-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .f-tooltip {
        display: none !important; /* Mobilde yazılar çıkmasın (ekranı daraltmasın) */
    }
}