/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile Performance & Touch Optimizations */
html {
    -webkit-tap-highlight-color: rgba(44, 95, 125, 0.2);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling for touch devices */
* {
    -webkit-overflow-scrolling: touch;
}

/* Better touch targets for interactive elements */
a, button, input, select, textarea {
    touch-action: manipulation; /* Prevents double-tap zoom */
}

/* Prevent text selection on buttons and links for better mobile UX */
button, .btn, .nav-link {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

:root {
    --primary-color: #2c5f7d;
    --secondary-color: #4a7fa0;
    --accent-color: #1e4a5f;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

/* LOGO FIX - DIT MOET ER PER SE STAAN */
.navbar .logo img {
    height: 58px !important;     /* desktop */
    width: auto !important;
    max-width: 220px !important;  /* voorkomt dat hij ooit te breed wordt */
    object-fit: contain !important;
    display: block !important;
}

/* Tablet kleiner */
@media (max-width: 992px) {
    .navbar .logo img {
        height: 40px !important;
        max-width: 150px !important;
    }
}

/* Mobiel veel kleiner */
@media (max-width: 768px) {
    .navbar .logo img {
        height: 32px !important;
        max-width: 120px !important;
    }
}

/* Zeer kleine schermen (phones) */
@media (max-width: 576px) {
    .navbar .logo img {
        height: 28px !important;
        max-width: 100px !important;
    }
}

/* Extra kleine schermen */
@media (max-width: 400px) {
    .navbar .logo img {
        height: 24px !important;
        max-width: 80px !important;
    }
}

/* Logo container aanpassingen voor mobiel */
@media (max-width: 768px) {
    .logo {
        font-size: 1rem !important;
        gap: 6px !important;
    }

    .navbar .nav-container {
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 0.9rem !important;
        gap: 5px !important;
    }

    .logo span {
        font-size: 0.9rem !important;
    }

    .navbar .nav-container {
        padding: 0.4rem 0.8rem !important;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 0.8rem !important;
        gap: 4px !important;
    }

    .logo span {
        font-size: 0.8rem !important;
    }

    .navbar .nav-container {
        padding: 0.3rem 0.6rem !important;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/wedstrijdvijver.jpg') center/cover;
    opacity: 0.3;
    transition: background-image 1s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 125, 0.5) 0%, rgba(74, 127, 160, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Weather Section */
.weather-section {
    padding: 5rem 0;
    background: var(--white);
}

.weather-widget {
    max-width: 1000px;
    margin: 0 auto;
}

.weather-container {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5f7d 50%, #3a7ca5 100%);
    border-radius: 24px;
    padding: 3rem;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.weather-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.weather-loading {
    text-align: center;
    padding: 4rem;
    position: relative;
    z-index: 1;
}

.weather-loading i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.weather-current {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.weather-icon {
    font-size: 6rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.weather-temp {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.weather-description {
    font-size: 1.6rem;
    text-transform: capitalize;
    margin-top: 0.5rem;
    opacity: 0.95;
}

.weather-location h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255,255,255,0.25);
    position: relative;
    z-index: 1;
}

.weather-detail-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.weather-detail-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.weather-detail-item i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.weather-detail-item strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.weather-detail-item span {
    font-size: 0.95rem;
    opacity: 0.9;
    display: block;
}

/* Fishing Permit Section */
.permit-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.permit-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.permit-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card.highlight {
    border-left: 4px solid var(--primary-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.permit-prices {
    list-style: none;
    padding: 0;
}

.permit-prices li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.permit-prices li:last-child {
    border-bottom: none;
}

.permit-prices .price {
    color: var(--primary-color);
    font-weight: 600;
}

.info-card ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.info-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.permit-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.permit-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--bg-light);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Calendar Section */
.calendar-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.calendar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
}

.calendar-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-table th,
.calendar-table td {
    padding: 1rem;
    text-align: left;
}

.calendar-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: var(--transition);
}

.calendar-table tbody tr:hover {
    background: var(--bg-light);
}

.calendar-table .event-type {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-type.vrije-gewone { background: #f0f8ff; color: #2c5f7d; }
.event-type.vrije-koppel { background: #fff4e6; color: #d97706; }
.event-type.clubwedstrijd { background: #f0fff0; color: #16a34a; }
.event-type.avondwedstrijd { background: #fff8dc; color: #ca8a04; }
.event-type.criterium { background: #ffebcd; color: #dc2626; }
.event-type.veteranen { background: #e0f7fa; color: #0891b2; }
.event-type.nachtkoppel { background: #e6e6fa; color: #6366f1; }

/* Registration Section */
.registration-section {
    padding: 5rem 0;
    background: var(--white);
}

.registration-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.registration-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.registration-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-radius: 5px;
}

.price-amount {
    font-weight: bold;
    color: var(--primary-color);
}

.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    margin-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

.registration-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
}

/* History Section */
.history-section {
    padding: 5rem 0;
    background: var(--white);
}

.history-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.history-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.history-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.history-highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.history-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

/* Route Section */
.route-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.route-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.route-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.route-info h3 i {
    margin-right: 0.5rem;
}

.address {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.route-instructions {
    list-style: none;
    margin-bottom: 2rem;
}

.route-instructions li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c5f7d 0%, #1a3d52 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 0.75rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.footer-section small {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-section a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: var(--transition);
    position: absolute;
    left: -20px;
}

.footer-section a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-section a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: var(--transition);
    color: #fff;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.footer-bottom p {
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Payment Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
}

.payment-success {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.payment-success i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.payment-success h3 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.payment-details h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0 2rem;
}

.qr-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.qr-code-container {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qr-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.qr-hint i {
    color: var(--primary-color);
}

.manual-payment {
    border-top: 2px dashed #ddd;
    padding-top: 2rem;
    margin-top: 2rem;
}

.bank-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item strong {
    color: var(--primary-color);
    min-width: 150px;
}

.bank-detail-item span {
    flex: 1;
    text-align: right;
    margin-right: 1rem;
    font-family: monospace;
    font-size: 1.1rem;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.payment-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.payment-note i {
    color: #856404;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.payment-note p {
    margin: 0;
    color: #856404;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.modal-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE & TABLET OPTIMIZED
   ======================================== */

/* Tablet & Large Mobile - 992px */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    /* Hero section adjustments */
    .hero {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    /* About cards - 2 columns on tablet */
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Stats section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Gallery - 2 columns */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer - 2 columns */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    /* Typography scaling */
    html {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Navigation - Mobile menu */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Hero section */
    .hero {
        min-height: 50vh;
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Sections - Better spacing */
    section {
        padding: 3rem 0 !important;
    }

    /* About section - 1 column */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 2rem;
    }

    /* Stats section - 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Registration form */
    .registration-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .registration-info {
        order: 2; /* Put price info below form on mobile */
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Calendar table - Responsive */
    .calendar-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .calendar-table {
        font-size: 0.9rem;
        min-width: 600px; /* Prevent too much squashing */
    }

    .calendar-table th,
    .calendar-table td {
        padding: 0.6rem 0.4rem;
    }

    /* Modals */
    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-actions .btn {
        width: 100%;
    }

    /* Permit & Weather sections */
    .permit-container,
    .weather-details {
        grid-template-columns: 1fr;
    }

    .weather-temp {
        font-size: 3rem;
    }

    .weather-main {
        flex-direction: column;
        text-align: center;
    }

    /* History, Route, Contact sections */
    .history-content,
    .route-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 400px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile - 600px */
@media (max-width: 600px) {
    /* Even smaller typography */
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    /* Hero */
    .hero {
        min-height: 40vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Stats - 1 column on small mobile */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    /* Forms - Better touch targets */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* Prevent iOS zoom on focus */
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Buttons - Larger touch targets */
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px; /* iOS recommended touch target */
    }

    .btn-large {
        padding: 16px 28px;
        width: 100%;
    }

    /* Calendar table - Hide less important columns */
    .calendar-table th:nth-child(2),
    .calendar-table td:nth-child(2) {
        display: none; /* Hide "Dag" column */
    }

    /* Gallery - 1 column */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Weather section */
    .weather-icon {
        font-size: 4rem;
    }

    .weather-temp {
        font-size: 2.5rem;
    }

    .weather-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Map */
    .map-container {
        height: 300px;
    }

    /* Payment options - Stack vertically and make very compact */
    .payment-option {
        padding: 6px 8px !important;
        gap: 6px !important;
        font-size: 12px !important;
        min-height: auto !important;
    }

    .payment-option div {
        line-height: 1.2 !important;
    }

    .payment-option strong {
        font-size: 12px !important;
        display: block;
    }

    .payment-option small {
        font-size: 10px !important;
        margin-top: 2px !important;
        line-height: 1.2 !important;
    }

    .payment-option input[type="radio"] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    /* QR Code section */
    .qr-code-container {
        max-width: 250px;
        margin: 0 auto;
    }

    /* Back to top button */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    /* Extra small typography */
    html {
        font-size: 12px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.75rem;
    }

    /* Calendar - More compact */
    .calendar-table {
        font-size: 0.85rem;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 0.4rem 0.3rem;
    }

    /* Hide more columns for very small screens */
    .calendar-table th:nth-child(4),
    .calendar-table td:nth-child(4) {
        display: none; /* Hide "Wedstrijd" type column */
    }

    /* Filter buttons */
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* About cards - More compact */
    .about-card {
        padding: 1.5rem;
    }

    .about-icon {
        font-size: 2rem;
    }

    /* Contact items */
    .contact-item {
        padding: 1.5rem;
    }

    .contact-item i {
        font-size: 2rem;
    }

    /* Weather */
    .weather-icon {
        font-size: 3.5rem;
    }

    .weather-temp {
        font-size: 2rem;
    }
}

/* Extra Small Phones - 360px */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    /* Even more compact buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Navigation */
    .nav-link {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Very Small Phones - 320px */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Logo smaller */
    .navbar .logo span {
        font-size: 1rem;
    }

    /* Stats very compact */
    .stat-card {
        padding: 1rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }
}
