/* Basic Reset and Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; /* Prevent scrolling */
}

/* 1. Slideshow Styling */
.slideshow-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1; /* Below the content overlay */
}

.mySlides {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover; /* Important for full-screen */
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Fade transition */
}

/* Make the active slide visible */
.mySlides.active {
    opacity: 1;
}

/* 2. Content Overlay Styling */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4); /* Dark translucent overlay for contrast */
    color: white;
    
    /* Center the content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    position: absolute;
    top: 30px;
    left: 30px;
}

.header-logo {
    /* Set a maximum width so it stays visible and doesn't dominate the screen */
    max-width: 180px; 
    height: auto; /* Maintain aspect ratio */
    
    /* Optional: If your logo is light and the background is dark, keep this */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)); 
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.teaser {
    font-size: 1.1em;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Countdown Timer */
.countdown {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ff9900; /* Highlight color */
}

/* Subscription Form */
.subscribe-form input[type="email"] {
    padding: 15px;
    width: 300px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}

.subscribe-form button {
    padding: 15px 25px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #e68a00;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    .countdown {
        font-size: 2em;
    }
    .subscribe-form {
        display: flex; /* Stack on mobile */
        flex-direction: column;
        width: 80%;
    }
    .subscribe-form input, .subscribe-form button {
        width: 100%;
        border-radius: 5px;
        margin: 5px 0;
    }
    .subscribe-form input {
        border-radius: 5px 5px 0 0; /* Adjust border radius for stacked look */
    }
    .subscribe-form button {
        border-radius: 0 0 5px 5px;
    }
}

/* ... rest of the CSS ... */

/* Media Query Adjustment for Mobile (optional but good practice) */
@media (max-width: 768px) {
    /* ... existing mobile styles ... */
    
    .header-logo {
        max-width: 120px; /* Make the logo smaller on phones */
    }
}