/* Hero Video Styles */
.hero-video-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #333; /* Fallback background color */
    margin-top: 0; /* Ensure no margin at the top */
    padding-top: 0; /* Ensure no padding at the top */
}

.hero-video-container video,
.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Ensure video is above background but below overlay */
}

.hero-video-container iframe {
    pointer-events: none; /* Prevents interaction with iframe */
    border: none; /* Remove iframe border */
}

/* Add console logging for debugging */
.hero-video-container::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly more transparent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    z-index: 2; /* Ensure overlay is above video but below header */
}

.hero-video-content {
    max-width: 800px;
}

.hero-video-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-video-content h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-video-content h1 {
        font-size: 4.5rem;
    }
}

.hero-video-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}



/* Audio Controls Styles */
.hero-audio-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 7; /* Above the overlay but below the header */
}

.audio-control-btn {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.3s ease;
    color: var(--text-primary);
    padding: 12px;
}

.audio-control-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.audio-control-btn:focus {
    outline: none;
}

.audio-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: stroke 0.3s ease;
}
