/*
Theme Name: Martes Geveltechniek Child
Theme URI: https://martesgeveltechniek.nl
Description: Custom child theme voor Martes Geveltechniek gebaseerd op Hello Elementor
Author: World Web Design
Author URI: https://worldwebdesign.nl
Template: hello-elementor
Version: 1.1.2
Text Domain: martes-child
*/

/* ========================================
   CUSTOM CSS VOOR MARTES GEVELTECHNIEK
   ======================================== */

/* Import Google Font - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-black: #1a1a1a;
    --secondary-black: #2d2d2d;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --accent-red: #ff0004;
    --hover-red: #cc0003;
}

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

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    background: var(--white);
    font-size: 16px;
}

/* Standaard paragraaf styling */
p {
    color: #000000;
    font-size: 16px;
}

/* Remove all border-radius */
* {
    border-radius: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ========================================
   BUTTON SYSTEM - MULTIPLE VARIANTS
   ======================================== */

/* Base Button Styling (alle buttons) */
.elementor-button,
.wp-block-button__link,
button[type="submit"] {
    border-radius: 0 !important;
    padding: 16px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

/* PRIMARY BUTTON (Default - Rood) */
.elementor-button.btn-primary,
.elementor-button:not([class*="btn-"]),
.cta-button,
button[type="submit"] {
    background: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red);
}

.elementor-button.btn-primary:hover,
.elementor-button:not([class*="btn-"]):hover,
.cta-button:hover,
button[type="submit"]:hover {
    background: var(--hover-red);
    border-color: var(--hover-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 4, 0.4);
}

/* SECONDARY BUTTON (Outline - Rode border, transparant) */
.elementor-button.btn-secondary {
    background: transparent;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.elementor-button.btn-secondary:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 4, 0.2);
}

/* DARK BUTTON (Zwarte achtergrond) */
.elementor-button.btn-dark {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

.elementor-button.btn-dark:hover {
    background: var(--secondary-black);
    border-color: var(--secondary-black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* LIGHT BUTTON (Witte achtergrond - voor donkere secties) */
.elementor-button.btn-light {
    background: var(--white);
    color: var(--primary-black);
    border-color: var(--white);
}

.elementor-button.btn-light:hover {
    background: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* GHOST BUTTON (Transparant met witte border - voor hero secties) */
.elementor-button.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.elementor-button.btn-ghost:hover {
    background: var(--white);
    color: var(--primary-black);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* TEXT BUTTON (Geen achtergrond, alleen tekst met pijl) */
.elementor-button.btn-text {
    background: transparent;
    color: var(--accent-red);
    border: none;
    padding: 16px 0;
    font-weight: 600;
}

.elementor-button.btn-text:hover {
    color: var(--hover-red);
    transform: translateX(5px);
    box-shadow: none;
}

.elementor-button.btn-text::after {
    content: ' →';
    transition: all 0.3s ease;
}

.elementor-button.btn-text:hover::after {
    margin-left: 10px;
}

/* SMALL BUTTON (Kleinere variant) */
.elementor-button.btn-small {
    padding: 12px 30px;
    font-size: 14px;
}

/* LARGE BUTTON (Grotere variant) */
.elementor-button.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

/* FULL WIDTH BUTTON */
.elementor-button.btn-block {
    width: 100%;
    text-align: center;
}

/* Header Styling */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--medium-gray);
}

/* Navigation Menu - Only for Header */
.elementor-location-header .elementor-nav-menu a {
    color: var(--primary-black) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 28px 20px !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease !important;
}

.elementor-location-header .elementor-nav-menu a:hover,
.elementor-location-header .elementor-nav-menu a.elementor-item-active {
    background: var(--light-gray) !important;
    border-bottom-color: var(--accent-red) !important;
}

/* Offerte Button in Menu */
.offerte-menu-btn {
    background: var(--accent-red) !important;
    color: var(--white) !important;
    border: 2px solid var(--accent-red) !important;
    margin-left: 10px !important;
    padding: 12px 30px !important;
}

.offerte-menu-btn:hover {
    background: var(--hover-red) !important;
    border-color: var(--hover-red) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 0, 4, 0.4) !important;
}

/* Hero Section */
.hero-section {
    height: calc(100vh - 81px) !important;
    min-height: 600px !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(1px);
    width: 160px;
    height: 120px;
    background-image: url('toren-roodwiit.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 3;
    pointer-events: none;
}

/* Hero Content */
.hero-content h1 {
    font-size: 72px !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.hero-content p {
    font-size: 24px !important;
    font-weight: 500 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

/* Feature Boxes (20 jaar ervaring etc) */
.feature-box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}




.feature-box {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 40px 25px;
    border-top: 4px solid var(--accent-red);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-box::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background-image: url('toren-roodwiit.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--hover-red) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 0, 4, 0.3);
}

.feature-box:hover h4,
.feature-box:hover p {
    color: var(--white);
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-box p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Service Cards */
.service-card {
    background: var(--white);
    overflow: visible !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-top: 80px !important;
    border-top: 4px solid var(--accent-red);
    padding: 30px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background-image: url('toren-roodwiit.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 10;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Ensure Elementor wrappers don't hide the tower */
.elementor-widget-loop-grid .service-card,
.elementor-loop-container .service-card {
    overflow: visible !important;
    margin-top: 80px !important;
}

/* Make sure parent containers allow overflow */
.elementor-widget-loop-grid,
.elementor-loop-container {
    overflow: visible !important;
}

.elementor-widget-loop-grid .elementor-widget-container,
.elementor-loop-container .elementor-widget-container {
    overflow: visible !important;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-red);
}

/* Footer Tower */
.elementor-location-footer::before {
    content: '';
    position: absolute;
    top: -79px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background-image: url('torenfooter.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

.elementor-location-footer {
    background: var(--primary-black);
    color: #ffffff !important;
    padding-top: 60px;
    position: relative;
    margin-top: 80px;
}

/* Forceer witte tekst voor alle footer elementen (behalve headings) */
.elementor-location-footer p,
.elementor-location-footer a,
.elementor-location-footer span,
.elementor-location-footer div,
.elementor-location-footer li {
    color: #ffffff !important;
}

.elementor-location-footer .elementor-widget-text-editor,
.elementor-location-footer .elementor-text-editor {
    color: #ffffff !important;
}

/* Footer Social Icons */
.footer-social-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: space-around;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 4, 0.4);
}

.footer-social-icon svg {
    display: block;
    margin: auto;
}

/* Contact Form Styling */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
    border: 2px solid var(--medium-gray) !important;
    padding: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.elementor-field-group input:focus,
.elementor-field-group textarea:focus,
.elementor-field-group select:focus {
    border-color: var(--accent-red) !important;
}

/* Contact Icons */
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

/* Responsive Tablets */
@media (max-width: 1024px) {
    .feature-box-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Class voor parent container die wrapping toestaat op tablet */
    .tablet-wrap {
        --flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        --flex-direction: row !important;
        flex-direction: row !important;
    }

    /* Class voor elementen die op tablet 50% breed moeten zijn */
    .tablet-half {
        --width: calc(50% - 15px) !important;
        width: calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
        flex: 0 0 calc(50% - 15px) !important;
    }

    .hero-content h1 {
        font-size: 52px !important;
    }
}

/* Responsive Mobile */
@media (max-width: 767px) {
    /* Forceer standaard tekst grootte en kleur op mobiel */
    body {
        font-size: 16px !important;
        color: #000000 !important;
    }

    p {
        font-size: 16px !important;
        color: #000000 !important;
    }

    .elementor-widget-text-editor,
    .elementor-text-editor,
    .elementor-widget-text-editor p,
    .elementor-text-editor p {
        font-size: 16px !important;
        color: #000000 !important;
    }

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

    /* Override tablet classes for mobile - full width */
    .tablet-wrap {
        --flex-direction: column !important;
        flex-direction: column !important;
    }

    .tablet-half {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Mobile Menu Styling - subtler blocks, larger text */
    .elementor-location-header .elementor-nav-menu a {
        padding: 15px 25px !important;
        font-size: 16px !important;
        border-bottom: 1px solid var(--medium-gray) !important;
    }

    .elementor-location-header .elementor-nav-menu a:hover {
        background: rgba(245, 245, 245, 0.5) !important;
    }

    /* Mobile menu offerte button */
    .offerte-menu-btn {
        margin: 10px 25px !important;
        padding: 14px 30px !important;
        font-size: 16px !important;
    }

    .hero-section {
        min-height: calc(100vh - 81px);
    }
    
    .hero-content h1 {
        font-size: 42px !important;
    }
    
    .hero-content p {
        font-size: 18px !important;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Elementor Overrides */
.elementor-section {
    position: relative;
}

.elementor-widget-wrap {
    position: relative;
}

/* Logo Clickable */
.site-logo a {
    cursor: pointer;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Colors */
a {
    color: var(--accent-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--hover-red);
}

/* ========================================
   TEMPLATE SPECIFIC STYLING (ACF)
   ======================================== */

/* Service Bullets Styling */
.service-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-bullets li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.service-bullets .bullet-icon {
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
}

/* Project Services List */
.project-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-services-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.project-services-list .check-icon {
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 18px;
    line-height: 1.6;
}

/* Project Details Box */
.project-details {
    background: var(--white);
}

.project-details .detail-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.project-details .detail-item:last-child {
    border-bottom: none;
}

.project-details strong {
    color: var(--accent-red);
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Project Gallery Grid */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.project-gallery .gallery-item {
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
}

/* Service Gallery Grid */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-gallery .gallery-item {
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.service-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-gallery img:hover {
    transform: scale(1.05);
}

/* Service Gallery Slider/Slideshow */
.service-gallery-slider {
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    background: var(--light-gray);
}

.service-gallery-slider .slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light-gray);
}

.service-gallery-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.service-gallery-slider .slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.service-gallery-slider .slide img,
.service-gallery-slider .slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--light-gray);
}

/* Video specific styling */
.service-gallery-slider .slide video {
    max-height: 100%;
    cursor: pointer;
}

.service-gallery-slider .slide video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.7);
}

.service-gallery-slider .slide video::-webkit-media-controls-play-button,
.service-gallery-slider .slide video::-webkit-media-controls-timeline {
    cursor: pointer;
}

.service-gallery-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 4, 0.8);
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.service-gallery-slider .slider-btn:hover {
    background: var(--accent-red);
}

.service-gallery-slider .slider-btn.prev {
    left: 10px;
}

.service-gallery-slider .slider-btn.next {
    right: 10px;
}

.service-gallery-slider .slider-dots {
    text-align: center;
    padding: 15px 0;
    background: rgba(245, 245, 245, 0.95);
    border-top: 1px solid var(--medium-gray);
}

.service-gallery-slider .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--dark-gray);
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0;
}

.service-gallery-slider .dot.active,
.service-gallery-slider .dot:hover {
    background-color: var(--accent-red);
}

/* Martes Lightbox */
.martes-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.martes-lightbox-overlay.active {
    display: flex;
}

.martes-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.martes-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.martes-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    transition: color 0.3s ease;
}

.martes-lightbox-close:hover {
    color: var(--accent-red);
}

.martes-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 4, 0.8);
    color: white;
    border: none;
    font-size: 50px;
    padding: 20px 30px;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.3s ease;
}

.martes-lightbox-nav:hover {
    background: var(--accent-red);
}

.martes-lightbox-nav.prev {
    left: 20px;
}

.martes-lightbox-nav.next {
    right: 20px;
}

.martes-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
}

/* Testimonial Styling */
.project-testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    position: relative;
    padding: 40px;
    background: white;
    border-left: 4px solid var(--accent-red);
}

.quote-icon {
    font-size: 60px;
    color: var(--accent-red);
    line-height: 1;
    display: block;
}

.testimonial-quote p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    margin: 20px 0;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent-red);
}

/* Project Meta Info */
.project-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.project-meta .meta-item {
    font-size: 14px;
    color: var(--dark-gray);
}

/* Loop Card Hover Effects */
.elementor-loop-container .service-card:hover,
.elementor-loop-container .project-card:hover {
    transform: translateY(-5px);
}

/* Service Link Styling */
.service-link A {
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.service-link A:hover {
    color: var(--hover-red);
    gap: 10px;
    box-shadow: none !important;
}

/* Info Box Sidebar Styling */
.info-box {
    background: var(--light-gray);
    padding: 30px;
    border-top: 4px solid var(--accent-red);
}

/* Responsive for Templates */
@media (max-width: 767px) {
    .project-gallery,
    .service-gallery {
        grid-template-columns: 1fr;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-quote {
        padding: 20px;
    }

    .testimonial-quote p {
        font-size: 18px;
    }

    .service-gallery-slider .slider-btn {
        font-size: 30px;
        padding: 8px 15px;
    }

    .service-gallery-slider .slider-btn.prev {
        left: 5px;
    }

    .service-gallery-slider .slider-btn.next {
        right: 5px;
    }

    .martes-lightbox-nav {
        font-size: 35px;
        padding: 15px 20px;
    }

    .martes-lightbox-nav.prev {
        left: 10px;
    }

    .martes-lightbox-nav.next {
        right: 10px;
    }

    .martes-lightbox-close {
        right: 20px;
        font-size: 40px;
    }

    .martes-lightbox-counter {
        font-size: 14px;
        padding: 8px 15px;
    }

    /* Footer responsive - stack columns */
    .elementor-location-footer .elementor-column,
    .elementor-location-footer .elementor-column-wrap,
    .elementor-location-footer .e-con-inner > .e-con,
    .elementor-location-footer .elementor-container > .elementor-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 30px !important;
    }

    .elementor-location-footer .elementor-container,
    .elementor-location-footer .e-con,
    .elementor-location-footer .e-con-inner {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    .elementor-location-footer .elementor-row {
        display: flex !important;
        flex-direction: column !important;
    }

    .elementor-location-footer .elementor-widget-wrap {
        text-align: center;
    }

    /* Override Elementor's mobile column settings */
    .elementor-location-footer .elementor-column.elementor-col-50,
    .elementor-location-footer .elementor-column.elementor-md-50 {
        width: 100% !important;
    }

    /* Footer tower smaller on mobile */
    .elementor-location-footer::before {
        width: 80px;
        height: 60px;
        top: -59px;
    }

    /* Forceer witte tekst in footer op mobiel (behalve headings) */
    .elementor-location-footer,
    .elementor-location-footer p,
    .elementor-location-footer a,
    .elementor-location-footer span,
    .elementor-location-footer div,
    .elementor-location-footer li,
    .elementor-location-footer .elementor-widget-text-editor,
    .elementor-location-footer .elementor-text-editor {
        color: #ffffff !important;
    }
}

/* ========================================
   TEXT EDITOR STYLING
   ======================================== */

/* Standaard styling voor alle text-editor widgets */
.elementor-widget-text-editor,
.elementor-text-editor {
    color: #000000;
    font-size: 16px;
}

.elementor-widget-text-editor p,
.elementor-text-editor p {
    color: #000000;
    font-size: 16px;
}

/* Fix voor opsommingstekens binnen Elementor widgets */
.elementor-widget-text-editor ul,
.elementor-text-editor ul {
    margin: 0 0 1em 0;
    padding-top: 10px;
    padding-left: 30px;
    list-style-position: outside;
    list-style-type: disc;
    color: #000000 !important;
}

.elementor-widget-text-editor li,
.elementor-text-editor li {
    margin-bottom: 0.5em;
    padding-left: 5px;
    color: #000000 !important;
}

.elementor-widget-text-editor ol,
.elementor-text-editor ol {
    margin: 0 0 1em 0;
    padding-top: 10px;
    padding-left: 30px;
    list-style-position: outside;
    color: #000000 !important;
}

.elementor-widget-text-editor ol li,
.elementor-text-editor ol li {
    margin-bottom: 0.5em;
    padding-left: 5px;
    color: #000000 !important;
}

/* Footer lijsten blijven wit */
.elementor-location-footer ul,
.elementor-location-footer ol,
.elementor-location-footer li {
    color: #ffffff !important;
}
