/* =========================================
   1. GENEL AYARLAR & TİPOGRAFİ
   ========================================= */
:root {
    /* LOGO RENKLERİNE GÖRE GÜNCELLENDİ */
    --primary-color: #065A60; /* Lotus Yeşili (Logodaki koyu zemin) */
    --secondary-color: #02383C; /* Çok Koyu Yeşil/Siyah (Başlıklar için) */
    --accent-color: #C7A965; /* Lotus Altın Sarısı (Vurgu rengi) */
    
    --text-color: #555; /* Standart Metin Rengi */
    --text-light: #f8f9fa; /* Açık Metin */
    --bg-light: #f8f9fa;
    --dark-overlay: rgba(2, 56, 60, 0.8); /* Siyah yerine yeşil bazlı koyu katman */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color); /* Başlıklar Koyu Yeşil */
    font-weight: 700;
}

/* Koyu zeminlerdeki başlıklar için yardımcı sınıf */
.text-white h1, .text-white h2, .text-white h3, 
.text-white h4, .text-white h5, .text-white h6 {
    color: #fff !important;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =========================================
   2. NAVBAR (MENÜ)
   ========================================= */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: #fff !important; /* Navbar her zaman beyaz olsun */
}

.navbar-brand img {
    max-height: 55px;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

/* Menü altı çizgi efekti - ARTIK ALTIN RENGİ */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color); /* Mavi yerine Altın */
    transition: width .3s;
    margin-top: 5px;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 15px;
    padding: 10px 0;
    border-top: 3px solid var(--accent-color); /* Menü tepesine altın çizgi */
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px; /* Kayma efekti */
}

/* =========================================
   3. HERO SLIDER & ANİMASYONLAR
   ========================================= */
.carousel-item {
    height: 600px;
    background-color: #000;
}

.carousel-item img {
    opacity: 0.8; /* Resim görünürlüğü biraz arttırıldı */
    transition: transform 7s ease;
}

.carousel-item.active img {
    transform: scale(1.1); /* Yavaş zoom efekti */
}

.carousel-caption {
    bottom: 25%; /* Yazıyı biraz yukarı al */
}

.carousel-caption h5 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8); 
    color: #fff !important; 
}

.carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    color: #f8f9fa !important;
}

/* Animasyonlar */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -50px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadeInDown { animation-name: fadeInDown; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 50px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadeInUp { animation-name: fadeInUp; }

/* =========================================
   4. KARTLAR & GALERİ (OKUNABİLİRLİK İÇİN ÖNEMLİ)
   ========================================= */

/* Galeri ve Video Kartları */
.card {
    background-color: #fff; 
    border: 1px solid #eee;
}

.card-body h3, .card-body h4, .card-body h5 {
    color: var(--secondary-color) !important; /* Başlıklar koyu yeşil */
}

.card-text {
    color: #666 !important; /* Açıklamalar gri */
}

/* Galeri Resim Üzeri Yazılar (Overlay) */
.gallery-item .overlay {
    /* Siyah yerine Lotus Yeşili Degrade */
    background: linear-gradient(to top, rgba(6, 90, 96, 0.9) 0%, rgba(6, 90, 96, 0.4) 50%, transparent 100%);
}

.gallery-item h6 {
    color: #fff !important; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Video Kartları */
.ratio {
    background-color: #000;
}

/* =========================================
   5. HOVER EFEKTLERİ
   ========================================= */
/* Yukarı Kayma */
.hover-top {
    transition: all 0.3s ease;
}

.hover-top:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--accent-color); /* Hoverda kenarlık Altın olsun */
}

.hover-top i {
    transition: all 0.3s ease;
}

.hover-top:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color) !important; /* İkon rengi Altın olsun */
}

/* Resim Zoom */
.transition-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.hover-zoom {
    transition: transform 0.6s ease;
}

.card:hover .hover-zoom {
    transform: scale(1.1);
}

.stretched-link::after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1; content: "";
}

/* =========================================
   6. DİĞER BİLEŞENLER
   ========================================= */
/* Butonlar */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--secondary-color); /* Hoverda daha koyu yeşil */
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 90, 96, 0.4); /* Yeşil gölge */
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: 600;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dark:hover, .btn-outline-dark.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Footer Linkleri */
footer a {
    color: rgba(255,255,255,0.7) !important;
    transition: all 0.3s;
}

footer a:hover {
    color: var(--accent-color) !important; /* Footer link hover Altın */
    text-decoration: none !important;
    padding-left: 5px;
}

/* Bölüm Başlıkları */
.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.divider {
    height: 4px;
    width: 70px;
    background: var(--accent-color); /* Altın çizgi */
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

/* =========================================
   7. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================= */
@media (max-width: 768px) {
    .carousel-item {
        height: 450px; 
    }
    .carousel-caption {
        bottom: 20%;
    }
    .carousel-caption h5 {
        font-size: 1.8rem;
    }
    .display-4 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    
    /* Mobil Menü */
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid #eee;
    }
}
/* Hizmet Detay Sayfası Büyük Görsel Standardı */
.hizmet-detay-resim {
    max-width: 850px;
    max-height: 500px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Blog Detay Büyük Kapak Fotoğrafı */
.blog-detay-resim {
    max-width: 850px;
    max-height: 500px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* --- GARANTİ MOBİL HEADER PREMIUM TASARIM --- */
@media screen and (max-width: 768px) {

    nav.navbar-top {
        background: linear-gradient(135deg, #022022, #065A60) !important; /* Yeşil Degrade */
        height: 70px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;

        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;

        border-bottom: 1px solid rgba(199, 169, 101, 0.3) !important; /* Altın ince çizgi */
        box-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Yönetim Paneli başlığı */
    nav.navbar-top h5 {
        color: #fff !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        text-shadow: 0 0 8px rgba(255,255,255,0.3) !important;
    }

    /* Hamburger ikonu – Altın Glow */
    #menu-toggle i {
        color: var(--accent-color) !important; /* İkon Altın */
        font-size: 1.7rem !important;
        filter: drop-shadow(0 0 6px rgba(199, 169, 101, 0.4)) !important;
        transition: 0.2s ease !important;
    }

    #menu-toggle i:active,
    #menu-toggle i:hover {
        transform: scale(1.15) !important;
        filter: drop-shadow(0 0 12px rgba(199, 169, 101, 0.8)) !important;
    }

    /* Profil ikonu – Altın efekt */
    nav.navbar-top .bg-primary {
        /* Altın Sarısı Degrade */
        background: linear-gradient(135deg, #C7A965, #E5C985) !important; 
        box-shadow: 0 0 10px rgba(199, 169, 101, 0.5) !important;
        color: #02383C !important; /* Yazı koyu yeşil */
    }

    /* Siteyi Gör butonu */
    nav.navbar-top a.btn-outline-primary {
        border-color: rgba(255,255,255,0.3) !important;
        color: #fff !important;
        background: rgba(255,255,255,0.08) !important;
        backdrop-filter: blur(10px) !important;
        transition: 0.25s !important;
    }

    nav.navbar-top a.btn-outline-primary:hover {
        background: rgba(199, 169, 101, 0.3) !important; /* Hafif altın hover */
        border-color: var(--accent-color) !important;
    }
}