/*
Theme Name: Victory Beach
Author: Giedo Stolk
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* 1. Algemene Instellingen */
body, html {
    margin: 0; 
    padding: 0; 
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    background-color: #ffff09; /* Het felle geel */
    scroll-behavior: smooth;
    line-height: 1.6; 
    box-sizing: border-box;
}

*, *:before, *:after { box-sizing: inherit; }

:root { --banner-height: 10px; }

/* 2. Layout Secties */
section {
    min-height: 100vh; 
    width: 100%;
    display: flex; 
    flex-direction: column;
    align-items: center; 
    text-align: leeft;
    margin: 0 auto; 
    padding: 20px;
    padding-top: calc(5px + var(--banner-height));
}

section > div { max-width: 800px; width: 100%; }

/* 3. Banner & Logo */
.banner {
    position: fixed; 
    top: 0; 
    width: 100%;
    background: black; 
    color: white;
    display: flex; 
    flex-direction: column;
    align-items: center; 
    padding: 10px 5px; 
    z-index: 10;
}

.banner img.logo { 
    width: 50%; 
    max-width: 450px; 
    height: auto; 
    margin-bottom: 10px; 
    margin-top: 40px;
}

.section-header {
    position: sticky; 
    top: 0; 
    background-color: black;
    color: white; 
    text-align: center; 
    padding: 10px 20px;
    font-size: 1.8rem; 
    font-style: italic; 
    border-radius: 20px;
}

/* 4. Afbeeldingen Styling (Fix voor verhoudingen) 
.entry-content img, 
.post-content img, 
.wp-block-image img {
    display: block;
    margin: 20px auto;
    width: auto; 
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain; 
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
    */

/* 5. Knoppen (Volledig Zwart/Wit Fix) */
/* We pakken zowel de container als de link voor maximale compatibiliteit in de editor */
.wp-block-button__link.wp-element-button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 40px !important;
    padding: 15px 35px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.wp-block-button__link.wp-element-button:hover {
    background-color: #333333 !important;
    transform: scale(1.05);
    color: #ffffff !important;
}

/* 6. Tabellen Styling */
.wp-block-table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.wp-block-table td {
    border: 1px solid #000000 !important;
    padding: 12px;
    text-align: center;
}

.wp-block-table th, 
.wp-block-table thead,
.wp-block-table tr:first-child td {
    border: 1px solid #000000 !important;
    padding: 12px;
    text-align: center;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: bold;
}

/* 7. Overige Elementen */
.next-page-icon {
    position: fixed; 
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%); 
    width: 60px; 
    height: 60px;
    cursor: pointer; 
    z-index: 10;
}

/* 8. Mobile Responsiveness */
@media (max-width: 768px) {
    .banner img.logo { max-width: 200px; }
    .wp-block-button__link.wp-element-button { font-size: 1.2rem; padding: 12px 24px; }
    .section-header { font-size: 1.4rem; }
}