/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    position: relative;
}

/* Background Slideshow */
.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.background-slide.active {
    opacity: 1;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Much darker overlay */
    z-index: 1;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 0;
    position: fixed; /* Changed from relative to fixed */
    top: 0; /* Pin to top of viewport */
    left: 0; /* Pin to left edge */
    width: 100%; /* Full width */
    z-index: 10;
    backdrop-filter: blur(2px);
}

nav ul.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul.nav-links li {
    margin: 0 20px;
}

nav ul.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav ul.nav-links a:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

nav ul.nav-links h1 {
    margin: 0;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Header Logo */
.header-logo {
    height: 75px; /* Adjust this value to fit your header height */
    width: auto; /* Maintains aspect ratio */
    margin: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7)); /* Similar shadow effect as the h1 */
}

/* Body */
.body-content {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 80px; /* Add top padding to account for fixed header */
    color: white;
    position: relative;
    z-index: 5;
}

.body-content p {
    max-width: 800px;
    text-align: center;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.95); /* Black with same opacity */
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(2px);
}

#mc_embed_signup {
    max-width: 400px;
    margin: 0 auto;
}

#mc_embed_signup h2 {
    margin-top: 0;
}

#mc_embed_signup input.email {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

#mc_embed_signup input.button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#mc_embed_signup input.button:hover {
    background-color: #0056b3;
}

/* Remove old slideshow styles - no longer needed */

/* Responsive adjustments */
@media (max-width: 768px) {
    .body-content p {
        font-size: 1.2em;
        padding: 20px;
    }

    nav ul.nav-links {
        flex-direction: column;
        gap: 10px;
    }

    nav ul.nav-links h1 {
        font-size: 20px;
    }

    /* Adjust logo size for mobile */
    .header-logo {
        height: 30px;
    }
}