/* ======= HERO SECTION ======= */
.hero-section {
    
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* Body scroll için gerekli */
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* En altta */
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 80%, rgba(26, 126, 99, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(42, 157, 143, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(233, 196, 106, 0.05) 0%, transparent 50%);
}


/* Canvas artık hero section'a ekleniyor, z-index ile katmanlar ayarlanıyor */
.hero-section canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important; /* Tıklamaları engelleme */
    z-index: 1 !important; /* Pattern üstünde, content altında */
}

.hero-content {
    margin-top: 80px;
    position: relative;
    z-index: 2; /* Canvas'ın üstünde */
    width: 100%;
}

.hero-title {

    background-size: 200% 200%;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    max-width: 600px;
}

/* Eski animasyon div'i artık kullanılmıyor - kaldırılabilir */
#heroAnimation {
    display: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* En üstte */
    cursor: pointer;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* ======= HERO RESPONSIVE ======= */
@media (max-width: 768px) {
    #hero-text{
        margin-top:150px
    }
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-description { font-size: 0.7rem; }
    .scroll-arrow { display: none; }

    /* Bootstrap order classlarını override */
    .row .order-lg-1 { order: 2; }
    .row .order-lg-2 { order: 1; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: auto; }
}
/* Zaten var olan responsive düzen */
@media (max-width: 768px) {
    .row .order-lg-1 { order: 2; } /* Text aşağıda */
    .row .order-lg-2 { order: 1; } /* Animasyon yukarıda */
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}