﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fce4ec;
    overflow-x: hidden;
}

.intro-titel {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #ad1457;
    margin-bottom: 20px;
}

.introductietekst {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #ad1457;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.planningpagina-wrapper {
   max-width: 100vw!important;
   width: 90vw!important;
}

.planningcontainer {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin: 30px auto;
    max-width: 100vh;
}

    .planningcontainer h2 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.8rem;
        color: #c2185b;
    }

.planninglijst {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    color: #333;
}

    .planninglijst li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInOnly 0.4s ease-in both;
}

.hero-header {
    background-color: #f8d3e0;
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
}

.hero-logo {
    max-height: 200px;
    max-width: 90%;
    object-fit: contain;
}

.hamburger {
    display: none;
}

.main-nav {
    width: 100%;
    background: #fff0f6;
    border-bottom: 1px solid #f8bbd0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 99;
    margin-top: 0 !important;
    margin-bottom: 0;
    padding-top: 0 !important;
}

    .main-nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
    }

    .main-nav li {
        margin: 0;
        padding: 0;
    }

    .main-nav a {
        display: block;
        padding: 16px 24px;
        color: #ad1457;
        text-decoration: none;
        font-size: 1.15rem;
        font-family: 'Segoe UI', sans-serif;
        border-radius: 18px;
        transition: background 0.15s, color 0.15s;
        font-weight: 600;
    }

        .main-nav a:hover,
        .main-nav a.active {
            background: #f8bbd0;
            color: #fff;
        }
main {
    flex: 1 0 auto;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pdf-wrapper {
    width: 100%;
    max-width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 20px;
    overflow: hidden;
}

.pdfpagina-wrapper {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 20px;
}

canvas {
    display: block;
    margin: 0 auto 40px auto;
    max-width: 100%;
    height: auto;
}

.page-footer {
    width: 100%;
    background-color: #f8bbd0;
    color: #333;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    margin-top: 50px;
    border-top: 1px solid #e0a9bc;
    z-index: 1000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

    .video-wrapper video {
        max-height: 90vh;
        height: auto;
        width: auto;
        max-width: 100%;
        display: block;
        border-radius: 12px;
    }
.mobile-background {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff0f6;
    color: #a9005e;
    padding: 18px 28px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(160, 0, 94, 0.10);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    z-index: 9999;
    font-size: 1rem;
    max-width: 98vw;
    min-width: 220px;
    width: fit-content;
}

    .cookie-banner a {
        color: #a9005e;
        text-decoration: underline;
    }

.cookie-btn {
    background: #a9005e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 12px;
}

    .cookie-btn:hover,
    .cookie-btn:focus {
        background: #e1337a;
    }

.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(220, 0, 90, 0.20);
    backdrop-filter: blur(2px);
}

.privacy-modal-content {
    background: #fff0f6;
    margin: 50px auto;
    padding: 32px 20px 22px 20px;
    border-radius: 18px;
    max-width: 460px;
    box-shadow: 0 8px 36px rgba(0,0,0,0.12);
    color: #a9005e;
    font-size: 1.07rem;
    position: relative;
}

    .privacy-modal-content h2,
    .privacy-modal-content h3 {
        color: #a9005e;
        font-family: 'Playfair Display', serif;
        margin-top: 8px;
        margin-bottom: 10px;
    }

.privacy-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #a9005e;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}
.ceremonie-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ceremonie-header-title {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    color: #222;
    margin: 0;
    font-weight: 700;
}

.ceremonie-video-knop {
    font-size: 1.15rem;
    padding: 14px 26px;
    border-radius: 14px;
    border: none;
    background: #ad1457;
    color: #fff;
    font-weight: 600;
    transition: background 0.15s;
    margin-left: 8px;
    margin-top: 50px;
    box-shadow: 0 2px 8px rgba(173, 20, 87, 0.08);
}

    .ceremonie-video-knop:hover,
    .ceremonie-video-knop:focus {
        background: #e1337a;
        color: #fff;
    }

.ceremonie-video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 8, 32, 0.54);
    backdrop-filter: blur(2px) brightness(0.9);
    transition: opacity 0.22s cubic-bezier(.6,0,.4,1);
    opacity: 1;
}

.ceremonie-video-modal-content {
    background: #fff;
    margin: 4vw auto;
    padding: 0;
    border-radius: 28px;
    max-width: 900px;
    min-width: 0;
    box-shadow: 0 14px 48px rgba(0,0,0,0.20), 0 2px 8px rgba(170, 20, 90, 0.09);
    position: relative;
    overflow: hidden;
    animation: popin-modal 0.35s cubic-bezier(.6,0,.4,1);
}

@keyframes popin-modal {
    0% {
        transform: scale(0.94) translateY(16px);
        opacity: 0.4;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.ceremonie-video-modal-close {
    position: absolute;
    top: 15px;
    right: 26px;
    font-size: 2.3rem;
    color: #ad1457;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    background: #fff;
    border: 2px solid #c00;
    border-radius: 50%;
    padding: 4px 12px;
    z-index: 999999 !important;
}
    .ceremonie-video-modal-close:hover {
        background: #fce4ec;
    }

.ceremonie-video-element {
    display: block;
    width: 100%;
    max-width: 900px;
    border-radius: 0 0 28px 28px;
    background: #181818;
}

@media (max-width: 600px) {
    .ceremonie-video-modal-content {
        max-width: 98vw;
        padding: 10px 1vw 8px 1vw;
    }

    .ceremonie-video-modal-content {
        max-width: 98vw;
        border-radius: 8vw;
    }

    .ceremonie-video-element {
        border-radius: 0 0 8vw 8vw;
    }
}

@media (min-width: 992px) {
    .pdf-wrapper {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .pdf-wrapper {
        max-width: 1100px;
    }
}
@media (max-width: 767px) {
    .cookie-banner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 13px 8px;
        font-size: 0.99rem;
        width: 95vw;
        min-width: 0;
      }

    canvas {
        width: 100% !important;
        height: auto !important;
        max-width: 100vw;
        max-height: 90vh;
    }

    .cookie-btn {
        width: 50%;
        margin-left: 0;
        padding: 10px 0;
        font-size: 1.07rem;
    }

    .hero-header {
        margin-bottom: 0px !important;
    }
    .planningpagina-wrapper {
        max-width: 90vw !important;
        width: 90vw !important;
    }
    main {       
        padding: 20px 0px;    
    }

     .pdf-wrapper {
        max-width: 720px;
        padding-bottom: 0px!important;
        padding-top: 0px!important
    }
    .intro-titel {
        font-size: 2.0rem;
    }

    .introductietekst {
        font-size: 1.0rem;
        position: relative;
        z-index: 1;
    }
    .pdfpagina-wrapper {
        padding: 0px 20px;
        position: relative;
        z-index: 1;
    }

    .pdfpagina-container {
        position: relative;
    }

    .mobile-background {
        display: block;
        position: absolute;
        inset: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 120%;
        background-image: url('/content/Background.jpg');
        background-size: cover;
        background-position: center;
        background-color: rgba(255, 255, 255, 0.5);
        background-blend-mode: lighten;
        filter: blur(10px);
        z-index: 0;
    }

    .privacy-modal-content {
        max-width: 90vw;
        padding: 16px 5vw 14px 5vw;
    }

    .ceremonie-video-modal-content {
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        padding: 0;
        margin: 0;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .ceremonie-video-element {
        width: 100vw;
        height: auto;
        max-height: 68vh;
        border-radius: 0 0 6vw 6vw;
        background: #181818;
        margin: 0 auto;
        display: block;
    }

    .ceremonie-video-modal-close {
        top: 8px;
        right: 12px;
        font-size: 2.1rem;
        padding: 2px 10px;
        border-radius: 50%;
    }
    .ceremonie-header-column {
        max-width: 98vw;
        padding-left: 0;
        margin: 28px 0 18px 0;
    }

    .ceremonie-header-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .ceremonie-video-knop {
        width: 50vw;
        max-width: 320px;
        font-size: 1.09rem;
        padding: 12px 0;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        padding: 1.2rem 0;
        z-index: 1000;
        gap: 8px;
    }

        .main-nav ul.open {
            display: flex;
        }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; 
        width: 34px; 
        height: 34px;
        background: none;
        border: none;
        padding: 0;
        margin-left: 16px; 
        margin-right: 0;
        z-index: 1001;
        cursor: pointer;
    }

    .main-nav ul.open {
        animation: fadeDownMenu 0.33s cubic-bezier(.6,0,.4,1);
    }

    @keyframes fadeDownMenu {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hamburger span {
        height: 2.5px;
        width: 22px;
        background: #ad1457;
        margin: 4px 0;
        border-radius: 2px;
        display: block;
        transition: all 0.33s cubic-bezier(.6,0,.4,1);
        position: relative;
    }

       .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(-45deg);
        width: 14px;
        left: 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(45deg);
        width: 14px;
        left: 0; 
    }

    .main-nav ul li {
        border-bottom: 1px solid #f8bbd0;
        width: 90vw;
        margin: 0 auto;
    }

        .main-nav ul li:last-child {
            border-bottom: none;
        }
}

@media (max-width: 600px) {
    .main-nav ul {
        gap: 8px;
    }

    .main-nav a {
        padding: 12px 10px;
        font-size: 1rem;
    }
}