/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

main {
    flex: 1 0 auto;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 0 20px;
}

header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Nav Section */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 90px;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: bold;
    height: 90px;
    min-width: 140px;
    flex: 0 0 auto;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
}

.logo span {
    margin-left: 0.5rem;
    white-space: nowrap;
    font-size: 1.3rem;
}

.nav-menu {
    flex: 1;
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.nav-menu .nav-terug {
    margin-left: auto;
    /* duwt 'Terug' helemaal naar rechts */
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    height: 90px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #3498db;
}

.nav-menu a.active {
    color: #e74c3c;
    font-weight: bold;
    border-bottom: 2px solid #e74c3c;
}

/* Article Section */
.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.article h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.article h2 {
    font-size: 1.5rem;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 10px;
}

.article p {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(52, 73, 94, 0.6)),
        url('../afbeeldingen/Hoofdpagina.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #e74c3c;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-button {
    display: block;
    max-width: 284px;
    margin: 20px auto 0;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.second-button {
    margin-top: 12px;
}

/* Main page Grid */
.content-grid {
    padding: 80px 20px;
    background-color: white;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}

.content-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #ecf0f1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.content-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-box p {
    color: #7f8c8d;
    font-size: 1rem;
}

.image-box {
    padding: 0;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

/* Advies Section */
.advies-section {
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    padding: 80px 20px;
}

.advies-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.advies-nav a {
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #2c3e50;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.advies-subsection {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advies-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.advies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.advies-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advies-card:hover {
    transform: translateY(-3px);
}

.advies-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.advies-card p {
    color: #7f8c8d;
}

/* Tips/About Section */
.overview-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.overview-section h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.topic-grid p {
    text-align: center;
    font-size: 0.95rem;
    padding: 0 15px 20px;
    color: #7f8c8d;
}

.topic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    background-size: cover;
    background-position: center;
}

.topic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.topic-card.waarom {
    background-image: url('../afbeeldingen/Waarom.jpg');
}

.topic-card.uitrusting {
    background-image: url('../afbeeldingen/Uitrusting1.jpg');
}

.topic-card.freestyle {
    background-image: url('../afbeeldingen/freestyle.jpg');
}

.topic-card.Eerste {
    background-image: url('../afbeeldingen/Eerste.jpg');
}

.topic-card.Fouten {
    background-image: url('../afbeeldingen/Fouten.jpg');
}

.topic-card.Veiligheid {
    background-image: url('../afbeeldingen/Veiligheid.jpg');
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.topic-card h2 {
    position: relative;
    color: white;
    font-size: 1.3rem;
    z-index: 1;
    margin: 0;
}

.topic-box {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Search Section */
.search-section {
    background-color: #34495e;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.search-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.search-button {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(45deg, #2980b9, #1f4e79);
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    color: #2c3e50;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    width: 100%;
    max-width: 560px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.suggestions div {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suggestions div:hover {
    background: #ecf0f1;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 20px;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Map */
.map-container {
    position: relative;
    width: 100%;
    margin: 20px auto;
    border-radius: 12px;
    padding-bottom: 80%;
    height: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (min-width: 768px) {
    .map-container {
        padding-bottom: 80%;
    }
}

@media (max-width: 950px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu a {
        height: auto;
        padding: 1rem;
        justify-content: flex-start;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .search-container {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .blog-card img {
        height: 180px;
    }

    .card-text h3 {
        font-size: 1rem;
    }

    .video-container iframe {
        height: 400px;
    }

    .map-container {
        padding-bottom: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 10px 60px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 12px 20px;
        max-width: 220px;
    }

    .content-box {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        font-size: 0.9rem;
    }

    .sticky-booking {
        padding: 8px 14px;
        font-size: 0.9rem;
        bottom: 60px;
        right: 10px;
    }

    .map-container {
        padding-bottom: 100%;
    }

    .video-container iframe {
        height: 250px;
    }

    .blog-grid {
        gap: 5px;
    }

    .blog-card img {
        height: 150px;
    }

    .card-text {
        padding: 10px;
    }

    .card-text h3 {
        font-size: 0.95rem;
    }
}

/* Videos / Blog*/
.videos-section,
.blog-section {
    padding: 60px 20px;
    background: #f9fbfc;
}

.videos-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-card,
.blog-post {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

/* Contact Sectie Styling */
.contact-section {
    background: #f5f6fa;
    padding: 40px 0;
    margin-top: 100px;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    padding: 32px;
}

.contact-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 24px;
}

.contact-imgs {
    margin-top: 32px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.contact-imgs img {
    width: 100%;
    border-radius: 10px;
}

.contact-form {
    display: grid;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d8e0;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9fafb;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form button {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #34495e;
}

/* Blog section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.blog-card img {
    width: 130%;
    height: 170%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.card-text {
    padding: 15px;
    background-color: #ecf0f1;
}

.card-text h3 {
    font-size: 1.1rem;
    color: #34495e;
}

.blog-card:hover .card-text {
    background-color: #3498db;
    color: white;
}

/* Booking button*/
.sticky-booking {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
}

.sticky-booking:hover {
    background: #c0392b;
}

/*Video*/
.video-container iframe {
    max-width: 100%;
    display: block;
    margin: 20px auto;
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  text-align: center;
}

/* Afbeelding in de lightbox */
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  margin-top: 5%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Sluitknop */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}