/* Header ve Hero güncelleme - Modern & Profesyonel */

/* Header - Modern Düzenleme */
.modern-navbar {
    padding: 12px 0;
    background: linear-gradient(135deg, #0288d1, #1565c0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1); /* Çift katmanlı gölge */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
    border-bottom: none;
    backdrop-filter: blur(5px); /* Cam efekti */
}

/* Modern pattern eklemesi */
.modern-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z' fill-opacity='0.05' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    opacity: 0.3;
    z-index: -1;
    animation: patternMove 60s linear infinite alternate;
}

/* Ana Sayfa Hero - Modern Düzenleme */
.hero-section {
    position: relative;
    padding: 30px 0;
    background: linear-gradient(145deg, #0288d1, #1565c0);
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-top: none;
    z-index: 5;
    /* Fade animasyonu iptal edildi */
    transition: none;
}

/* Header ile Hero arasında daha keskin ve gerçekçi gölge */
.modern-navbar {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Daha keskin ve belirgin gölge */
}

/* Hero için modern pattern ekleme - daha belirgin */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath opacity='.7' d='M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0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.4;
    animation: patternMove 40s linear infinite alternate;
}

/* Alt kısımdaki mavi görüntü kaldırıldı */

/* Main container düzenlemesi */
.container.main-container {
    padding-top: 0;
}

/* Kalın çizgi kaldırıldı */
/* header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(145deg, #0288d1, #1565c0);
    z-index: 9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.08);
    animation: glowEffect 4s ease-in-out infinite alternate;
} */

/* Animasyonlar */
@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes glowEffect {
    0% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.08); }
    100% { box-shadow: 0 8px 25px rgba(2, 136, 209, 0.25), 0 3px 10px rgba(2, 136, 209, 0.15); }
}

/* Nav elementleri iyileştirme */
.nav-link {
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    padding: 10px 18px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
}

/* Hero içeriği iyileştirmeleri */
.hero-title {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.3px;
}

.hero-description {
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.2px;
    line-height: 1.6;
}

.feature-compact {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-compact:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* CTA butonları iyileştirme */
.hero-cta .btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    padding: 12px 24px;
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.hero-cta .btn-outline-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
}

.hero-cta .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0288d1;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Responsive düzenlemeler */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 30px 0;
        border-radius: 0 0 35px 35px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 30px 0;
        text-align: center;
        border-radius: 0 0 30px 30px;
    }
    
    .modern-navbar {
        padding: 10px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-compact {
        margin-bottom: 8px;
    }
}

/* Header'a scroll sınıfı için CSS ekleme */
.modern-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25); /* Scroll durumunda da keskin gölge kullanılıyor */
}

.modern-navbar.scrolled .navbar-brand img {
    transform: scale(0.95);
}