/* ===== MAIN STYLESHEET ===== */
/* Google Fonts loaded asynchronously in head.php for performance */
/* Critical CSS is inlined in <head> for instant above-the-fold render */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #1a3a4a;
    --secondary-color: #97b885;
    --accent-color: #d4a574;
    --gold-color: #d4c9a0;
    --platinum-color: #e5e4e2;
    --diamond-color: #b9f2ff;
    --text-dark: #2E5167;
    --text-light: #f5f5f5;
    --bg-light: #F3EDE1;
    --bg-alt: #e8e0d3;
    --bg-beige: #F3EDE1;
    --hover-color: #E4DCCD;
    --package-text: #2E5167;
    --border-color: #d4cbb8;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-beige);
    font-size: 16px;
}

/* ===== TYPOGRAPHY CLASSES ===== */
/* Primair: Roboto 600 (half vet) - voor belangrijke titels */
.text-primary,
h1 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

/* Kopteksten: Montserrat 400 (normal) - voor sectie titels in hoofdletters */
.text-heading,
h2,
.section-title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Secundair: Roboto Slab 400 (normal) - voor subtitels en quotes */
.text-secondary,
.hero-subtitle,
blockquote {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-normal);
}

/* Tekst: Roboto 400 (normal) - standaard body tekst */
.text-body,
p, li, a {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
}

/* Accent: Roboto 500 (medium) - voor knoppen en highlights */
.text-accent,
.btn-primary,
.btn-secondary,
.nav-menu a,
h3, h4 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--bg-beige);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: var(--bg-beige);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.8rem 20px;
    gap: 3rem;
    transition: padding 0.3s ease-in-out;
    position: relative;
}

.navbar.scrolled .container {
    padding: 0.5rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.logo img {
    height: 60px;
    background-color: var(--hover-color);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
    width: auto;
    transition: height 0.3s ease-in-out;
}

.navbar.scrolled .logo img {
    height: 45px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 0.5rem;
    display: none; /* Hide text, logo is enough */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 0;
}

.nav-menu a {
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    position: relative;
    z-index: 10000;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0,0,0,0.2);
    user-select: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 400px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    /* Background set via PHP responsive_bg_css() */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

/* Croquet page hero */
.hero-croquet {
    /* Background set via PHP responsive_bg_css() */
}

/* Mogelijkheden page hero */
.hero-mogelijkheden {
    /* Background set via PHP responsive_bg_css() */
    background-position: center 30%;
}

/* Over page hero */
.hero-over {
    /* Background set via PHP responsive_bg_css() */
}

/* Contact page hero */
.hero-contact {
    /* Background set via PHP responsive_bg_css() */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    will-change: opacity, transform;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    will-change: opacity, transform;
}

.hero-subtitle {
    font-size: 2rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: 'Georgia', 'Times New Roman', serif;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    will-change: opacity, transform;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background-color: var(--bg-beige);
    color: var(--text-dark);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin: 0;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

.content-section {
    background-color: var(--bg-light);
}

.content-section.alt-bg,
.alt-bg {
    background-color: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 17px;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

h2 {
    font-size: 17px;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}

h3 {
    font-size: 16px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== INTRO & EXPERIENCE SECTIONS ===== */
.intro-section,
.experience-section {
    text-align: center;
}

.intro-video {
    max-width: 500px;
    margin: 2rem auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.intro-video video {
    width: 100%;
    height: auto;
    display: block;
}

.experience-section {
    text-align: left;
    background-color: white;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.experience-text h2 {
    margin-top: 0;
}

.experience-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.experience-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== QUICK LINKS ===== */
.quick-links {
    background-color: var(--bg-light);
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.link-card {
    background-color: var(--bg-light);
    padding: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.link-card-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.link-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.link-card:first-child .link-card-image img,
.link-card:last-child .link-card-image img {
    object-position: center 10%;
}

.link-card:hover .link-card-image img {
    transform: scale(1.05);
}

.link-card h3 {
    color: var(--text-dark);
    padding: 1.5rem 1.5rem;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-normal);
    text-transform: none;
    letter-spacing: normal;
    font-size: 16px;
}

/* ===== CROQUET INFO ===== */
.croquet-info {
    background-color: white;
}

.croquet-info .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.croquet-info-text {
    text-align: left;
}

.croquet-info-text h2 {
    margin-top: 0;
}

.croquet-info-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.croquet-info-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PACKAGES ===== */
.packages-section {
    background-color: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.package-card.gold {
    border-color: var(--gold-color);
}

.package-card.platinum {
    border-color: #b8b6b4;
}

.package-card.diamond {
    border-color: #4db8d8;
}

.package-card h3 {
    text-align: center;
    color: var(--package-text);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    padding: 0.3rem 0;
    padding-left: 2rem;
    position: relative;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
}

.features-list li.included::before {
    content: '✔';
    color: var(--primary-color);
    font-weight: bold;
}

.features-list li.excluded {
    color: #999;
}

.features-list li.excluded::before {
    content: '✖';
    color: #999;
}

.package-price {
    text-align: center;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.price {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-normal);
    color: var(--primary-color);
}

/* ===== EXTRAS ===== */
.extras-section {
    background-color: var(--bg-light);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.extra-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.extra-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.extra-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel .carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel .carousel-image.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: white;
}

.extra-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.extra-card h3 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.extra-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.extra-card .price {
    display: block;
    margin-top: auto;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===== RULES SECTION ===== */
.rules-section {
    background-color: var(--bg-light);
}

.rules-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Hide mobile field image on desktop */
.rules-image-mobile {
    display: none;
}

.rule-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
}

.rule-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.rule-item p,
.rule-item div {
    flex-grow: 1;
}

.sub-rules {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.sub-rules li {
    margin-bottom: 0.8rem;
}

.note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    font-size: 0.95rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== PACKAGES SUMMARY (Contact Page) ===== */
.packages-summary {
    background-color: var(--bg-alt);
}

.packages-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.package-simple {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.package-simple.featured {
    border: 2px solid var(--gold-color);
}

.package-simple h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package-highlights {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.package-simple .price {
    display: block;
    margin: 1.5rem 0;
    font-size: 1.3rem;
}

/* ===== EXTRAS SUMMARY ===== */
.extras-summary {
    background-color: var(--bg-light);
}

.extras-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.extra-simple {
    background-color: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.extra-simple h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-small {
    font-weight: bold;
    color: var(--accent-color);
}

.extras-more {
    text-align: center;
    margin-top: 2rem;
}

/* ===== ABOUT SUMMARY ===== */
.about-summary {
    background-color: var(--bg-alt);
    text-align: center;
}

.about-summary .container {
    max-width: 900px;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--hover-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--hover-color);
    color: var(--text-dark);
    border-color: var(--hover-color);
}

.btn-primary:active,
.btn-secondary:active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: var(--bg-beige);
    color: var(--text-dark);
}

.cta-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
}

.cta-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    width: 300px;
    height: 300px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cta-text {
    text-align: left;
}

.cta-section h2 {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: var(--font-weight-normal);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-beige);
    color: var(--text-dark);
    padding: 6rem 0 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 12px;
    width: auto;
    background-color: var(--hover-color);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
}

.footer-right {
    margin-left: auto;
    text-align: right;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== EXTERNAL LINK ===== */
.external-link {
    margin-top: 1.5rem;
}

.external-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.external-link a:hover {
    color: var(--secondary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        z-index: 10000 !important;
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }

    .nav-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-light);
        width: 100%;
        text-align: center;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        z-index: 9999;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    /* Hero adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Experience section (23 jaar ervaring) - stack vertically */
    .experience-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Links grid (3 buttons) - stack vertically */
    .links-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .link-card-image {
        height: 250px !important;
    }

    .link-card:first-child .link-card-image img,
    .link-card:last-child .link-card-image img {
        object-position: center -150px !important;
    }

    /* Croquet info section - stack vertically */
    .croquet-info .container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Packages grid - stack vertically */
    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Extras grid - stack vertically and collapse text */
    .extras-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Collapse extra card descriptions on mobile */
    .extra-card-content p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }

    .extra-card-content.expanded p {
        display: block;
        -webkit-line-clamp: unset;
    }

    .extra-card-content {
        position: relative;
    }

    .extra-card-content::after {
        content: 'Lees meer';
        display: block;
        color: var(--primary-color);
        font-weight: 600;
        margin-top: 0.5rem;
        cursor: pointer;
    }

    .extra-card-content.expanded::after {
        content: 'Lees minder';
    }

    /* CTA section - stack and reduce image size */
    .cta-content {
        grid-template-columns: 1fr !important;
    }

    .cta-section .cta-content[style*="display: flex"] {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .cta-section .cta-image {
        width: 200px !important;
        height: 200px !important;
        max-width: 200px !important;
        margin: 0 auto 1rem !important;
    }

    .cta-section .cta-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Contact form */
    .contact-content {
        grid-template-columns: 1fr !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Footer - reduce sizes and stack */
    .footer {
        padding: 3rem 0 2rem 0 !important;
    }

    .footer-content[style*="display: flex"] {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .footer-content div[style*="text-align: right"] {
        text-align: center !important;
    }

    .footer-logo[style*="height"] {
        height: 70px !important;
        padding: 0.5rem !important;
    }

    .footer p {
        font-size: 0.9rem !important;
    }

    /* Content sections with inline grid styles - stack on mobile */
    .content-section .container[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .content-section .container[style*="grid-template-columns"] > div {
        width: 100% !important;
    }

    .content-section .container[style*="grid-template-columns"] img {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Tournament section with sticky image */
    .tournament-section .container[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
    }

    .tournament-section .container[style*="grid-template-columns"] img {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Rules section with sticky diagram */
    .rules-section [style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .rules-section [style*="sticky"] {
        position: static !important;
    }

    .rules-section [style*="grid-template-columns"] img {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Intro section with image */
    .intro-section .container[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
    }

    .intro-section .container[style*="grid-template-columns"] img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .packages-grid-simple,
    .extras-grid-simple {
        grid-template-columns: 1fr !important;
    }

    /* Croquet page mobile reordering - tablet */
    .tournament-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .tournament-text {
        order: 1;
    }

    .tournament-image {
        order: 2;
    }

    .rules-container {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Show mobile field image, hide desktop sticky version */
    .rules-image-mobile {
        display: block !important;
        margin: 2rem 0 !important;
    }

    .rules-image {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 400px;
        /* Background set via PHP responsive_bg_css() */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 0;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Smaller padding for mobile */
    .container {
        padding: 0 1rem;
    }

    /* Footer logo smaller on very small screens */
    .footer-logo[style*="height"] {
        height: 60px !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* CTA even smaller on tiny screens */
    .cta-section .cta-image {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px !important;
    }

    .link-card-image {
        height: 200px !important;
    }

    .link-card:first-child .link-card-image img,
    .link-card:last-child .link-card-image img {
        object-position: center -150px !important;
    }

    /* Croquet page mobile reordering */
    .tournament-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .tournament-text {
        order: 1;
    }

    .tournament-image {
        order: 2;
    }

    .rules-container {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Show mobile field image, hide desktop sticky version */
    .rules-image-mobile {
        display: block !important;
        margin: 2rem 0 !important;
    }

    .rules-image {
        display: none !important;
    }
}
