/* General Styles */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2E4A3A;
    color: #fff;
}

/* Navigation Menu */

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.nav-overlay a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
}

.nav-overlay a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.nav-logo {
    height: 50px;
    margin-right: 20px;
}

/* Splash Video */

.splash-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.splash-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Box */

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
}

/* Grid Layout */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.grid img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */

footer {
    background: #1E3521;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Info Grid */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.info-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.info-box h3 {
    color: #2E4A3A;
}

.info-box a {
    color: #2E4A3A;
    text-decoration: none;
    font-weight: bold;
}

/* Menu Selector */

.menu-selector {
    margin-bottom: 20px;
}

select {
    padding: 10px;
    font-size: 1.1em;
    border-radius: 5px;
}

.menu-display {
    width: 100%;
    height: 80vh;
    border: none;
    margin-top: 20px;
    overflow: auto; /* Ensure scrolling */
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling for iOS */
}

.glf-button {
    background-color: #2E4A3A !important; /* Hunter green */
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border: none;
}

.glf-button:hover {
    background-color: #1E3521 !important; /* Darker green */
}


/* Spacer */

.spacer {
    margin-top: 100px;
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    /* Ensure .splash-video adapts to mobile */
    .splash-video {
        height: auto;
        min-height: 50vh;
        width: 100%;
        overflow: hidden;
    }

    .splash-video video {
        height: auto;
        min-height: 50vh;
        width: 100%;
        object-fit: cover;
    }

    /* Ensure .container is responsive */
    .container {
        width: 90%;
        padding: 15px;
        margin: 0 auto;
    }

    /* Ensure info grid is a single column */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .nav-overlay {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        display: none; /* Ensures menu is hidden initially */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #2E4A3A; /* Hunter green background */
        z-index: 1000;
    }

    .nav-overlay a {
        display: block;
        padding: 15px;
        font-size: 1em;
        width: 100%;
        text-align: center;
    }

    /* Menu Toggle Button */
    #menu-toggle {
        background-color: #2E4A3A; /* Hunter green */
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 1.2em;
        cursor: pointer;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 2000;
    }
}