/* ========================================== */
/* 1. KÖK DEĞİŞKENLER VE TEMEL SIFIRLAMA     */
html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* ========================================== */
:root {
    --primary-color: #0f172a;
    /* Koyu Lacivert / Ana Kurumsal Renk */
    --accent-color: #c5a880;
    /* Gold / Prestij Vurgu Rengi */
    --accent-hover: #b3956d;
    /* Gold Hover */
    --bg-light: #f8fafc;
    /* Açık Gri Arka Plan */
    --text-dark: #1e293b;
    /* Ana Metin Rengi */
    --text-muted: #64748b;
    /* İkincil Metin Rengi */
    --border-color: #e2e8f0;
    /* İnce Çizgi Rengi */
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ========================================== */
/* 2. GENEL KULLANIM VE YARDIMCI SINIFLAR    */
/* ========================================== */
.bg-dark-custom {
    background-color: var(--primary-color) !important;
}

.text-dark-custom {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Buton ve Rozetler */
.cg-btn-accent {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.cg-btn-accent:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.cg-badge-accent {
    background-color: rgba(197, 168, 128, 0.15);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* Bölüm Başlık Çizgisi */
.cg-section-subtitle {
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.cg-title-line {
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 10px;
    border-radius: 2px;
}

/* ========================================== */
/* 3. NAVBAR STİLLERİ                         */
/* ========================================== */
.cg-nav-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent-color) !important;
}

/* ========================================== */
/* 4. 1. HERO / VİDEO ALANI                   */
/* ========================================== */
.cg-hero-video-section {
    height: 85vh;
    min-height: 550px;
}

.cg-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.cg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
}

/* ========================================== */
/* 5. GÖRSEL HİZMET KARTLARI STİLLERİ         */
/* ========================================== */
.cg-service-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cg-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1) !important;
}

.cg-service-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.cg-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cg-service-card:hover .cg-service-img {
    transform: scale(1.08);
}

.cg-service-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.cg-service-card:hover .cg-service-badge {
    background-color: var(--accent-color);
    color: #ffffff;
}

.cg-service-link {
    color: var(--accent-color);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.cg-service-link:hover {
    color: var(--primary-color);
}

/* ========================================== */
/* 6. PORTFÖY & DANIŞMAN KARTLARI             */
/* ========================================== */
.cg-property-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.cg-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08) !important;
}

.cg-img-placeholder {
    height: 200px;
    width: 100%;
}

.cg-avatar-placeholder {
    width: 80px;
    height: 80px;
}

/* ========================================== */
/* 7. İLETİŞİM BÖLÜMÜ STİLLERİ                */
/* ========================================== */
.cg-contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========================================== */
/* 8. FOOTER / ALT BİLGİ ALANI STİLLERİ       */
/* ========================================== */
.cg-ft-wrapper {
    background-color: var(--primary-color);
    color: #cbd5e1;
    font-size: 0.92rem;
}

.cg-ft-top-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(197, 168, 128, 0.12);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cg-ft-top-link,
.cg-ft-top-text {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cg-ft-top-link:hover {
    color: var(--accent-color);
}

.cg-ft-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.cg-ft-desc {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.88rem;
}

.cg-ft-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.cg-ft-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.cg-ft-links li {
    margin-bottom: 8px;
}

.cg-ft-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 0.88rem;
}

.cg-ft-links a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.cg-ft-social-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cg-ft-social-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.cg-ft-bottom-bar {
    background-color: rgba(0, 0, 0, 0.2);
}

.cg-ft-dev-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cg-ft-dev-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ========================================== */
/* 9. MOBİL VE DOKUNMATİK CİHAZ UYUMLULUĞU    */
/* ========================================== */
@media (max-width: 991.88px) {
    .cg-hero-video-section {
        height: 75vh;
    }
}

@media (max-width: 767.88px) {
    .cg-ft-top-bar .col-md-4 {
        margin-bottom: 12px;
    }

    .cg-ft-top-bar .col-md-4:last-child {
        margin-bottom: 0;
    }
}

/* ========================================== */

/* ========================================== */
/* SABİT WHATSAPP BUTONU VE DALGA ANİMASYONU */
/* ========================================== */

.cg-wa-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cg-wa-btn:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: scale(1.08);
}

.cg-wa-icon {
    font-size: 2rem;
    line-height: 1;
    z-index: 2;
}

/* Dalga (Pulse) Animasyonu */
.cg-wa-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
    animation: cgWaPulse 2s infinite ease-in-out;
}

.cg-wa-wave-2 {
    animation-delay: 0.6s;
}

@keyframes cgWaPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Hover Tooltip (Bilgi Balonu) */
.cg-wa-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--primary-color, #0f172a);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cg-wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color, #0f172a);
}

.cg-wa-btn:hover .cg-wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 72px;
}

/* Mobil Cihaz Düzeltmesi */
@media (max-width: 767.88px) {
    .cg-wa-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .cg-wa-icon {
        font-size: 1.75rem;
    }

    .cg-wa-tooltip {
        display: none;
        /* Mobilde ekranı kapatmaması için tooltip gizlenir */
    }
}

/* ========================================== */
/* İSTATİSTİK & HABERLER ALANI (CG-NEWS)     */
/* ========================================== */

/* İstatistik Sayaç Bileseni */
.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* Haber Kartları */
.cg-news-card {
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.cg-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08) !important;
}

.cg-news-tag {
    font-size: 0.75rem;
    font-weight: 600;
}

.cg-news-link {
    color: var(--accent-color, #c5a880);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.cg-news-link:hover {
    color: var(--primary-color, #0f172a);
}

.fs-7 {
    font-size: 0.75rem;
}


/* Popüler Gayrimenkul Kategorileri */
/* ========================================== */
/* STATİK SEKME TEMELLİ PORTFÖY HERO STİLLERİ */
/* ========================================== */
.cg-tab-hero-wrap {
    margin-top: -60px;
    padding-bottom: 30px;
}

.cg-tab-pills .nav-link {
    color: var(--text-dark, #1e293b);
    background-color: #f1f5f9;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-left: 6px;
}

.cg-tab-pills .nav-link.active,
.cg-tab-pills .nav-link:hover {
    background-color: var(--primary-color, #0f172a) !important;
    color: var(--accent-color, #c5a880) !important;
}

@media (max-width: 991.88px) {
    .cg-tab-hero-wrap {
        margin-top: -30px;
    }
}


/*  */
/* ========================================== */
/* METİNSEL HERO ALANI STİLLERİ (CG-TEXT-HERO)*/
/* ========================================== */
.cg-text-hero-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.cg-text-hero-box {
    background-color: var(--primary-color, #0f172a);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.cg-text-hero-badge-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-color, #c5a880);
    color: var(--primary-color, #0f172a);
    flex-shrink: 0;
}

.tracking-wider {
    letter-spacing: 1.5px;
}

/* Mobil Uyumlu Düzenlemeler */
@media (max-width: 991.88px) {
    .cg-text-hero-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}


/* Hero / Testimonial Alanı Genel Stilleri */
.testimonial-section {
    background: linear-gradient(135deg, #151800 0%, #022358 100%);
    padding: 80px 0;
    color: #ffffff;
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    /* Kurumsal Altın Sarısı Vurgu */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.user-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #d4af37;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.2);
}

/* Swiper Noktaları Stili */
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: #d4af37 !important;
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.highlight-text {
    background: #ba8720;
    background: linear-gradient(90deg, rgb(213, 144, 4) 55%, rgba(230, 237, 237, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}