/* ===========================================
   Paasvuur op Erica 2026
   Stichting de Mammoet
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&family=Cinzel:wght@400;700;900&family=Philosopher:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fire-orange: #d4560a;
    --fire-yellow: #e2a32a;
    --fire-red: #8b1a00;
    --dark-earth: #110a04;
    --warm-brown: #3a2515;
    --stone: #2a1e14;
    --stone-gray: #7a6e5e;
    --parchment: #d9cdb5;
    --bone: #c4b69a;
    --cave-wall: #1c1308;
}

body {
    font-family: 'Philosopher', Georgia, serif;
    background-color: var(--dark-earth);
    color: var(--parchment);
    line-height: 1.8;
    overflow-x: hidden;
    background-image:
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}


/* ========== Fire particles ========== */

.fire-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    animation: rise linear infinite;
    opacity: 0;
}

@keyframes rise {
    0%   { opacity: 0;   transform: translateY(0) scale(1); }
    10%  { opacity: 0.7; }
    50%  { opacity: 0.3; }
    100% { opacity: 0;   transform: translateY(-100vh) scale(0.1); }
}


/* ========== Cave art decorations ========== */

.cave-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.cave-decoration svg {
    fill: var(--fire-orange);
}

.cave-left {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.cave-right {
    right: 1rem;
    top: 30%;
    transform: translateY(-50%) scaleX(-1);
}


/* ========== Hero ========== */

.hero {
    position: relative;
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: var(--dark-earth);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('vuur.jpg') center 60% / cover no-repeat;
    filter: brightness(0.55) saturate(1.3) contrast(1.1);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(17, 10, 4, 0.45) 0%,
            rgba(17, 10, 4, 0.2) 40%,
            rgba(17, 10, 4, 0.85) 100%
        );
    z-index: 0;
}

.hero-edge {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
    height: 30px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo-container img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(212, 86, 10, 0.5);
    box-shadow:
        0 0 40px rgba(212, 86, 10, 0.3),
        0 0 80px rgba(139, 26, 0, 0.15);
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 900;
    color: var(--fire-orange);
    text-shadow:
        0 0 30px rgba(212, 86, 10, 0.6),
        0 0 60px rgba(139, 26, 0, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.hero h1 span {
    display: block;
    font-size: 0.38em;
    color: var(--fire-yellow);
    letter-spacing: 0.2em;
    margin-top: 0.4em;
    opacity: 0.85;
}

.hero-subtitle {
    font-family: 'MedievalSharp', cursive;
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: var(--parchment);
    margin-top: 1rem;
    opacity: 0.85;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-date {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.2rem, 3.5vw, 1.7rem);
    color: var(--fire-yellow);
    margin-top: 0.6rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}


/* ========== Countdowns ========== */

.countdowns {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown {
    background: rgba(28, 19, 8, 0.7);
    border: 1px solid rgba(212, 86, 10, 0.25);
    padding: 1.2rem 1.8rem;
    text-align: center;
    clip-path: polygon(0% 1%, 99.5% 0%, 100% 99%, 0.5% 100%);
    min-width: 280px;
}

.countdown-label {
    font-family: 'MedievalSharp', cursive;
    font-size: 0.95rem;
    color: var(--bone);
    margin-bottom: 0.6rem;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.countdown-unit span {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--fire-orange);
    text-shadow: 0 0 15px rgba(212, 86, 10, 0.4);
    line-height: 1;
}

.countdown-unit small {
    font-size: 0.65rem;
    color: var(--stone-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

.countdown-sep {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--fire-red);
    margin-top: -0.8rem;
}

.countdown-date {
    font-size: 0.8rem;
    color: var(--stone-gray);
    margin-top: 0.5rem;
}

#countdown-vuur {
    border-color: rgba(212, 86, 10, 0.35);
}

#countdown-vuur .countdown-unit span {
    color: var(--fire-yellow);
    text-shadow: 0 0 20px rgba(226, 163, 42, 0.4);
}


/* ========== Main content ========== */

.content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
}


/* ========== Row layouts ========== */

.row {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.row-text {
    flex: 1 1 55%;
}

.row-photo {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
}

.row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--warm-brown);
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(212, 86, 10, 0.1);
    clip-path: polygon(0% 1%, 99.5% 0%, 100% 99%, 0.5% 100%);
}

.row-photo figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--stone-gray);
    font-style: italic;
    text-align: center;
}

/* Reverse: foto links, tekst rechts */
.row-reverse {
    flex-direction: row-reverse;
}

/* Twee gelijke helften */
.row-even {
    align-items: flex-start;
}

.row-half {
    flex: 1 1 50%;
}


/* ========== Sections (cave wall feel) ========== */

.section {
    position: relative;
    padding: 2rem 2rem 2rem 2.5rem;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(58, 37, 21, 0.4), transparent 70%),
        radial-gradient(ellipse at 80% 80%, rgba(42, 30, 20, 0.3), transparent 60%),
        rgba(28, 19, 8, 0.6);
    border-left: 4px solid var(--fire-red);
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.3),
        4px 4px 0 rgba(0, 0, 0, 0.3),
        -1px -1px 0 rgba(58, 37, 21, 0.3);
    clip-path: polygon(
        0% 0%,
        100% 0.5%,
        99.8% 100%,
        0.3% 99.5%
    );
}

.section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--fire-orange);
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(212, 86, 10, 0.2);
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

/* Handprint decoration */
.section.has-handprint::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    width: 50px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 60'%3E%3Cpath d='M25 58c-2-3-8-10-10-18-1-4 0-6 2-7 1 0 2 1 3 3 0-4-1-12-1-18 0-3 1-5 3-5s3 2 3 5l1 12c0-5 0-15 1-19 1-3 2-4 4-4s3 2 3 5c0 4-1 14-1 18l1-10c0-3 1-5 3-4 2 0 3 2 3 5-1 4-2 10-2 13 1-2 3-6 5-7 2-1 3 0 3 2s-2 7-4 11c-3 6-8 12-10 15z' fill='%23d4560a' opacity='0.12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}


/* ========== Event block ========== */

.event-block {
    border-left-color: var(--fire-orange);
}

.event-time {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.4rem 1.2rem;
    border: 2px solid var(--fire-red);
    font-family: 'Cinzel', serif;
    color: var(--fire-yellow);
    font-weight: 700;
    font-size: 1.05rem;
    background: rgba(139, 26, 0, 0.25);
    box-shadow: 0 0 20px rgba(139, 26, 0, 0.15);
    clip-path: polygon(1% 5%, 99% 0%, 100% 96%, 0% 100%);
}


/* ========== Table ========== */

.bring-days {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 0.8rem;
}

.bring-days th,
.bring-days td {
    padding: 0.6rem 1rem;
    text-align: left;
    font-size: 1rem;
    border-bottom: 1px solid rgba(122, 110, 94, 0.2);
}

.bring-days th {
    font-family: 'Cinzel', serif;
    color: var(--bone);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom-color: rgba(122, 110, 94, 0.35);
}

.bring-days tr:last-child td {
    border-bottom: none;
}

.bring-days .highlight {
    color: var(--fire-orange);
    font-weight: 700;
}

.note {
    color: var(--stone-gray);
    font-size: 0.9rem;
    font-style: italic;
}


/* ========== Rules list ========== */

.rules-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0.8rem;
}

.rules-list li {
    padding: 0.4rem 0 0.4rem 2rem;
    position: relative;
    font-size: 1.05rem;
}

.rules-list li.yes::before {
    content: '\1F525';
    position: absolute;
    left: 0;
}

.rules-list li.no::before {
    content: '\2715';
    position: absolute;
    left: 0.3rem;
    color: var(--fire-red);
    font-weight: bold;
    font-size: 1.1rem;
}

.section a {
    color: var(--fire-yellow);
    text-decoration: underline;
    text-decoration-color: rgba(226, 163, 42, 0.35);
    text-underline-offset: 3px;
}

.section a:hover {
    text-decoration-color: var(--fire-yellow);
}


/* ========== Location ========== */

.location-line {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--fire-yellow);
    font-weight: 700;
}


/* ========== Mammoth divider ========== */

.mammoth-divider {
    text-align: center;
    margin: 0 0 1.5rem;
    padding: 0.5rem 0;
    opacity: 0.12;
}

.mammoth-divider svg {
    height: 35px;
    fill: var(--fire-orange);
}


/* ========== Footer ========== */

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    border-top: 2px solid var(--warm-brown);
    color: var(--stone-gray);
    font-size: 0.9rem;
}

footer .motto {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.1rem;
    color: var(--fire-orange);
    opacity: 0.6;
    margin-bottom: 0.3rem;
}

footer .links {
    margin-top: 0.8rem;
}

footer .links a {
    color: var(--bone);
    text-decoration: none;
    margin: 0 0.8rem;
    font-size: 0.9rem;
}

footer .links a:hover {
    color: var(--fire-yellow);
}

footer .credit {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

footer .credit a {
    color: var(--stone-gray);
    text-decoration: none;
}

footer .credit a:hover {
    color: var(--bone);
}


/* ========== Responsive ========== */

@media (max-width: 768px) {
    .content {
        padding: 2rem 1.2rem 1rem;
    }

    .row,
    .row-reverse,
    .row-even {
        flex-direction: column;
    }

    .row-photo {
        max-height: 250px;
    }

    .row-photo img {
        max-height: 250px;
    }

    .section {
        padding: 1.5rem 1.2rem 1.5rem 1.5rem;
        clip-path: none;
    }

    .section.has-handprint::after {
        display: none;
    }

    .countdowns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .countdown {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    .cave-decoration {
        display: none;
    }

    .bring-days th,
    .bring-days td {
        padding: 0.4rem 0.6rem;
        font-size: 0.95rem;
    }
}
