body {
    background-color: white; /* Ensure the iframe has a white background */
}

/* Core Variables */
:root {
    --primary: #004a8d; /* WVLR Blue */
    --secondary: #46aa42; /* WVLR Green */
    --accent: #ff6b6b;
    --light: #f8fafc;
    --dark: #26292f;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

    h2:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--secondary);
    cursor: pointer;
}

    .btn:hover {
        background: transparent;
        color: var(--primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
}

    .btn-secondary:hover {
        color: var(--secondary);
    }

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Position the logo as relative container for the line */
.logo {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* The animated green line */
.logo-animation-line {
    position: absolute;
    bottom: 50px;
    left: 55px;
    width: 200%;
    height: 3px;
    background-color: var(--secondary);
    transform-origin: left center;
    transform: scaleX(0); /* start hidden */
    opacity: 1;
    animation: swipeIn 1.5s ease-in-out forwards;
}

@keyframes swipeIn {
    0% {
        transform: scaleX(0);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}


/*.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}*/
        .logo img {
        height: 100px; 
        margin-right: 15px;
    }

.logo-text {
    display: flex;
    flex-direction: column;
}

    .logo-text .club-name-first {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
        line-height: 1;
    }

    .logo-text .club-name-second {
        font-size: 2.5rem;
        color: var(--primary);
        line-height: 1;
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

    .nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        font-size: 1.1rem;
        transition: var(--transition);
    }

        .nav_links_a_active, .nav-links a:hover {
            color: var(--secondary);
        }

    .nav-links button {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        font-size: 1.1rem;
        transition: var(--transition);
    }

        .nav_links_button_active, .nav-links button:hover {
            color: var(--secondary);
        }

/* Hide dropdown by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 8px 0;
    min-width: 160px;
    display: none;
    z-index: 1001;
    border-radius: 4px;
}

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        color: #333;
        text-decoration: none;
        white-space: nowrap;
    }

        .dropdown-menu a:hover {
            background-color: #f5f5f5;
        }

/* Show on hover */
.nav-item-has-dropdown {
    position: relative;
}

.nav-item-has-dropdown:hover .dropdown-menu {
    display: block;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(-15deg, var(--primary) -85%, var(--secondary) 50%);
    color: var(--white);
    padding: 220px 0 100px;
    text-align: center;
}

    .hero h1 {
        color: var(--white);
        margin-bottom: 1.5rem;
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 2rem;
        color: var(--white);
        opacity: 0.9;
    }

    .hero .btn {
        background: var(--primary);
        color: var(--white);
        border: 2px solid var(--primairy);
    }

/* Section Layout */
section {
    padding: 150px 0;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.section-text {
    flex: 1;
    min-width: 300px;
}

.section-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

    .section-image img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 15px;
        object-fit: cover;
    }

/* Outfit */
.outfit {
    background: var(--white);
}

.outfit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin: 2.5rem 0;
}

.outfit-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
    align-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .outfit-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

.outfit-image img {
    max-width: 250px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    max-height: 250px;
}

/* Group-rides */
.group-rides {
    background: var(--white);
}

/* Sponsors */
.sponsors {
    background: var(--light-gray);
}

.sponsors-grid {
    display: grid;    
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin: 2.5rem 0;
}

.sponsor-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .sponsor-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

.sponsor-image img {
    max-width: 150px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    max-height: 80px;
}

.sponsor-name {
    font-size: 1.2rem;
    margin: 0.6rem 0;
    color: #222;
}

.sponsor-address p {
    margin: 0.35rem 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #444;
}

.sponsor-address a {
    color: #1e7e34; /* of jouw clubkleur */
    text-decoration: none;
}

    .sponsor-address a:hover {
        text-decoration: underline;
    }

/* Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .event-card:hover {
        transform: translateY(-5px);
    }

.event-date {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.event-content {
    padding: 25px;
}

    .event-content p {
        margin-bottom: 20px;
    }

/* Contact */
/*.contact {
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}*/

.contact {
    background: var(--light);
    padding: 3rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start; /* zorgt dat icoon bovenaan blijft bij meerdere regels */
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0; /* voorkomt dat icoon smaller wordt bij smalle containers */
}

.contact-item h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

    .contact-item a:hover {
        text-decoration: underline;
    }

.location-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .location-links li {
        margin-bottom: 0.4rem;
    }

/* Contact Form */
.form-group {
    margin-bottom: 15px;
}

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--light-gray);
        border-radius: 8px;
        font-size: 1rem;
    }

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /*background: rgba(255, 255, 255, 0.1);*/
    border-radius: 50%;
    transition: var(--transition);
}

    .social-link .fa-facebook-f {
        background: #1877F2;
    }

    .social-link .fa-strava {
        background: #fc5200;
    }

    .social-link .fa-route {
        background: #ffd400;
    }


.social-link:hover i {
    transform: translateY(-3px);
    background: var(--secondary);
}
        
copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

        .nav-links.show {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 150px 0 80px;
    }

    section {
        padding: 100px 0;
    }

    .section-content {
        flex-direction: column;
    }

    .logo img {
        height: 50px;
    }

    .logo-animation-line {
        position: absolute;
        bottom: 25px;
        left: 28px;
        width: 150%;
        height: 2px;
        background-color: var(--secondary);
        transform-origin: left center;
        transform: scaleX(0); /* start hidden */
        opacity: 1;
        animation: swipeIn 1.5s ease-in-out forwards;
    }

    .logo-text .club-name-first {
        font-size: 1.2rem;
    }

    .logo-text .club-name-second {
        font-size: 1.5rem;
    }

    .sponsor-image img {
        height: 75px;
    }

    .sponsor-address {
        height: 200px; /* fixed height to prevent layout shifts */
    }

    .sponsor-address .sponsor-name {
        height: 75px; /* fixed height to prevent layout shifts */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }
}
