/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

/**
 * Base Hero Container
 * Default gradient based on primary brand colors
 */
.hero-section {
    background: linear-gradient(135deg, 
        var(--bs-primary, #34509c) 0%, 
        #5668b3 25%,
        #3a4fa8 50%, 
        #2a4080 75%,
        #1f3064 100%);
    position: relative;
    min-height: 500px;
}

/* Light Background Variant - Overrides gradients for a clean white look */
.hero-section.bg-white,
.hero-section.bg-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%) !important;
}

/* Minimum height utility for vertical centering */
.min-vh-50 {
    min-height: 50vh;
}

/* ==========================================================================
   Decorative Elements (Default Mode)
   ========================================================================== */

/* Subtle radial gradient overlay for texture */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
}

/* Abstract Shape 1 - Top Right */
.hero-decoration-1 {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

/* Abstract Shape 2 - Bottom Left */
.hero-decoration-2 {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.03) 0%, 
        transparent 60%);
    transform: rotate(25deg);
    pointer-events: none;
}

/* Light Mode Decorations - Darker, subtle shadows instead of white glows */
.hero-section.hero-light .hero-gradient-overlay {
    display: none;
}

.hero-section.hero-light .hero-decoration-1,
.hero-section.hero-light .hero-decoration-2 {
    background: radial-gradient(circle, 
        rgba(52, 80, 156, 0.03) 0%, 
        transparent 70%);
}

/* Breadcrumb Divider Styling */
.hero-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.hero-section.hero-light .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-gray-400);
}

/* ==========================================================================
   Hero Image Styles
   ========================================================================== */

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

/* Image Container with 3D-like Shadow and Border effect */
.hero-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 16px 32px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    padding: 5px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
}

/* Hover Effect for Image Container */
.hero-image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.07),
        0 2px 4px rgba(0, 0, 0, 0.07),
        0 4px 8px rgba(0, 0, 0, 0.07),
        0 8px 16px rgba(0, 0, 0, 0.07),
        0 16px 32px rgba(0, 0, 0, 0.1),
        0 32px 64px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

/* Adjust shadows for Light Mode */
.hero-section.hero-light .hero-image-container {
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Feature List Styles
   ========================================================================== */

.feature-check-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check-wrapper i {
    font-size: 1.25rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animation-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animation-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animation-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animation-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ==========================================================================
   No-Image / Center Mode Utilities
   ========================================================================== */

/* Enhanced vertical padding for larger screens */
.py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Glassmorphism Card Transitions */
.transition-all {
    transition: all 0.3s ease;
}

.transition-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Alternative Gradient Themes
   ========================================================================== */

.hero-section.hero-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-section.hero-gradient-ocean {
    background: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
}

.hero-section.hero-gradient-sunset {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-section.hero-gradient-forest {
    background: linear-gradient(135deg, #134e5e 0%, #71b280 100%);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
    }

    .min-vh-50 {
        min-height: auto;
    }

    .hero-image-container {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section .display-4 {
        font-size: calc(1.5rem + 2vw);
    }

    .hero-section h4 {
        font-size: 1.25rem;
    }

    .hero-decoration-1,
    .hero-decoration-2 {
        display: none;
    }
}