/* Full-screen background carousel */
.background-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.background-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.background-carousel-slide.active {
    opacity: 1;
}

.background-carousel-slide img,
.background-carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay to ensure text readability */
.background-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Ensure content appears above the carousel */
body {
    position: relative;
    z-index: 1;
}

/* Make sections semi-transparent to show background */
section {
    background-color: rgba(255, 254, 249, 0.92) !important;
}

.hero-section {
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.75), rgba(82, 183, 136, 0.70)) !important;
}

.hero-section h2,
.hero-section .hero-text,
.hero-section p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0px 0px 20px rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    font-weight: 600 !important;
}

.hero-section .cta-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    font-weight: bold !important;
}

header {
    background-color: rgba(255, 254, 249, 0.75) !important;
    backdrop-filter: blur(10px) !important;
}

header h1 {
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8), 0px 0px 10px rgba(255, 255, 255, 0.6) !important;
    color: #2d6a4f !important;
    font-weight: bold !important;
}

.main-nav a {
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.9), 1px 1px 3px rgba(255, 255, 255, 0.7) !important;
    font-weight: bold !important;
}

.quote-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
