/**
 * Hero Section Widget Styles
 * 
 * @package Impact_Evaluator
 */

/* Hero Section Container */
.hero-section-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #020244 0%, #590000 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Hero Section Overlay */
.hero-section-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 2, 68, 0.7);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Hero Title */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

/* Hero Description */
.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 2rem 0;
    opacity: 0.85;
}

.hero-description p {
    margin: 0 0 1rem 0;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

/* Hero CTA Wrapper */
.hero-cta-wrapper {
    margin-top: 2rem;
}

/* Hero CTA Button */
.hero-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #590000 0%, #020244 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta-button:hover {
    background: linear-gradient(135deg, #6b0000 0%, #030255 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(89, 0, 0, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.hero-cta-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-description {
    animation-delay: 0.6s;
}

.hero-cta-wrapper {
    animation-delay: 0.8s;
}

/* Elementor Editor Specific Styles */
.elementor-editor-active .hero-content > * {
    animation: none;
}

/* Background Image Support */
.hero-section-container[style*="background-image"] {
    background-blend-mode: overlay;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-section-container::before {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-content > * {
        animation: none;
    }
    
    .hero-cta-button {
        transition: none;
    }
    
    .hero-cta-button:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .hero-section-container {
        background: #020244 !important;
        color: #000000 !important;
        min-height: auto !important;
        padding: 20px !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description {
        color: #000000 !important;
        text-shadow: none !important;
    }
    
    .hero-cta-button {
        display: none;
    }
}
