/* =========================================================
   AKGÜN GAYRİMENKUL - HOMEPAGE SECTION RHYTHM & TRANSITIONS
   ========================================================= */

/* 1. Kategoriler Bölümü */
.section-categories {
    background-color: #ffffff;
    padding: 70px 0 60px 0;
    position: relative;
}

/* 2. Fırsat İlanları Bölümü */
.section-featured-listings {
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 80px 0;
    position: relative;
}

/* 3. Koyu Zümrüt Kurumsal İstatistik Şeridi */
.section-corporate-stats {
    background: linear-gradient(135deg, #091a13 0%, #113F2A 50%, #0f172a 100%);
    border-top: 1px solid rgba(99, 163, 131, 0.25);
    border-bottom: 1px solid rgba(99, 163, 131, 0.25);
    padding: 65px 0;
    position: relative;
    color: #ffffff;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}
.stat-box-divider {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 768px) {
    .stat-box-divider {
        border-right: none;
    }
}
.stat-number-glow {
    color: #63A383;
    text-shadow: 0 0 25px rgba(99, 163, 131, 0.4);
}

/* 4. Öne Çıkan Bölgeler */
.section-neighborhoods {
    background-color: #ffffff;
    padding: 80px 0;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* 5. Kurumsal Danışmanlık Hizmetleri */
.section-services {
    background: linear-gradient(180deg, #f4f8f5 0%, #eaf3ed 100%);
    border-top: 1px solid #e2ece5;
    border-bottom: 1px solid #e2ece5;
    padding: 80px 0;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* 6. Neden Biz Bölümü */
.section-why-us {
    background-color: #ffffff;
    padding: 80px 0;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* 7. Hızlı Değerleme CTA Bandı */
.section-cta-banner {
    background: linear-gradient(135deg, #113F2A 0%, #0d281a 60%, #0f172a 100%);
    border-top: 1px solid rgba(99, 163, 131, 0.3);
    border-bottom: 1px solid rgba(99, 163, 131, 0.3);
    padding: 75px 0;
    position: relative;
    color: #ffffff;
    content-visibility: auto;
    contain-intrinsic-size: 400px;
}

/* 8. SSS (FAQ) Bölümü */
.section-faq {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 80px 0;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* 9. Keşif Matrisi */
.section-discovery-matrix {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

/* Mikro Rozet Stili */
.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.section-badge-pill-dark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #86efac;
}

/* =========================================================
   İKON KUTULARI VE HOVER DAVRANIŞLARI
   ========================================================= */

.category-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.category-icon-box svg {
    width: 30px;
    height: 30px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 1.9;
}

/* 1. Satılık Daireler İkonu */
.category-icon-emerald {
    background-color: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #113F2A;
}
.group:hover .category-icon-emerald {
    background: linear-gradient(135deg, #1A593D 0%, #113F2A 100%) !important;
    border-color: #113F2A !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(17, 63, 42, 0.35);
}

/* 2. Kiralık Daireler İkonu */
.category-icon-blue {
    background-color: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #1d4ed8;
}
.group:hover .category-icon-blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.35);
}

/* 3. Müstakil & Villa İkonu */
.category-icon-amber {
    background-color: #fffbeb;
    border: 1.5px solid #fde68a;
    color: #b45309;
}
.group:hover .category-icon-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%) !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.35);
}

/* 4. Arsa & Ticari İkonu */
.category-icon-teal {
    background-color: #f0fdfa;
    border: 1.5px solid #99f6e4;
    color: #0f766e;
}
.group:hover .category-icon-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%) !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.35);
}

/* Hizmetler İkon Kutuları */
.service-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background-color: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #113F2A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}
.service-icon-box svg {
    width: 30px;
    height: 30px;
    transition: all 0.35s ease;
    stroke-width: 1.9;
}
.group:hover .service-icon-box {
    background: linear-gradient(135deg, #1A593D 0%, #113F2A 100%) !important;
    border-color: #113F2A !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 25px rgba(17, 63, 42, 0.35);
}

/* =========================================================
   HİZMET KARTI BUTONLARI (GARANTİLİ HOVER STİLİ)
   ========================================================= */
.service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    background-color: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #113F2A !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-action-btn svg {
    width: 15px;
    height: 15px;
    color: #113F2A;
    transition: transform 0.25s ease, color 0.25s ease;
}

.service-action-btn:hover {
    background: linear-gradient(135deg, #1A593D 0%, #113F2A 100%) !important;
    border-color: #113F2A !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 63, 42, 0.3);
}

.service-action-btn:hover svg {
    color: #ffffff !important;
    transform: translateX(4px);
}

.service-action-btn:hover span {
    color: #ffffff !important;
}

/* =========================================================
   ÖNE ÇIKAN BÖLGELER - HOVER REVEAL & MOBİL ETKİLEŞİMİ
   ========================================================= */

.neighborhood-card {
    position: relative;
    height: 360px;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
    display: block;
    text-decoration: none;
}

.neighborhood-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.neighborhood-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.neighborhood-card:hover .neighborhood-card-img {
    transform: scale(1.08);
    filter: brightness(0.65);
}

/* Arka Plan Degrade Katmanları */
.neighborhood-card-overlay-default {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 45%, transparent 75%);
    transition: opacity 0.45s ease;
    z-index: 2;
}

.neighborhood-card-overlay-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.96) 0%, rgba(17, 63, 42, 0.85) 55%, rgba(15, 23, 42, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 3;
}

.neighborhood-card:hover .neighborhood-card-overlay-hover {
    opacity: 1;
}

/* Üst Rozet */
.neighborhood-card-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 10;
    transform: translateY(-12px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.neighborhood-card:hover .neighborhood-card-badge {
    transform: translateY(0);
    opacity: 1;
}

/* İçerik Kapsayıcısı */
.neighborhood-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 10;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.neighborhood-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2px;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.neighborhood-title-arrow {
    width: 24px;
    height: 24px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s ease;
    color: #63A383;
}

.neighborhood-card:hover .neighborhood-title-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Masaüstünde Gizli, Hover'da Açılan Detay Bloğu */
.neighborhood-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(14px);
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.4s ease;
}

.neighborhood-card:hover .neighborhood-details {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
}

/* Mobil Görünüm Optimizasyonu */
@media (max-width: 768px) {
    .neighborhood-card {
        height: 280px;
        border-radius: 22px;
    }
    .neighborhood-card-badge {
        transform: translateY(0);
        opacity: 1;
    }
    .neighborhood-details {
        max-height: 140px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 6px;
    }
    .neighborhood-title-arrow {
        opacity: 1;
        transform: translateX(0);
    }
    .neighborhood-card-overlay-default {
        background: linear-gradient(0deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.65) 50%, transparent 85%);
    }
    .neighborhood-title {
        font-size: 22px;
    }
}
