/* ================================================
   HERO BANNER
   ================================================ */

.hero-banner-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
}

/* Slider Wrapper */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Hero Slide - varsayılan gizli */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Görünür olan slide - data-current attribute ile */
.hero-slide[data-current="true"] {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

/* Slider içindeki hero-banner-grid için düzeltme */
.hero-slider-wrapper .hero-banner-grid {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Hero Banner içindeki container'ı tam genişlik yap */
.hero-banner-section > .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    height: 100%;
}

.hero-banner-grid {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* Sol taraf - İçerik */
.hero-banner-content {
    max-width: 600px;
    padding: var(--space-8);
    margin-left: clamp(4rem, 15vw, 10rem);
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-medium);
    color: white;
    margin-bottom: var(--space-6);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--font-bold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    max-width: 540px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Arka plan görseli - Tüm genişliği kaplar */
.hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay - Yazıların okunabilirliği için */
.hero-banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

[data-theme="dark"] .hero-banner-image::before {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.hero-image-placeholder span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-medium);
}

/* Dekoratif arka plan */
.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
}

/* Animasyonlar */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
    .hero-banner-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-banner-content {
        margin-left: clamp(2rem, 10vw, 6rem);
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .hero-banner-section {
        height: auto;
        min-height: 500px;
        padding: var(--space-12) 0;
    }
    
    .hero-banner-content {
        padding: var(--space-6);
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-badge {
        margin: 0 auto var(--space-4);
    }
    
    .hero-subtitle {
        margin: 0 auto var(--space-6);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-banner-image::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .hero-banner-section {
        padding: var(--space-8) 0;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-1) var(--space-3);
    }
}
