/* =========================================
   GENEL PREMİUM STİLLER & ANİMASYONLAR
   ========================================= */

/* Temel Vücut Ayarları */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa; /* Çok hafif, temiz bir gri arkaplan */
    color: #333;
    overflow-x: hidden;
}

/* Evrensel Yukarı Sıçrama Efekti */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Evrensel Resim Zoom Efekti */
.hover-scale {
    transition: all 0.4s ease;
}
.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

/* Metin Ayarları */
.tracking-wider { letter-spacing: 1.5px; }
.text-shadow { text-shadow: 2px 2px 4px rgba(0,0,0,0.7); }
.text-shadow-lg { text-shadow: 3px 3px 6px rgba(0,0,0,0.8); }

/* Özel Çizgi Efekti (Başlıkların Altında) */
.heading-line {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 4px;
    border-radius: 2px;
}

/* Metni 2 Satırla Sınırla (Blog Kartları İçin) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================
   1. SİNEMATİK HERO SLIDER
   ========================================= */

/* Ana kapsayıcı yüksekliği - Satır içi stilleri ezmek için !important */
#premiumCarousel .carousel-item {
    height: 75vh !important;
    min-height: 500px !important;
    width: 100%;
    overflow: hidden;
}

/* Görselin ve videonun taşmasını kesin olarak engeller */
#premiumCarousel .carousel-item img,
#premiumCarousel .carousel-item video,
#premiumCarousel .hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    object-position: center !important; 
}

#premiumCarousel .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Siyahdan şeffafa gradyan - yazıları okunur yapar */
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

#premiumCarousel .slider-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
#premiumCarousel .slider-btn:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Mobil Slider Ayarları */
@media (max-width: 768px) {
    /* Mobilde yüksekliği daraltıp, taşmayı önlüyoruz */
    #premiumCarousel .carousel-item { 
        height: 50vh !important; 
        min-height: 350px !important; /* 400 mobilde fazlaydı, 350 idealdir */
    }
    
    #premiumCarousel .slider-title { 
        font-size: 1.75rem !important; /* Ekrana tam sığması için bir tık daha daralttık */
        padding: 0 10px;
    } 
    
    #premiumCarousel .slider-subtitle { 
        font-size: 0.9rem !important; 
        width: 100% !important; 
    }
    
    /* İŞTE MOBİLDEKİ DEV BUTONU KÜÇÜLTEN KOD */
    #premiumCarousel .slider-btn {
        font-size: 0.85rem !important; 
        padding: 8px 20px !important; 
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
    }
}


/* =========================================
   2. HAKKIMIZDA (ABOUT US) BÖLÜMÜ
   ========================================= */
.about-img-wrapper {
    position: relative;
    border-radius: 1rem;
}
.about-img {
    transition: transform 0.5s ease;
}
.about-img-wrapper:hover .about-img {
    transform: scale(1.02);
}

/* Yuvarlak Tecrübe Rozeti */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 5px solid #fff;
    z-index: 2;
    animation: float 3s ease-in-out infinite; /* Hafifçe süzülme efekti */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobilde Rozeti İçeri Al */
@media (max-width: 768px) {
    .experience-badge { right: 10px; bottom: 10px; width: 90px; height: 90px; }
    .experience-badge .fs-2 { font-size: 1.5rem !important; }
}


/* =========================================
   3. PREMİUM HİZMET KARTLARI
   ========================================= */
.service-premium-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}

.service-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.img-zoom-wrapper { overflow: hidden; }
.img-zoom-wrapper img {
    transition: transform 0.6s ease;
}
.service-premium-card:hover .img-zoom-wrapper img {
    transform: scale(1.1);
}

/* Resim Üzerindeki Hafif Gölge */
.overlay-gradient {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

/* Kartın İçindeki İkon */
.service-icon {
    width: 50px; height: 50px;
    margin-top: -45px; /* Resmin üstüne taşır */
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.service-premium-card:hover .service-icon {
    transform: rotateY(180deg); /* Havalı dönüş efekti */
}

.service-read-more i { transition: margin-left 0.3s ease; }
.service-premium-card:hover .service-read-more i { margin-left: 10px !important; }


/* =========================================
   4. PROJE KARTLARI (SİNEMATİK)
   ========================================= */
.project-premium-card img {
    transition: transform 0.7s ease;
}
.project-premium-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.project-info-box {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    transition: all 0.4s ease;
}

.content-slider {
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.4s ease;
}

/* Fareyle Üzerine Gelince Yazılar Yukarı Kayar ve Netleşir */
.project-premium-card:hover .content-slider {
    transform: translateY(0);
    opacity: 1;
}


/* =========================================
   5. BLOG KARTLARI
   ========================================= */
.blog-premium-card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0 !important;
}
.blog-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: #dc3545 !important; /* Tema kırmızı (danger) */
}

.blog-premium-card img {
    transition: transform 0.5s ease;
}
.blog-premium-card:hover img {
    transform: scale(1.05);
}

.hover-text-primary { transition: color 0.2s ease; }
.hover-text-primary:hover { color: var(--bs-primary) !important; }


/* =========================================
   6. VİDEO VE GALERİ HOVER EFEKTLERİ
   ========================================= */
.media-hover img { transition: transform 0.4s ease, filter 0.4s ease; }
.media-hover:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.video-hover img { transition: transform 0.5s ease; }
.video-hover:hover img { transform: scale(1.05); }

.play-btn-circle { transition: all 0.3s ease; }
.video-hover:hover .play-btn-circle {
    transform: scale(1.1);
    background-color: #dc3545 !important; /* Hover'da Kırmızı olur */
}


/* =========================================
   7. SIDEBAR (YAN MENÜ) EFEKTLERİ
   ========================================= */
.premium-gradient-card {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1a237e 100%);
}
.icon-circle {
    width: 60px; height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Sidebar Linkleri Hover */
.sidebar-link {
    transition: all 0.2s ease;
    padding-left: 0;
}
.sidebar-link:hover {
    padding-left: 8px; /* Hover'da hafif sağa kayar */
    color: var(--bs-primary) !important;
}