/* ==============================================
   HERO.CSS - Hero Section Styles
   ============================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 59, 87, 0.9) 0%,
        rgba(26, 82, 120, 0.8) 100%
    );
    z-index: -1;
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Search Bar */
.search-bar {
    display: flex;
    max-width: 700px;
    margin: 0 auto 2rem;
    gap: 1rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.25rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    font-size: var(--font-size-base);
    border-radius: var(--border-radius-md);
    color: var(--text-gray);
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.btn-search {
    padding: 1rem 2rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ==============================================
   RESPONSIVE - TABLET
   ============================================== */

@media (max-width: 1024px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ==============================================
   RESPONSIVE - MOBILE
   ============================================== */

@media (max-width: 768px) {
    .hero {
        padding: 90px 0 50px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .btn-search {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .search-input {
        font-size: 0.875rem;
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }
    
    .search-icon {
        font-size: 1rem;
        left: 0.75rem;
    }
}
