/* 
 * 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;
}

/* Hospital medical gradient background */
.hero-section.default-bg {
    background:
        linear-gradient(135deg,
            rgba(255, 193, 7, 0.1) 0%,
            rgba(255, 213, 79, 0.2) 35%,
            rgba(30, 58, 138, 0.3) 70%,
            rgba(30, 58, 138, 0.4) 100%),
        url('/static/uploads/backgrounds/hospital-bg.svg') 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(255, 193, 7, 0.7) 0%,
            rgba(30, 58, 138, 0.8) 50%,
            rgba(30, 58, 138, 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;
}