/* Parallax Header Styles */
.parallax-header {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fixed black overlay with opacity */
    z-index: 2;
}

.parallax-header-content {
    position: relative;
    z-index: 3; /* Above both the background and overlay */
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.parallax-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.parallax-header-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .parallax-header {
        height: 60vh;
    }
    
    .parallax-header-content h1 {
        font-size: 2.5rem;
    }
    
    .parallax-header-content p {
        font-size: 1.1rem;
    }
}
