/* ===========================================
   DE SAMENSMELTING - Dark Theme with Orange
   =========================================== */

/* Color Variables */
:root {
    /* Primary accent */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8555;

    /* Grayscale */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --border: #2a2a2a;
    --border-light: #3a3a3a;
    --text-light: #ffffff;
    --text-muted: #999999;
    --text-subtle: #666666;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   BACKGROUND
   =========================================== */
.flag-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-dark);
}

.flag-nl,
.flag-tr {
    display: none;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* Hero background images */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-nl,
.hero-bg-tr {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.6s ease, mask-position 0.6s ease, -webkit-mask-position 0.6s ease;
}

.hero-bg-nl {
    background-image: url('nl.jpg');
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 30%, transparent 70%);
    mask-image: linear-gradient(to right, black 0%, black 30%, transparent 70%);
}

.hero-bg-tr {
    background-image: url('tr.jpg');
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(to left, black 0%, black 30%, transparent 70%);
    mask-image: linear-gradient(to left, black 0%, black 30%, transparent 70%);
}

/* Hover states */
.hero.hover-nl .hero-bg-nl {
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
}

.hero.hover-nl .hero-bg-tr {
    opacity: 0;
}

.hero.hover-tr .hero-bg-tr {
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(to left, black 0%, black 80%, transparent 100%);
    mask-image: linear-gradient(to left, black 0%, black 80%, transparent 100%);
}

.hero.hover-tr .hero-bg-nl {
    opacity: 0;
}

/* Dark overlay for readability */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.title {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.names {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.name {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 400;
}

.name-nl {
    color: var(--text-light);
}

.name-tr {
    color: var(--text-light);
}

.ampersand {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-subtle);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 auto 50px auto;
    max-width: 500px;
    line-height: 1.8;
    text-align: center;
}

.date-badge {
    display: inline-flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid #333;
    color: white;
    padding: 30px 60px;
    position: relative;
}

.date-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.date-badge .day {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Oswald', sans-serif;
}

.date-badge .month {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--text-muted);
}

.date-badge .year {
    font-size: 0.9rem;
    color: var(--text-subtle);
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-subtle);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .arrow {
    width: 15px;
    height: 15px;
    border-right: 1px solid var(--text-subtle);
    border-bottom: 1px solid var(--text-subtle);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===========================================
   COUNTDOWN SECTION
   =========================================== */
.countdown-section {
    padding: 80px 20px;
    background: var(--bg-card);
    text-align: center;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.countdown-section h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--bg-dark);
    border: 1px solid #333;
    padding: 25px 35px;
    min-width: 100px;
}

.countdown-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Oswald', sans-serif;
    color: var(--text-light);
}

.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-subtle);
}

/* ===========================================
   INFO SECTION - Playful scattered bubbles
   =========================================== */
.info-section {
    padding: 80px 20px;
    background: var(--bg-dark);
}

.info-scatter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.info-bubble {
    background: var(--bg-card);
    border: 2px solid #333;
    border-radius: 20px;
    padding: 25px 35px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.info-bubble:hover {
    transform: scale(1.05) rotate(0deg) !important;
    border-color: var(--primary);
    z-index: 10;
}

.info-bubble.wanneer {
    transform: rotate(-3deg);
}

.info-bubble.waar {
    transform: rotate(2deg) translateY(-10px);
}

.info-bubble.wat {
    transform: rotate(-2deg);
}

.info-bubble .label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-bubble .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-bubble .extra {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.info-bubble .route-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.info-bubble .route-link:hover {
    color: var(--text-light);
}

.calendar-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.calendar-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.calendar-link:hover {
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid #444;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.75rem;
}

.btn-large {
    padding: 18px 50px;
    font-size: 0.95rem;
    background: var(--primary);
    border: none;
}

.btn-large:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* ===========================================
   STORY SECTION
   =========================================== */
.story-section {
    padding: 100px 20px;
    background: var(--bg-card);
    text-align: center;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.story-section h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-light);
    font-weight: 400;
}

.story-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.culture-card {
    background: var(--bg-dark);
    border: 1px solid #333;
    padding: 35px 45px;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary);
}

.culture-card:hover {
    border-color: #444;
}

.culture-card .flag-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.culture-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.culture-card.nl h3 {
    color: var(--text-light);
}

.culture-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.merge-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
}

.merge-symbol .plus {
    font-size: 2.5rem;
    color: var(--text-subtle);
    font-weight: 300;
}

.story-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
}

/* ===========================================
   PROGRAM SECTION
   =========================================== */
.program-section {
    padding: 100px 20px;
    background: var(--bg-dark);
}

.program-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 400;
}

.program-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 50px;
}

.timeline {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 70px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #333;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 66px;
    top: 8px;
    width: 9px;
    height: 9px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.timeline-item .time {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 55px;
    text-align: right;
    color: var(--text-light);
    font-family: 'Oswald', sans-serif;
}

.timeline-item .event {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 20px 25px;
    flex: 1;
}

.timeline-item .event h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-light);
    font-weight: 400;
}

.timeline-item .event p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===========================================
   RSVP SECTION
   =========================================== */
.rsvp-section {
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-card);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.rsvp-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 400;
}

.rsvp-section > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.rsvp-note {
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.rsvp-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.rsvp-form input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    border: 1px solid #444;
    color: var(--text-light);
    text-align: center;
    transition: border-color 0.3s ease;
}

.rsvp-form input[type="text"]::placeholder {
    color: var(--text-subtle);
}

.rsvp-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}

.rsvp-form button[type="submit"] {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.rsvp-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rsvp-message {
    margin-top: 20px;
    padding: 15px 25px;
    font-size: 1rem;
}

.rsvp-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.rsvp-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    padding: 60px 20px;
    background: var(--bg-dark);
    text-align: center;
}

.footer-names {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.footer-date {
    font-size: 1rem;
    color: var(--text-subtle);
    margin-bottom: 15px;
}

.footer-hashtag {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 768px) {
    .countdown-item {
        padding: 20px 25px;
        min-width: 80px;
    }

    .countdown-item .number {
        font-size: 2rem;
    }

    .timeline::before {
        left: 55px;
    }

    .timeline-item::before {
        left: 51px;
    }

    .timeline-item .time {
        min-width: 40px;
        font-size: 1rem;
    }

    .culture-card {
        padding: 25px 35px;
    }

    .date-badge {
        padding: 25px 45px;
    }

    .date-badge .day {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .names {
        flex-direction: column;
        gap: 10px;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        padding: 15px 20px;
        min-width: 70px;
    }

    .countdown-item .number {
        font-size: 1.5rem;
    }

    .countdown-item .label {
        font-size: 0.6rem;
    }

    .tagline {
        font-size: 1rem;
        padding: 0 10px;
    }

    .info-scatter {
        flex-direction: column;
        gap: 20px;
    }

    .info-bubble {
        transform: rotate(0deg) !important;
        width: 100%;
        max-width: 280px;
    }

    .info-bubble.waar {
        transform: translateY(0) !important;
    }
}

/* ===========================================
   CHECKBOX STYLING
   =========================================== */
.checkbox-group {
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 22px;
    width: 22px;
    background: var(--bg-dark);
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ===========================================
   TERMS PAGE
   =========================================== */
.terms-page {
    min-height: 100vh;
    padding: 60px 20px;
}

.terms-page .container {
    max-width: 800px;
}

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 40px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-light);
}

.terms-page h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 400;
}

.terms-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-style: italic;
}

.terms-content {
    text-align: left;
}

.terms-section {
    margin-bottom: 40px;
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 30px;
}

.terms-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.terms-section ul {
    list-style: none;
    padding: 0;
}

.terms-section > ul > li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.terms-section > ul > li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.terms-section ul ul {
    margin-top: 10px;
    margin-left: 10px;
}

.terms-section ul ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.terms-section ul ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--text-subtle);
}

.terms-section strong {
    color: var(--text-light);
}

.terms-footer {
    text-align: center;
    margin: 60px 0 40px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.terms-footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.terms-signature {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--text-light) !important;
}

.terms-hashtag {
    color: var(--text-subtle) !important;
    font-size: 0.9rem;
}

.terms-page .btn-large {
    display: inline-block;
    margin-top: 20px;
}
