/* 
=========================================
GansGewild Stylesheet
=========================================
*/

/* Fonts and Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    /* Color Palette - Based on GansGewild logo */
    --primary-color: #a9c93c; /* Lime green from logo - main brand color */
    --secondary-color: #273a1b; /* Dark green - for depth and contrast */
    --dark-color: #1e2e16; /* Even darker green for text */
    --light-color: #ddd9c5; /* Beige/off-white for backgrounds */
    --accent-color: #80951b; /* Darker lime for accents */
    --success-color: #a9c93c; /* Brand green for success messages */
    --warning-color: #ffd97d; /* Yellow for warnings */
    --error-color: #ff6b6b; /* Red for errors */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;
    
    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    
    /* Other Variables */
    --border-radius: 0.25rem;
    --border-radius-lg: 0.5rem;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Additional iPhone overflow prevention */
html {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(169, 201, 60, 0.4);
}

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

.btn-secondary:hover {
    background-color: #344e24;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(39, 58, 27, 0.4);
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:hover {
    color: var(--secondary-color);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
}

.nav-menu > li {
    position: relative;
    margin-left: var(--space-lg);
}

.nav-menu > li > a {
    color: var(--dark-color);
    font-family: var(--heading-font);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.nav-menu > li > a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Button */
.contact-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: var(--space-sm) var(--space-md) !important;
    border-radius: var(--border-radius);
}

.contact-button:hover {
    background-color: var(--secondary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff !important;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 1000;
    overflow: visible;
    pointer-events: auto !important;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li:hover .mega-menu {
    opacity: 1;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0);
}

/* Add a pointer/arrow to the mega menu */
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1001;
    pointer-events: none;
}

.nav-menu > li:hover > a::after {
    opacity: 1;
}

/* Ensure the mega menu doesn't go off-screen */
.nav-menu > li:last-child .mega-menu {
    left: auto;
    right: 0;
    transform: translateY(10px);
}

.nav-menu > li:last-child:hover .mega-menu {
    transform: translateY(0);
}

.nav-menu > li:last-child > a::after {
    left: auto;
    right: 20px;
}

.nav-menu > li:first-child .mega-menu {
    left: 0;
    right: auto;
    transform: translateY(10px);
}

.nav-menu > li:first-child:hover .mega-menu {
    transform: translateY(0);
}

.nav-menu > li:first-child > a::after {
    left: 20px;
    right: auto;
}

.mega-menu-content {
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff !important;
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1001;
}

.mega-menu-column {
    flex: 1;
    min-width: 150px;
    background-color: #ffffff;
}

.mega-menu-column h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

.mega-menu-column ul li {
    margin-bottom: var(--space-sm);
}

.mega-menu-column ul li a {
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: var(--transition);
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
    padding-left: var(--space-sm);
}

.mega-menu-image {
    flex: 1;
    margin-left: var(--space-lg);
    background-color: #ffffff;
    position: relative;
    z-index: 1001;
}

.mega-menu-image img {
    border-radius: var(--border-radius);
    height: 150px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--primary-color);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px; /* Height of header */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "GansGewild";
    position: absolute;
    font-size: 20vw;
    opacity: 0.1;
    font-weight: 900;
    width: 100%;
    text-align: center;
    z-index: 0;
    font-family: var(--heading-font);
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    color: white;
}

.hero h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
    color: white;
    font-weight: 400;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* Section Styling */
section {
    padding: var(--space-xxl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.2rem;
}

/* Problem Overview Section */
.problem-overview {
    background-color: var(--gray-100);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.problem-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.problem-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.problem-cta {
    text-align: center;
}

/* Solution Overview Section */
.solution-steps {
    max-width: 900px;
    margin: 0 auto var(--space-xl);
}

.step {
    display: flex;
    margin-bottom: var(--space-lg);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-lg);
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: var(--space-sm);
}

.solution-cta {
    text-align: center;
}

/* Roadmap Teaser Section */
.roadmap-teaser {
    background-color: var(--gray-100);
}

.roadmap-overview {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto var(--space-xl);
}

.phase {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin: 0 var(--space-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    transition: var(--transition);
}

.phase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.phase h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.phase h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.roadmap-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--secondary-color);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    margin-left: var(--space-sm);
}

.contact-info li {
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: var(--space-sm);
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: var(--space-md);
}

.newsletter-form input {
    flex-grow: 1;
    padding: var(--space-sm);
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .roadmap-overview {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .phase {
        margin: 0;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: var(--space-lg) 0;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        margin: var(--space-md) 0;
        width: 90%;
        text-align: center;
    }
    
    .mega-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none !important;
        padding: var(--space-md);
        display: none;
        margin-top: var(--space-sm);
        background-color: #f1f5eb !important;
        border-top: 1px solid var(--gray-200);
    }
    
    .nav-menu > li.show-submenu .mega-menu {
        display: block !important;
    }
    
    .nav-menu > li > a::after {
        display: none;
    }
    
    .mega-menu-content {
        flex-direction: column;
    }
    
    .mega-menu-image {
        margin-left: 0;
        margin-top: var(--space-md);
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Submenu toggle indicator */
    .submenu-toggle {
        margin-left: 8px;
        color: var(--primary-color);
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto var(--space-md);
    }
    
    .problem-grid, 
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-columns {
        gap: var(--space-lg);
    }
}

/* Enhanced iPhone overflow fixes */
@media (max-width: 414px) {
    /* Prevent all grid overflows */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Reduce gaps on small screens */
    [style*="gap:"],
    [style*="gap "] {
        gap: 10px !important;
    }
    
    /* Ensure all containers have proper padding */
    .container,
    [class*="container"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Fix flexbox wrapping issues */
    [style*="display: flex"] {
        flex-wrap: wrap !important;
    }
    
    /* Ensure no element exceeds viewport width */
    * {
        max-width: 100vw !important;
        word-wrap: break-word !important;
    }
    
    /* Statistics section overflow fixes */
    .stats-container,
    .stats-grid,
    .stat-card,
    .chart-container {
        overflow-x: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Number formatting for mobile */
    .stat-number,
    .stat-value,
    .trend-value {
        word-break: break-word !important;
        hyphens: auto !important;
        overflow-wrap: break-word !important;
    }
}

/* ===== QUOTE HIDING RULES ===== */
/* Comprehensive rules to hide all testimonials, quotes, and related content */

/* Hide all quotes */
.mission-quote,
.member-quote,
.problem-quote,
.testimonials-section,
.testimonial-card,
.testimonial-content,
.testimonial-grid,
.testimonial-author,
.quote-section,
.customer-quote,
.client-testimonial,
.review-section,
.feedback-section,
.wat-anderen-zeggen {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide any elements with quote-related attributes */
[class*="quote"],
[class*="testimonial"],
[class*="review"],
[class*="feedback"],
[id*="quote"],
[id*="testimonial"],
[id*="review"],
[id*="feedback"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide quote symbols and content */
.quote-mark,
.quote-symbol,
blockquote,
q {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide any sections containing "testimonials" text */
section:has(.testimonial),
section:has([class*="testimonial"]),
section:has([class*="quote"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Additional safety rules for any missed quote elements */
*[data-testimonial],
*[data-quote],
*[data-review] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
