/* ============================================================
   Rommelmarkt Kuurne – Centrale stylesheet
   Gedeeld door: index.html, inschrijven.html
   ============================================================ */

/* -- RESET & BASIS -- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d7a3e;
    --light-green:   #4a9d5f;
    --dark-green:    #1a5228;
    --accent-green:  #82c891;
    --white:         #ffffff;
    --light-gray:    #f5f5f5;
    --text-dark:     #333333;
    --text-light:    #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* -- LAYOUT -- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* -- HEADER & NAV -- */
header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:not(.social-link):hover {
    background-color: rgba(255,255,255,0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Terugknop (inschrijven.html) */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.back-btn:hover {
    background-color: rgba(255,255,255,0.28);
    transform: translateX(-3px);
}

/* -- HERO (index.html) -- */
.hero {
    position: relative;
    color: var(--white);
    padding: 0;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
}

.video-banner.active {
    display: block;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 122, 62, 0.3) 0%, rgba(74, 157, 95, 0.3) 100%);
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* -- PAGINA-HEADER (inschrijven.html) -- */
.page-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* -- BREADCRUMB (inschrijven.html) -- */
.breadcrumb {
    background-color: var(--light-gray);
    padding: 0.6rem 0;
    font-size: 0.88rem;
    color: var(--text-light);
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.4rem;
}

/* -- KNOPPEN -- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background-color: var(--dark-green);
    color: var(--white);
}

/* -- SECTIONS -- */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

/* -- KAARTEN -- */
.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card .date {
    color: var(--light-green);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* -- INFO GRID -- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-green);
    border-radius: 5px;
}

.info-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* -- REGLEMENT LIJST -- */
.reglement-list {
    list-style: none;
    margin-top: 1rem;
}

.reglement-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.reglement-list li:before {
    content: "\2713 ";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* -- STAPPEN (inschrijven.html) -- */
.steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--white);
    border-radius: 10px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-left: 5px solid var(--primary-green);
}

.step-number {
    background: var(--primary-green);
    color: var(--white);
    font-weight: bold;
    font-size: 1.1rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.step-content h4 {
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.97rem;
}

/* -- TIPS (inschrijven.html) -- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tip-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
}

.tip-card .tip-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.tip-card h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* -- FAQ (inschrijven.html) -- */
.faq-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

details.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
}

details.faq-item summary {
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
    content: "+";
    color: var(--primary-green);
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

details.faq-item[open] summary::after {
    transform: rotate(45deg);
}

details.faq-item summary:hover {
    background-color: #f0f8f2;
}

details.faq-item[open] summary {
    background-color: #eaf5ed;
    color: var(--primary-green);
}

.faq-answer {
    padding: 1rem 1.4rem 1.3rem;
    color: var(--text-light);
    font-size: 0.97rem;
    border-top: 1px solid #e5f0e8;
    line-height: 1.7;
}

/* -- IFRAME (inschrijven.html) -- */
.iframe-section {
    padding: 3.5rem 0;
    background-color: var(--light-gray);
}

.iframe-wrapper {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: var(--white);
}

.iframe-wrapper iframe {
    width: 100%;
    /*height: 750px;*/
    border: none;
    display: block;
}

/* -- CTA BALK (inschrijven.html) -- */
.cta-bar {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.cta-bar p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

/* -- FOOTER -- */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.footer-section a:not(.social-link):hover {
    color: var(--accent-green);
}

/* Sociale media knoppen: overal hetzelfde */
.footer-section a.social-link,
.nav-links a.social-link {
    display: inline-flex;
    margin: 0;
    color: inherit;
}

.footer-section a.social-link:hover,
.nav-links a.social-link:hover {
    color: inherit;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
    overflow: hidden;
    background-color: transparent;
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 1px;
}

.social-link svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
    flex-shrink: 0;
}

/* Sociale media knoppen naast elkaar */
.social-icons {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

/* Hover: zelfde overal – enkel licht omhoog */
.social-link:hover {
    transform: translateY(-2px);
    outline-color: rgba(255,255,255,0.9);
}

.social-link--facebook {
    background-color: #1877F2;
}



.social-link--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}



.social-link--youtube {
    background-color: #FF0000;
}


/* Slideshow sponsors */
  .slide-container {
      position: relative;
      height: 450px;
      overflow: hidden;
    }

    .slide {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.8s ease;
      pointer-events: none;
    }

    .slide.active {
      opacity: 1;
      pointer-events: auto;
    }

    .slide img {
      max-height: 400px;
      max-width: 100%;
      object-fit: cover;
      /*filter: grayscale(100%) brightness(1.1);*/
      transition: filter 0.3s ease;
    }

    .slide.active img:hover {
      filter: grayscale(0%) brightness(1);
    }

    .slide a {
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      text-decoration: none;
    }

    .slide.active a:hover .slide-placeholder {
      border-color: #c8a96e;
      color: #c8a96e;
    }

    /* Placeholder styling wanneer er geen echte afbeelding is */
    .slide-placeholder {
      width: 600px;
      height: 400px;
      border: 1px solid #222;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #444;
      font-family: 'Bebas Neue', sans-serif;
      letter-spacing: 3px;
      font-size: 20px;
    }

    /* Dots */
    .dots {
      margin-top: 36px;
      display: flex;
      justify-content: center;
      gap: 10px;
    }

    .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #333;
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }

    .dot.active {
      background: #c8a96e;
      transform: scale(1.4);
    }

    /* Voortgangsbalk */
    .progress-bar {
      width: 100%;
      height: 1px;
      background: #1a1a1a;
      margin-top: 30px;
      position: relative;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: #c8a96e;
      width: 0%;
      transition: width linear;
    }



/* -- RESPONSIVE -- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .hero {
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .event-cards {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .step {
        flex-direction: column;
        gap: 0.7rem;
    }

    .iframe-wrapper iframe {
       /* height: 1000px;*/
	   ;
    }
}
