/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1000px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5e35b1 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
    transition: all 1s ease-in-out;
}

.hero-image img:hover {
    transform: scale(1.02);
    filter: brightness(1.2) contrast(1.3) saturate(1.4);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
}

/* Animated particles */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 69, 0, 0.15) 0%, transparent 50%);
    z-index: 1;
    animation: gentleFloat 20s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
    animation: heroContentFadeIn 1.5s ease-out;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
    animation: heroTitleSlide 1s ease-out 0.3s both;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

@keyframes heroContentFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes heroTitleSlide {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions .btn {
    font-size: 1.125rem;
    padding: 14px 28px;
    border-radius: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #0067C5 0%, #003B73 100%);
    box-shadow: 0 6px 20px rgba(0, 103, 197, 0.4);
    border: 2px solid transparent;
}

.hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #005BB5 0%, #003366 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 103, 197, 0.5);
}

.hero-actions .btn-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.hero-actions .btn-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

/* Parallax Effect */
.hero-section.parallax .hero-image {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '';
    width: 2px;
    height: 30px;
    background: white;
    display: block;
    margin: 0 auto 10px;
    opacity: 0.7;
}

.scroll-indicator::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid white;
    display: block;
    margin: 0 auto;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .hero-actions .btn {
        width: 280px;
        max-width: 100%;
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-text {
        padding: 0 16px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .scroll-indicator {
        animation: none;
    }
    
    .hero-section.parallax .hero-image {
        transform: none !important;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .hero-image::after {
        background: linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.3) 100%
        );
    }
}

/* Print Styles */
@media print {
    .hero-section {
        height: auto;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .hero-image::after {
        display: none;
    }
    
    .hero-content {
        color: black;
    }
    
    .hero-actions {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}