/* ============================================
   GLOBAL STYLES & TYPOGRAPHY
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

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

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #263238;
    line-height: 1.6;
}

/* ============================================
   COLOR PALETTE
   ============================================ */
:root {
    --color-primary: #2E8B57;
    --color-primary-light: #7BCB8A;
    --color-primary-dark: #1F5C3F;
    --color-dark: #263238;
    --color-light: #EEF4EF;
    --color-white: #F7FAF7;
}

/* ============================================
   LAYOUT BASICS
   ============================================ */
.navbar-wrapper {
    width: 100%;
}

.content {
    width: 100%;
    min-height: 400px;
    padding: 0;
}

.footer-wrapper {
    width: 100%;
}

/* ============================================
   HERO HEADER / BANNER SECTION
   ============================================ */
.hero-header {
    background-image:
            linear-gradient(135deg, var(--color-primary) 0%, #1f5c3f00 100%), url(../images/hero.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 190px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 700px;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="40" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    pointer-events: none;
}

.hero-header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    color: white !important;
}

.hero-header h2 {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: white !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-primary-light);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary-light);
    cursor: pointer;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.btn:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-disabled,
.btn-auth-disabled {
    background-color: #bdbdbd;
    border-color: #bdbdbd;
    color: #4a4a4a;
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: none;
}

.btn-secondary {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--color-dark);
}

/* ============================================
   SECTIONS STYLING
   ============================================ */
section {
    width: 100%;
}

.rules-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
}

.image-left {
    background-color: var(--color-dark);
    background-image:  linear-gradient(135deg, var(--color-primary) 0%, #1f5c3f00 100%), url(../images/regels.jpeg);
    background-size: cover;
    min-height: 400px;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: var(--color-primary-light);
}

.rules-content {
    padding: 60px 50px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rules-content h2 {
    color: var(--color-primary);
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.rules-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.rules-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--color-dark);
    font-size: 15px;
}

.rules-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 20px;
}

.rules-content p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* ============================================
   OPENINGSTIJDEN SECTION
   ============================================ */
.openingstijden-container {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    padding: 60px 50px;
    text-align: center;
}

.openingstijden-container h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 700;
}

.openingstijden-content {
    max-width: 800px;
    margin: 0 auto;
}

.openingstijden-table {
    width: auto; /* shrink to content so we can center */
    margin: 0 auto 30px; /* center horizontally */
    display: table;
}

.openingstijden-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 1); /* white 1px underline for each row */
}

.openingstijden-table td {
    padding: 15px;
    color: white;
    text-align: center; /* center cell text */
    font-size: 15px;
}

.openingstijden-table td:first-child {
    font-weight: 500;
    min-width: 150px;
    text-align: left; /* keep the day label left-aligned for readability */
}

/* ============================================
   HEADINGS
   ============================================ */
h1, h2, h3 {
    font-weight: 700;
    color: var(--color-dark);
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.3em;
}

p {
    color: #555;
    font-size: 15px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-header {
        text-align: left;
        padding: 50px 20px;
    }

    .hero-header h1 {
        font-size: 2em;
    }

    .hero-header h2 {
        font-size: 1.2em;
    }

    .rules-container {
        grid-template-columns: 1fr;
    }

    .image-left {
        min-height: 300px;
    }

    .rules-content {
        padding: 40px 30px;
    }

    .openingstijden-container {
        padding: 40px 20px;
    }

    .openingstijden-container h2 {
        font-size: 1.5em;
    }
}