/* ============================================
   RESPONSIVE CSS - MAX GYM WEBSITE
   Mobile-first overrides voor < 1200px
   Desktop (≥1200px) blijft ongewijzigd
   ============================================ */

/* ============================================
   GLOBAL RESETS & BASE FIXES
   ============================================ */

/* Ensure box-sizing everywhere */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ============================================
   DESKTOP STYLES (≥1200px)
   ============================================ */

@media (min-width: 1200px) {
    /* Benefits title - desktop padding - originele waarde */
    .benefits-title {
        padding-top: 8rem !important;
    }
}

/* Responsive images and media */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* ============================================
   BREAKPOINT: Small Laptops & Tablets
   (max-width: 1199px)
   ============================================ */

@media (max-width: 1199px) {
    /* Container adjustments */
    .supergym-nav {
        width: 95%;
        max-width: 100%;
    }
    
    .supergym-nav .nav-container {
        padding: 0 1rem;
    }
    
    /* Section padding adjustments */
    .section-dark,
    .section-light-gray,
    .section-off-white,
    .section-gray-soft,
    .section-purple-gradient,
    .section-blue-gradient,
    .section-green-gradient,
    .section-orange-gradient {
        padding: 4rem 1.5rem;
    }
    
    /* Grid adjustments - 2 kolommen (2-2) voor tablets */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }
    
    /* Benefits section - small laptops */
    .benefits-section {
        padding: 4rem 1.5rem !important;
    }
    
    .benefits-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    .modern-benefit-card {
        padding: 1.8rem !important;
    }
    
    .benefits-title {
        font-size: clamp(2rem, 4vw, 2.5rem) !important;
    }
    
    .benefits-subtitle {
        font-size: 1.05rem !important;
    }
    
    .membership-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid,
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* About section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ============================================
   BREAKPOINT: Tablets
   (max-width: 1024px)
   ============================================ */

@media (max-width: 1024px) {
    /* Navigation */
    .supergym-nav {
        width: 95%;
        top: 15px;
    }
    
    .supergym-nav .nav-container {
        padding: 0 1rem;
    }
    
    .supergym-nav .nav-links {
        gap: 1.5rem;
    }
    
    .supergym-nav .nav-link {
        font-size: 1rem;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 80vh;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    /* Section titles */
    .section-title,
    .benefits-title,
    .membership-title,
    .stats-title {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .benefit-card {
        height: 100% !important;
        min-height: 280px;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
    }
    
    .benefit-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1 !important;
    }
    
    .benefit-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: bottom !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }
    
    .benefit-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 1.5rem !important;
        z-index: 2 !important;
    }
    
    .service-item {
        height: auto;
        min-height: 350px;
    }
    
    /* Location section */
    .club-location-container {
        padding: 0 1.5rem 3rem 1.5rem;
    }
    
    .club-location-card {
        padding: 2.5rem;
        max-width: 100%;
    }
    
    /* Pricing */
    .pricing-container {
        padding: 0 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
}

/* ============================================
   BREAKPOINT: Mobile Tablets & Large Phones
   (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    /* Body padding for mobile nav */
    body {
        padding-top: 80px;
    }
    
    /* Navigation - Mobile */
    .supergym-nav {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        max-width: 100%;
        border-radius: 15px;
    }
    
    .supergym-nav .nav-container {
        height: 60px;
        padding: 0 1rem;
        justify-content: space-between;
        position: relative;
    }
    
    /* Ensure nav-container allows mobile toggle to be visible */
    .supergym-nav .nav-container > * {
        position: relative;
        z-index: 1;
    }
    
    .supergym-nav .nav-container .mobile-toggle {
        z-index: 1002 !important;
        position: relative !important;
    }
    
    .supergym-nav .nav-links {
        display: none !important; /* Hide nav links on mobile */
    }
    
    .supergym-nav .cta-button {
        display: none !important; /* Hide CTA on mobile */
    }
    
    .supergym-nav .nav-menu {
        display: none !important; /* Hide nav menu on mobile */
    }
    
    /* Mobile menu toggle button - MUST be visible and clickable on mobile */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        z-index: 1002 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(108, 29, 255, 0.3) !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Hide mobile toggle and menu on desktop */
    @media (min-width: 769px) {
        .mobile-toggle {
            display: none !important;
        }
        
        .mobile-menu {
            display: none !important;
        }
    }
    
    /* Ensure button spans are clickable */
    .mobile-toggle span {
        pointer-events: none !important;
    }
    
    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background: #ffffff;
        margin: 3px 0;
        transition: 0.3s;
        display: block;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile menu - base styles for mobile */
    .mobile-menu {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 15px !important;
        padding: 2rem !important;
        margin-top: 1rem !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px) !important;
        transition: all 0.3s ease !important;
        z-index: 1001 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    /* Active state - show menu when active */
    .mobile-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    /* Ensure mobile links have proper touch targets */
    .mobile-links a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .mobile-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-links a {
        color: #ffffff;
        text-decoration: none;
        padding: 0.75rem 0;
        font-weight: 500;
        transition: color 0.3s ease;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .mobile-links a:hover,
    .mobile-links a.active {
        color: #6c1dff;
    }
    
    .mobile-cta {
        background: #6c1dff;
        color: white;
        padding: 12px 24px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        text-align: center;
        margin-top: 1rem;
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-cta:hover {
        background: #5a1ae6;
    }
    
    .logo-image {
        height: 35px;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 70vh;
        padding: 3rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-cta-primary,
    .hero-cta-elegant {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    /* Hero background - ensure video/images display correctly on all screens */
    .hero-background {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        overflow: hidden !important;
    }
    
    .hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        z-index: 0 !important;
    }
    
    .hero-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        z-index: 0 !important;
    }
    
    .modern-hero {
        position: relative !important;
        min-height: 100vh !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    
    /* Ensure hero background matches hero section height on mobile */
    .modern-hero .hero-background {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        bottom: 0 !important;
    }
    
    .modern-hero .hero-video {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        bottom: 0 !important;
    }
    
    .modern-hero .hero-slide {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        bottom: 0 !important;
    }
    
    /* Remove any margin/padding that could create space */
    .modern-hero {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Section padding */
    .section-dark,
    .section-light-gray,
    .section-off-white,
    .section-gray-soft,
    .section-purple-gradient,
    .section-blue-gradient,
    .section-green-gradient,
    .section-orange-gradient,
    .section-gray-slate,
    .section-gray-cool,
    .section-gray-warm {
        padding: 3rem 1rem;
    }
    
    /* Section titles */
    .section-title,
    .benefits-title,
    .membership-title,
    .stats-title,
    .pricing-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    
    .membership-subtitle,
    .pricing-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Grids - Single column */
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        align-items: stretch !important;
    }
    
    /* Benefit cards - ensure no space under images and full height */
    .benefit-card {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
        height: 100% !important;
        min-height: 300px !important;
        position: relative !important;
    }
    
    .benefit-card > * {
        line-height: normal;
    }
    
    /* Benefits section container */
    .benefits-section {
        padding: 3rem 1rem !important;
    }
    
    .benefits-container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    /* Modern benefit cards - responsive */
    .modern-benefit-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        margin: 0 !important;
    }
    
    .benefit-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .benefit-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .benefits-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
        padding: 0 1rem !important;
        padding-top: 8rem !important; /* Extra grote padding voor telefoon */
    }
    
    .benefits-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem !important;
    }
    
    .benefits-cta {
        margin-top: 2rem !important;
        padding: 2rem 1rem !important;
    }
    
    .cta-content h3 {
        font-size: 1.5rem !important;
    }
    
    .cta-content p {
        font-size: 1rem !important;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .cta-button {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .membership-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .services-grid,
    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards */
    .benefit-card {
        height: 100% !important;
        min-height: 250px;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
    }
    
    .benefit-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1 !important;
    }
    
    .benefit-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: bottom !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }
    
    .benefit-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 1.5rem 1rem !important;
        z-index: 2 !important;
    }
    
    .benefit-overlay {
        padding: 1.5rem 1rem;
    }
    
    .benefit-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .membership-card {
        padding: 1.5rem;
        max-height: none;
    }
    
    .membership-card.featured {
        transform: none;
        margin-top: 0;
    }
    
    .membership-header h3 {
        font-size: 1.3rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .service-item {
        height: auto;
        min-height: 320px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .plan-title {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* About section */
    .about-section {
        padding: 3rem 1rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    /* Location section */
    .club-location-section {
        padding: 3rem 1rem;
        background-attachment: scroll; /* Fix parallax on mobile */
    }
    
    .club-location-container {
        padding: 0 1rem 2rem 1rem;
    }
    
    .club-location-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .club-location-card h2 {
        font-size: 2rem;
    }
    
    .club-location-card p {
        font-size: 1rem;
    }
    
    .location-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    /* CTA buttons */
    .cta-button,
    .plan-button,
    .service-btn,
    .membership-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px; /* Touch target */
    }
    
    .pricing-cta-button {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
        min-height: 44px; /* Touch target */
    }
    
    /* Expand button */
    .expand-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    /* Google reviews */
    .google-reviews-section,
    .google-reviews-elegant {
        padding: 0 1rem;
    }
    
    .google-reviews-link,
    .reviews-link-elegant {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   BREAKPOINT: Small Phones
   (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    /* Body padding */
    body {
        padding-top: 75px;
    }
    
    /* Navigation */
    .supergym-nav {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 12px;
    }
    
    .supergym-nav .nav-container {
        height: 55px;
        padding: 0 0.75rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    /* Hero */
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0.75rem 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-primary,
    .hero-cta-elegant {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    /* Section padding */
    .section-dark,
    .section-light-gray,
    .section-off-white,
    .section-gray-soft,
    .section-purple-gradient,
    .section-blue-gradient,
    .section-green-gradient,
    .section-orange-gradient,
    .section-gray-slate,
    .section-gray-cool,
    .section-gray-warm {
        padding: 2.5rem 0.75rem;
    }
    
    /* Titles */
    .section-title,
    .benefits-title,
    .membership-title,
    .stats-title,
    .pricing-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
        padding-top: 8rem !important; /* Extra grote padding voor kleine telefoon */
    }
    
    .benefits-title {
        padding-top: 8rem !important; /* Extra grote padding voor kleine telefoon */
    }
    
    .membership-subtitle,
    .pricing-subtitle {
        font-size: 0.95rem;
        padding: 0;
    }
    
    /* Grids */
    .benefits-grid,
    .membership-cards,
    .services-grid,
    .services-container,
    .pricing-grid {
        gap: 1.25rem;
        padding: 0 0.75rem;
    }
    
    /* Cards */
    .benefit-card {
        height: 100% !important;
        min-height: 220px;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
    }
    
    .benefit-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1 !important;
    }
    
    .benefit-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: bottom !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }
    
    .benefit-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 1.25rem 0.75rem !important;
        z-index: 2 !important;
    }
    
    .benefit-overlay {
        padding: 1.25rem 0.75rem;
    }
    
    .benefit-overlay h3 {
        font-size: 1rem;
    }
    
    .membership-card {
        padding: 1.25rem;
    }
    
    .membership-header h3 {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .service-item {
        min-height: 300px;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .pricing-card {
        padding: 1.25rem;
    }
    
    .plan-title {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    /* About */
    .about-section {
        padding: 2.5rem 0.75rem;
    }
    
    .about-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .about-content p {
        font-size: 0.95rem;
    }
    
    /* Location */
    .club-location-section {
        padding: 2.5rem 0.75rem;
    }
    
    .club-location-container {
        padding: 0 0.75rem 1.5rem 0.75rem;
    }
    
    .club-location-card {
        padding: 1.5rem 1.25rem;
    }
    
    .club-location-card h2 {
        font-size: 1.75rem;
    }
    
    .club-location-card p {
        font-size: 0.95rem;
    }
    
    .location-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }
    
    /* Buttons */
    .cta-button,
    .plan-button,
    .service-btn,
    .membership-button,
    .expand-button {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .pricing-cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   BREAKPOINT: Extra Small Phones
   (max-width: 360px)
   ============================================ */

@media (max-width: 360px) {
    /* Navigation */
    .supergym-nav {
        width: calc(100% - 12px);
        top: 6px;
    }
    
    .supergym-nav .nav-container {
        height: 50px;
        padding: 0 0.5rem;
    }
    
    .logo-image {
        height: 28px;
    }
    
    /* Hero */
    .hero-section {
        min-height: 55vh;
        padding: 1.5rem 0.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    /* Section padding */
    .section-dark,
    .section-light-gray,
    .section-off-white,
    .section-gray-soft,
    .section-purple-gradient,
    .section-blue-gradient,
    .section-green-gradient,
    .section-orange-gradient,
    .section-gray-slate,
    .section-gray-cool,
    .section-gray-warm {
        padding: 2rem 0.5rem;
    }
    
    /* Titles */
    .section-title,
    .benefits-title,
    .membership-title,
    .stats-title,
    .pricing-title {
        font-size: clamp(1.25rem, 7vw, 1.75rem);
    }
    
    /* Grids */
    .benefits-grid,
    .membership-cards,
    .services-grid,
    .services-container,
    .pricing-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    /* Cards */
    .membership-card,
    .pricing-card,
    .service-item {
        padding: 1rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    /* Location */
    .club-location-card {
        padding: 1.25rem 1rem;
    }
    
    .club-location-card h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
    SERVICES GRID - Even Distribution
    Always 4-0, 2-2, or 1-1-1-1, never 3-1
    ============================================ */

/* Desktop: 4 kolommen (4-0) - alleen op schermen ≥ 1025px */
@media (min-width: 1025px) {
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        align-items: start !important;
    }
}

/* Tablet: 2 kolommen (2-2) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Mobile: 1 kolom (1-1-1-1) */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ============================================
    UTILITY FIXES
    ============================================ */

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, a, span, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure containers don't overflow */
.container,
.content,
.section-dark,
.section-light-gray,
.section-off-white {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for fixed backgrounds on mobile */
@media (max-width: 768px) {
    .club-location-section,
    section[style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
    }
}

/* Touch-friendly targets */
@media (max-width: 768px) {
    a, button, input[type="button"], input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* But allow smaller icons if needed */
    .icon-button,
    .close-button {
        min-width: auto;
    }
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Fix for tables if any */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Fix for dropdown menus on mobile */
@media (max-width: 768px) {
    .dropdown-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: auto !important;
    }
    
    .dropdown {
        position: static;
    }
}

/* ============================================
   360 GRADEN TOUR SECTIE - Responsive Fixes
   Behoud verhoudingen op alle schermen
   ============================================ */

/* Split section - Desktop (≥1200px) - blijft hetzelfde */
.tour-section.split.asymmetric-right {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    min-height: 70vh !important;
    max-height: 70vh !important;
    padding: 4rem 0 !important;
}

.tour-section .content.overlapping {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 70vh !important;
    padding: 0 4rem !important;
    z-index: 10 !important;
    position: relative !important;
    flex: 1 !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(108, 29, 255, 0.3) !important;
}

.tour-section .image-container.tour-container {
    height: 70vh !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
    flex: 1 !important;
}

.tour-section .tour-embed {
    width: 100% !important;
    height: 70vh !important;
    position: relative !important;
    overflow: hidden !important;
}

.tour-section .tour-embed iframe,
.tour-section .tour-embed > div {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

.tour-section .content h2.dynamic-heading.large {
    margin-bottom: 1.5rem !important;
}

.tour-section .content p.typography-body-large {
    margin-bottom: 2rem !important;
    max-width: 800px !important;
}

/* Small laptops & tablets (max-width: 1199px) */
@media (max-width: 1199px) {
    .tour-section.split.asymmetric-right {
        min-height: 65vh !important;
        max-height: 65vh !important;
        padding: 3.5rem 0 !important;
    }
    
    .tour-section .content.overlapping {
        height: 65vh !important;
        padding: 0 3rem !important;
    }
    
    .tour-section .image-container.tour-container {
        height: 65vh !important;
    }
    
    .tour-section .tour-embed {
        height: 65vh !important;
    }
    
    .tour-section .content h2.dynamic-heading.large {
        font-size: clamp(2rem, 4vw, 2.5rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .tour-section .content p.typography-body-large {
        font-size: clamp(0.95rem, 1.5vw, 1.1rem) !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .tour-section.split.asymmetric-right {
        min-height: auto !important;
        max-height: none !important;
        padding: 2.5rem 0 !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Tour eerst - volledige breedte */
    .tour-section .image-container.tour-container {
        height: 55vh !important;
        min-height: 400px !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .tour-section .tour-embed {
        height: 55vh !important;
        min-height: 400px !important;
        width: 100% !important;
    }
    
    /* Tekst blok onder de tour - volledige breedte */
    .tour-section .content.overlapping {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 2rem !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: 0 !important;
        order: 2 !important;
        border-radius: 0 !important;
    }
    
    .tour-section .content h2.dynamic-heading.large {
        font-size: clamp(1.8rem, 4vw, 2.2rem) !important;
    }
    
    .tour-section .content p.typography-body-large {
        font-size: clamp(0.9rem, 1.5vw, 1rem) !important;
        max-width: 100% !important;
    }
    
    .tour-section .background-text {
        font-size: clamp(3rem, 6vw, 5rem) !important;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .tour-section.split.asymmetric-right {
        min-height: auto !important;
        max-height: none !important;
        padding: 2rem 0 !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* Tour eerst (bovenaan) */
    .tour-section .image-container.tour-container {
        height: 50vh !important;
        min-height: 350px !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        order: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .tour-section .tour-embed {
        height: 50vh !important;
        min-height: 350px !important;
        width: 100% !important;
    }
    
    /* Tekst blok onder de tour - volledige breedte */
    .tour-section .content.overlapping {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 1rem !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: 0 !important;
        order: 2 !important;
        border-radius: 0 !important;
        background: rgba(0, 0, 0, 0.9) !important;
    }
    
    .tour-section .content h2.dynamic-heading.large {
        font-size: clamp(1.6rem, 5vw, 2rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .tour-section .content p.typography-body-large {
        font-size: clamp(0.9rem, 2vw, 1rem) !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
    }
    
    .tour-section .background-text {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }
    
    .tour-section .cta-button.interactive-button {
        padding: 0.9rem 1.8rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .tour-section.split.asymmetric-right {
        padding: 0 !important;
        gap: 0 !important;
    }
    
    /* Tour eerst - volledige breedte */
    .tour-section .image-container.tour-container {
        height: 45vh !important;
        min-height: 300px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .tour-section .tour-embed {
        height: 45vh !important;
        min-height: 300px !important;
        width: 100% !important;
    }
    
    /* Tekst blok onder de tour - volledige breedte */
    .tour-section .content.overlapping {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    
    .tour-section .content h2.dynamic-heading.large {
        font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
    }
    
    .tour-section .content p.typography-body-large {
        font-size: 0.9rem !important;
        max-width: 100% !important;
    }
    
    .tour-section .background-text {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
    }
    
    .tour-section .cta-button.interactive-button {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Fix for video elements */
@media (max-width: 768px) {
    video {
        width: 100%;
        height: auto;
        max-height: 50vh;
    }
}

/* Fix for iframes (maps, embeds) */
@media (max-width: 768px) {
    iframe {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
    }
}

/* Fix for absolute positioned decorative elements */
@media (max-width: 768px) {
    .brush-marker-svg,
    .background-lines,
    .vertical-line,
    .movement-line {
        display: none; /* Hide decorative elements on mobile for performance */
    }
}

/* Fix for fixed backgrounds */
@media (max-width: 768px) {
    * {
        background-attachment: scroll !important;
    }
}

/* Ensure no element causes horizontal scroll */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    /* But allow specific elements to be wider if needed */
    .hero-section,
    .section-dark,
    .section-light-gray {
        width: 100%;
    }
}

/* ============================================
   BENEFITS SECTION FIXES - All Screen Sizes
   ============================================ */

/* Benefits section container */
.benefits-section.section-gray-cool {
    padding: 4rem 2rem !important;
}

.benefits-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.benefits-header {
    margin-bottom: 3rem !important;
}

.benefits-title {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

.benefits-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem) !important;
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto 2rem auto !important;
}

/* Benefits grid - responsive - NO 3-1 layout, only 4-0, 2-2, or 1-1-1-1 */
.benefits-grid {
    display: grid !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Desktop: 4 kolommen (4-0) */
@media (min-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Tablet: 2 kolommen (2-2) */
@media (min-width: 769px) and (max-width: 1199px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile: 1 kolom (1-1-1-1) */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Modern benefit cards */
.modern-benefit-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.benefit-icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 1.5rem auto !important;
    background: linear-gradient(135deg, #6c1dff, #4c14b8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.benefit-content h3 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
}

.benefit-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #e0e0e0 !important;
}

.benefits-cta {
    margin-top: 4rem !important;
    text-align: center !important;
    padding: 3rem 2rem !important;
    background: linear-gradient(135deg, rgba(108, 29, 255, 0.1) 0%, rgba(76, 20, 184, 0.1) 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(108, 29, 255, 0.2) !important;
}

.cta-content h3 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
}

.cta-content p {
    font-size: 1.1rem !important;
    color: #e0e0e0 !important;
    margin-bottom: 2rem !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cta-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-button.primary,
.cta-button.secondary {
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    min-width: 200px !important;
    text-align: center !important;
}

.cta-button.primary {
    background: linear-gradient(135deg, #6c1dff, #4c14b8) !important;
    color: white !important;
}

.cta-button.secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* Tablet adjustments (1024px) - 2 kolommen (2-2) */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .benefits-section.section-gray-cool {
        padding: 3rem 1.5rem !important;
    }
    
    .benefits-container {
        padding: 0 1.5rem !important;
    }
    
    .modern-benefit-card {
        padding: 1.8rem !important;
    }
}

/* Mobile adjustments (768px) */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .benefits-section.section-gray-cool {
        padding: 3rem 1rem !important;
    }
    
    .benefits-container {
        padding: 0 1rem !important;
    }
    
    .benefits-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .benefits-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .modern-benefit-card {
        padding: 1.5rem !important;
        min-height: auto !important;
    }
    
    .benefit-content h3 {
        font-size: 1.2rem !important;
    }
    
    .benefit-content p {
        font-size: 0.95rem !important;
    }
    
    .benefits-cta {
        margin-top: 2rem !important;
        padding: 2rem 1rem !important;
    }
    
    .cta-content h3 {
        font-size: 1.5rem !important;
    }
    
    .cta-content p {
        font-size: 1rem !important;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .cta-button.primary,
    .cta-button.secondary {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
    .benefits-section.section-gray-cool {
        padding: 2.5rem 0.75rem !important;
    }
    
    .benefits-container {
        padding: 0 0.75rem !important;
    }
    
    .benefits-title {
        font-size: clamp(1.6rem, 6vw, 2rem) !important;
        padding-top: 8rem !important; /* Extra grote padding voor kleine telefoon */
    }
    
    .benefits-subtitle {
        font-size: 0.95rem !important;
    }
    
    .modern-benefit-card {
        padding: 1.25rem !important;
    }
    
    .benefit-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }
    
    .benefit-content h3 {
        font-size: 1.1rem !important;
    }
    
    .benefit-content p {
        font-size: 0.9rem !important;
    }
}

