/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Bricolage Grotesque', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, .hero h1 {
    font-weight: 700;
}

/* Navbar */

/* Apply only to images within known containers */
.program-card img,
.coach-card img,
.partner-logos img {
    height: 120px;
    padding-bottom: 30px;
}

/* Navbar logo */
.navbar .logo img {
    height: 105px;
    padding-bottom: 0;
    width: auto;
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hide nav-links by default */
.nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

    /* Show nav-links only when active */
    .nav-links.active {
        display: flex;
    }

/* Desktop styles only */
@media screen and (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 2rem;
        background: none;
        box-shadow: none;
        padding: 0;
        margin-left: auto !important;
    }

        .nav-links.active {
            display: flex !important;
        }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: black;
        z-index: 1001;
    }

    .navbar {
        flex-wrap: wrap;
    }

        .navbar .logo {
            margin-right: auto;
        }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    z-index: 10;
    color: white;
}

    .navbar .logo {
        font-weight: bold;
        font-size: 1.5rem;
    }

    .navbar ul {
        list-style: none;
        color: black;
    }

    .navbar a {
        color: black;
        text-decoration: none;
    }

        .navbar a:hover {
            color: #FF6392;
        }

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 6px;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

    /* Support mobile toggle */
    .nav-links .dropdown-menu.show {
        display: block !important;
    }


    .nav-links .dropdown-menu li {
        width: 100%;
    }

    .nav-links .dropdown-menu a {
        display: block;
        padding: 10px 16px;
        color: #333;
        font-weight: 500;
        text-decoration: none;
        transition: background-color 0.2s, color 0.2s;
    }

        .nav-links .dropdown-menu a:hover {
            background-color: #f2f2f2;
            color: #FF6392;
        }

.nav-links li:hover .dropdown-menu {
    display: block;
}

.btn-nav {
    color: white !important;
    background: #FF6392;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
}

    .btn-nav:hover {
        background: #5AA9E6;
    }

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.5);
}

.hero-content {
    z-index: 1;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.btn {
    background: #5AA9E6;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

    .btn:hover {
        background: #FFE45E;
    }

/* General Section Styles */
.section {
    padding: 80px 20px;
    text-align: center;
    background: #f9f9f9;
}

    .section.light {
        background: white;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .section p {
        font-size: 1rem;
        max-width: 800px;
        margin: 0 auto 20px;
    }

/* Cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .card h3 {
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .card p {
        flex-grow: 1;
    }

    /* makes sure the buttons all stay at the same baseline */
    .card .btn {
        align-self: center;
        margin-top: 20px;
    }


/* Map */
.map-container {
    width: 1000px;
    border: none;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #5AA9E6;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

.footer-links {
    align-items: center;
    padding-top: 20px;
}

.partners {
    margin-bottom: 20px;
}

    .partners h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: white;
    }

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px 0;
}

    .partner-logos img {
        width: 120px;
        height: auto;
        max-width: 120px;
        object-fit: contain;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

        .partner-logos img:hover {
            transform: scale(1.05);
        }


/* Layout wrapper & sticky footer fix */
.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}
