/* 
 * Dynamic Background CSS - Generated from template
 * This file handles dynamic background image for hero section
 */

/* Hero section with dynamic background */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Default mountain gradient background */
.hero-section.default-bg {
    background: 
        linear-gradient(135deg, 
            rgba(40, 167, 69, 0.75) 0%,
            rgba(30, 126, 52, 0.85) 50%,
            rgba(21, 87, 36, 0.9) 100%
        ),
        url('/static/uploads/backgrounds/hero-bg.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* When background image is available */
.hero-section.with-bg-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Overlay for readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(40, 167, 69, 0.7) 0%,
        rgba(30, 126, 52, 0.8) 50%,
        rgba(21, 87, 36, 0.85) 100%
    );
    z-index: 1;
}

/* Content should be above overlay */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}