/* style.css - Marka Renkleri & Modern Yapı */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --brand-green: #99CC33;
    /* Sizin Yeşileniz */
    --brand-dark: #4D4D4D;
    /* Sizin Griniz */
    --brand-white: #FFFFFF;
    --light-bg: #f8f9fa;
    --shadow-soft: 0 10px 30px rgba(77, 77, 77, 0.08);
    /* Gri gölge */
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-dark);
    background-color: var(--brand-white);
    overflow-x: hidden;
}

/* --- AKILLI NAVBAR (Color Switch) --- */

.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
    /* Başlangıçta şeffaf */
}

/* MENÜ LİNKLERİ (Başlangıçta BEYAZ) */
.nav-link {
    color: #ffffff !important;
    /* DİKKAT: Burası Beyaz Oldu */
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 10px;
    transition: 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    /* Resim üstünde daha iyi okunsun diye hafif gölge */
}

/* Hover (Üzerine gelince) */
.nav-link:hover {
    color: var(--brand-green) !important;
}

/* SOSYAL İKONLAR (Header içi) */
.header-social a {
    color: #ffffff !important;
    /* Başlangıçta Beyaz */
    transition: 0.3s;
}

/* MOBİL MENÜ BUTONU (Hamburger) */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler i {
    color: #ffffff !important;
    /* İkon Beyaz */
}

/* --- SCROLLED (AŞAĞI KAYINCA OLAN HALİ) --- */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    /* Arkaplan Hafif Şeffaf Beyaz */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari desteği */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

/* Aşağı kayınca yazılar ANTRASİT olsun */
.navbar.scrolled .nav-link {
    color: var(--brand-dark) !important;
    /* #4D4D4D */
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover {
    color: var(--brand-green) !important;
}

/* Aşağı kayınca Sosyal İkonlar koyu olsun */
.navbar.scrolled .header-social a {
    color: var(--brand-dark) !important;
}

/* Aşağı kayınca Mobil Menü butonu koyu olsun */
.navbar.scrolled .navbar-toggler i {
    color: var(--brand-dark) !important;
}

/* --- BUTONLAR --- */
/* Ana Yeşil Buton */
.btn-brand {
    background-color: var(--brand-green);
    color: #fff;
    border: 2px solid var(--brand-green);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-brand:hover {
    background-color: transparent;
    color: var(--brand-green);
    transform: translateY(-2px);
}

/* İçi Boş Gri Buton */
.btn-outline-brand {
    border: 2px solid var(--brand-dark);
    color: var(--brand-dark);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-brand:hover {
    background-color: var(--brand-dark);
    color: #fff;
}

/* --- SLIDER & HERO --- */
.swiper-slide {
    height: 80vh;
    /* Yükseklik */
    position: relative;
}

.hero-overlay {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.8) 0%,
            /* En sol: Koyu (Yazı altı) */
            rgba(0, 0, 0, 0.5) 40%,
            /* Orta: Hafifliyor */
            rgba(0, 0, 0, 0.0) 80%
            /* Sağ: Tamamen Şeffaf (Resim Canlı) */
        );
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
}

.hero-line {
    width: 60px;
    height: 5px;
    background: var(--brand-green);
    margin-bottom: 20px;
}

/* --- KARTLAR --- */
.house-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.house-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
    border-color: var(--brand-green);
}

.card-price {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 1.25rem;
}

/* --- DETAY SAYFASI SEKME (TABS) --- */
.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--brand-dark);
    font-weight: 600;
    padding: 15px 25px;
    font-size: 1.1rem;
}

.nav-tabs .nav-link.active {
    color: var(--brand-green);
    border-bottom: 3px solid var(--brand-green);
    background: transparent;
}

.tab-content {
    padding: 30px 0;
    line-height: 1.7;
}

/* --- MODERN TAB (SEKME) TASARIMI - GÜNCELLENDİ (%100 OKUNABİLİR) --- */

/* Sekme Konteynırı */
.custom-tabs {
    border-bottom: 2px solid #e9ecef;
    gap: 10px;
    /* Butonlar arası boşluk */
    display: flex;
    padding-bottom: 10px;
}

/* Pasif Sekme Görünümü */
.custom-tabs .nav-link {
    background-color: #36454F;
    /* Biraz daha koyu gri zemin (okunabilirlik için) */
    color: #495057;
    /* Koyu gri yazı (Beyaz üzerinde çok net) */
    border: 1px solid #dee2e6;
    /* İnce çerçeve */
    border-radius: 8px !important;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

/* Sekme Üzerine Gelince */
.custom-tabs .nav-link:hover {
    background-color: #99CC33;
    /* Hover'da bir tık koyu gri */
    color: var(--brand-green);
    /* Marka rengi */
    border-color: #adb5bd;
    transform: translateY(-2px);
}

/* Aktif Sekme Görünümü */
.custom-tabs .nav-link.active {
    background-color: var(--brand-dark) !important;
    /* Antrasit Zemin (Marka Koyu) */
    color: #fff !important;
    /* Bembeyaz Yazı */
    border-color: var(--brand-dark);
    box-shadow: 0 5px 15px rgba(77, 77, 77, 0.3);
}

/* İkon Ayarı */
.custom-tabs i {
    color: var(--brand-green);
    /* Pasifken ikon yeşil */
    margin-right: 8px;
}

.custom-tabs .nav-link.active i {
    color: #fff;
    /* Aktif olunca ikon da beyazlaşsın */
}

/* --- YENİ EKLENEN STİLLER --- */

/* 1. İstatistik Alanı İçin Dinamik Degrade (Gradient) */
.stat-section {
    background: linear-gradient(135deg, #4D4D4D 0%, #2c3e50 100%);
    /* Antrasit ton geçişi */
    position: relative;
    overflow: hidden;
}

/* Arka plana hafif hareket katan desen (Opsiyonel şıklık) */
.stat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 2. Hakkımızda Bloğu (Görseldeki Tasarım) */
.about-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-img-wrapper img {
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
    /* Resim hafif yaklaşır */
}

/* Resmin üzerindeki Sarı/Yeşil Bilgi Kutusu */
.info-box-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--brand-green);
    /* #99CC33 */
    color: white;
    padding: 30px;
    width: 200px;
    /* Genişlik ayarı */
    border-top-left-radius: 10px;
    z-index: 10;
}

/* Sağ Taraftaki Liste İkonları */
.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--brand-dark);
}

.check-icon {
    width: 25px;
    height: 25px;
    background-color: rgba(153, 204, 51, 0.2);
    /* Yeşil'in şeffaf hali */
    color: var(--brand-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 15px;
}

/* --- YENİ EKLENEN VİDEO & ÖZELLİK BLOĞU STİLLERİ --- */

/* Özellik Kutuları (Sol Taraf) */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon-circle {
    min-width: 60px;
    height: 60px;
    background-color: #f0f7e6;
    /* Çok açık yeşil zemin */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: 0.3s;
}

.feature-item:hover .feature-icon-circle {
    background-color: var(--brand-green);
    color: white;
    transform: rotateY(180deg);
    /* Üzerine gelince ikon döner */
}

/* Video Görsel Alanı (Sağ Taraf) */
.video-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    /* Görselin dik durması için */
}

/* Oynatma Butonu (Pulse Efekti) */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    font-size: 1.5rem;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-white 2s infinite;
    text-decoration: none;
}

.play-button:hover {
    color: var(--brand-green);
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse-white {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Sağ Alt Güven Skoru Kutusu */
.trust-score-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    /* Hafif şeffaf beyaz */
    backdrop-filter: blur(10px);
    /* Arkasını buzlar */
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 6;
}

.star-rating {
    color: #FFC107;
    /* Yıldız Sarısı */
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Başlık Altı Çizgisi (Görseldeki gibi) */
.highlight-line {
    position: relative;
    z-index: 1;
}

.highlight-line::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(153, 204, 51, 0.3);
    /* Yeşil şerit */
    z-index: -1;
}

/* --- HOVER EFEKTLERİ VE CANLANDIRMA --- */

/* 1. İstatistik Kutuları (Yukarı Kayma ve İkon Büyüme) */
.stat-box {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
}

.stat-box:hover {
    transform: translateY(-10px);
    /* Yukarı kaldır */
    background: rgba(255, 255, 255, 0.05);
    /* Hafif beyaz zemin */
}

.stat-box i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-box:hover i {
    transform: scale(1.3);
    /* İkon büyüsün */
    color: #fff !important;
    /* İkon beyazlaşsın */
}

/* 2. Hakkımızda Listesi (Sağa Kayma Efekti) */
.check-list li {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.check-list li:hover {
    background-color: #f8f9fa;
    transform: translateX(10px);
    /* Sağa kaydır */
    border-left-color: var(--brand-green);
    /* Soluna yeşil çizgi çek */
}

.check-list li:hover .check-icon {
    background-color: var(--brand-green);
    color: white;
}

/* 3. Özellik Kutuları (Gölge ve Arkaplan) */
.feature-item {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid transparent;
}

.feature-item:hover {
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #eee;
    transform: translateY(-5px);
}

/* İkon zaten dönüyordu, şimdi kutuyla beraber çalışacak */

/* 4. Video Görseli (Zoom Efekti) */
.video-wrapper img {
    transition: transform 0.6s ease;
}

.video-wrapper:hover img {
    transform: scale(1.05);
    /* Resim yaklaşsın */
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2);
    /* Buton daha çok büyüsün */
    background-color: var(--brand-green);
    color: white;
}

/* --- BUTON HOVER DÜZELTMELERİ --- */

/* 1. Koyu Butonlar (Hakkımızda, SSS) */
.btn-custom-dark {
    background-color: var(--brand-dark);
    /* #4D4D4D */
    color: white;
    border: 2px solid var(--brand-dark);
    border-radius: 4px;
    transition: all 0.3s ease;
    padding: 12px 30px;
}

.btn-custom-dark:hover {
    background-color: var(--brand-green);
    /* #99CC33 */
    border-color: var(--brand-green);
    color: white;
    transform: translateY(-5px);
    /* Yukarı zıplama */
    box-shadow: 0 10px 20px rgba(153, 204, 51, 0.4);
    /* Yeşil gölge */
}

/* 2. Yazı Linkler (Projelerimiz) */
.link-arrow-hover {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.link-arrow-hover i {
    color: var(--brand-green);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.link-arrow-hover:hover {
    color: var(--brand-green) !important;
    /* Yazı yeşil olsun */
    letter-spacing: 0.5px;
    /* Harfler hafif açılsın */
}

.link-arrow-hover:hover i {
    transform: translateX(8px);
    /* Ok sağa kaysın */
}

/* --- SLIDER GELİŞTİRMELERİ (Ken Burns & Scroll) --- */

/* --- SLIDER DÜZELTME (NET VE CANLI GÖRÜNÜM) --- */

/* 1. Ken Burns Efekti (Resim Yavaşça Büyümeye Devam Etsin) */
.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s linear;
}

.swiper-slide-active .slide-bg-image {
    transform: scale(1.15);
}

/* 2. Overlay (ÖNEMLİ DEĞİŞİKLİK BURADA) */
/* Resmi karartmak yerine, sadece sol tarafa gölge atıyoruz. Sağ taraf pırıl pırıl kalıyor. */
.hero-overlay {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.8) 0%,
            /* En sol: Koyu (Yazı altı) */
            rgba(0, 0, 0, 0.5) 40%,
            /* Orta: Hafifliyor */
            rgba(0, 0, 0, 0.0) 80%
            /* Sağ: Tamamen Şeffaf (Resim Canlı) */
        );
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 3. İçerik Kutusu (Kutuyu Kaldırdık, Sadece Hizalama Kaldı) */
.hero-glass-card {
    background: transparent;
    /* Arkaplan yok */
    backdrop-filter: none;
    /* Buzlanma yok */
    padding: 0;
    /* İç boşluk sıfırlandı */
    border: none;
    /* Çerçeve gitti */
    max-width: 800px;
    position: relative;
    padding-left: 20px;
    /* Sol taraftan hafif boşluk */
    border-left: 5px solid var(--brand-green);
    /* Marka vurgusu için sol çizgi */
}

/* Başlıkların daha iyi okunması için hafif gölge */
.hero-glass-card h1,
.hero-glass-card p {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* 4. Mouse İkonu ve Oklar (Aynen Kalıyor) */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: white;
    opacity: 0.8;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    display: block;
    margin: 0 auto 10px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--brand-green);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

.custom-swiper-btn {
    width: 60px;
    height: 60px;
    /* Okları biraz büyüttüm */
    background: rgba(255, 255, 255, 0.05);
    /* Çok hafif belli belirsiz */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
    position: absolute;
    top: 50%;
    z-index: 20;
    cursor: pointer;
}

.custom-swiper-btn:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: white;
}

.btn-prev {
    left: 30px;
}

.btn-next {
    right: 30px;
}

/* --- MODAL FORM STİLLERİ --- */

/* Input Odaklanma (Focus) Rengi */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 0.25rem rgba(153, 204, 51, 0.25);
    /* Yeşil Glow */
    background-color: #fff;
}

/* --- İÇ SAYFALAR İÇİN HEADER AYARI --- */

/* Bu sınıf eklenirse header direk beyaz olur, scroll beklemez */
.navbar-force-light {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0 !important;
}

/* Link renklerini zorla koyu yap */
.navbar-force-light .nav-link {
    color: var(--brand-dark) !important;
    /* Antrasit */
    text-shadow: none !important;
}

.navbar-force-light .nav-link:hover {
    color: var(--brand-green) !important;
}

.navbar-force-light .header-social a {
    color: var(--brand-dark) !important;
}

.navbar-force-light .navbar-toggler i {
    color: var(--brand-dark) !important;
}

/* Input Grubu İkon Arkaplanı */
.input-group-text {
    border-color: #ced4da;
    background-color: #fff;
}

/* Form içindeki inputlar hover olunca */
.form-control:hover,
.form-select:hover {
    border-color: #b0b0b0;
}

/* Modal açılış animasyonu (Bootstrap zaten yapıyor ama yumuşatalım) */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.9);
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* --- ALT SAYFA BAŞLIK ALANI (PAGE HERO) --- */

.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax efekti: Resim sabit durur, site kayar */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    /* Sayfanın en tepesinden başlasın */
}

/* Resmin üzerine gelen koyu perde */
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Başlık Yazıları */
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-top: 60px;
    /* Menünün altında kalmaması için biraz itiyoruz */
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.breadcrumb-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: inline-block;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #eee;
}

.breadcrumb-custom a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-custom a:hover {
    color: var(--brand-green);
}

.breadcrumb-separator {
    margin: 0 10px;
    color: var(--brand-green);
}

/* --- FOOTER --- */
footer {
    background-color: var(--brand-dark);
    color: #bbb;
    padding-top: 60px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s
}

footer a:hover {
    color: var(--brand-green);
}