/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Default Mobile Layout (No scrolling allowed) */
body {
    /*background: #FDD7E4 url("files/varkieachtergrond.jpg") no-repeat center center fixed; */
    background: #FDD7E4 url("files/varkieachtergrond.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    height: 100vh;
    height: 100dvh; /* Uses dynamic viewport height to account for mobile browser bars */
    overflow: hidden; /* Prevents any scrolling */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0 20px; /* Zero bottom padding so footer sticks perfectly */
    text-align: center;
    position: relative;
}

/* Mobile Header */
.header-section {
    width: 100%;
    margin-top: 10px;
}

.title {
    color: white;
    font-size: 2.2em;
    font-family: Tahoma, sans-serif;
    text-shadow: 0 0 10px rgba(111, 70, 0, 0.5);
    line-height: 1.2;
    margin-bottom: 5px;
}

.titleundertext {
    color: white;
    font-family: Tahoma, sans-serif;
    font-size: 1em;
    font-weight: normal;
}

/* Mobile Menu Links */
.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 280px;
    margin: auto 0; /* Centers the links vertically between header and footer */
}

.option {
    text-decoration: none;
    color: white;
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* Mobile Contact Footer (Fixed to bottom) */
.contact-info {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    max-width: 280px;
    
    /* MOBILE LOOKUP FIXES */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
}

.contact-info p a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    display: block;
    padding: 2px 0;
}


/* DESKTOP STYLES (Matches your image layout completely) */
@media (min-width: 768px) {
    body {
        /* background-image: url("files/varkieachtergrond.jpg"); */
        display: block;
        padding: 0;
    }

    .header-section {
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        margin-top: 0;
    }

    .title {
        font-size: 4em;
        margin-bottom: 0;
    }

    .titleundertext {
        font-size: 1.5em;
    }

    /* Left-floating links layout from image */
    .options {
        position: absolute;
        top: 50%;
        left: 40px;
        transform: translateY(-50%);
        margin: 0;
        text-align: left;
        align-items: flex-start;
    }

    .option {
        font-size: 2.5em;
        text-align: left;
    }

    /* Bottom right corner desktop styling */
    .contact-info {
        position: absolute;
        bottom: 0;
        right: 0;
        text-align: center;
        max-width: none;
        width: auto;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 0;
        padding: 8px 15px;
        
        /* DESKTOP FIXES: Clear out mobile centering rules */
        left: auto;
        transform: none;
    }
}

/* --- Rain Background System --- */

#rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensures it stays behind text, menus, and footer */
    pointer-events: none; /* Allows clicks to pass right through the images */
}

.rain-drop {
    position: absolute;
    top: -60px; /* Starts just off-screen */
    width: 40px; /* Base width adjust as needed for your image file size */
    height: auto;
    pointer-events: none;
    animation: fallAndSpin linear forwards;
}

@keyframes fallAndSpin {
    0% {
        top: -60px;
        transform: translateX(0) scale(var(--scale)) rotate(0deg);
    }
    100% {
        /* Falls past the bottom of the visible screen */
        top: 105vh; 
        /* Mild drift on the X axis looks more natural than a perfect straight vertical line */
        transform: translateX(20px) scale(var(--scale)) rotate(var(--rotation));
    }
}