/* ============================================================================
   IMMOBILIËN KNOKKE-HEIST - MAIN STYLESHEET
   ============================================================================ */

:root {
    --color-primary: #ff3333;
    --color-primary-dark: #CC0000;
    --color-text: #666666;
    --color-text-light: #999999;
    --color-text-ultralight: #A0A0A0;
    --color-background: #ffffff;
    --color-background-alt: #F9F9F9;
    --color-border: #CECECE;
    --color-border-light: #E2E2E2;
}

/* ============================================================================
   1. RESET & BASE STYLES
   ============================================================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    color: var(--color-text);
}

/* ============================================================================
   2. LAYOUT COMPONENTS
   ============================================================================ */

/* Container for centering content */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================================
   3. HEADER & NAVIGATION
   ============================================================================ */

/* Main header with sticky positioning */
.header {
    background-color: var(--color-background);
    color: var(--color-text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: var(--color-border-light) 1px solid;
}

/* Navigation wrapper - flex container */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Company logo styling */
.logo {
    height: 50px;
    width: auto;
}

/* Main navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Navigation links styling */
.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Navigation link hover effect */
.nav-menu a:hover {
    color: var(--color-primary-dark);
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Mobile menu toggle hover animation */
.menu-toggle:hover {
    color: var(--color-primary-dark);
    background-color: rgba(204, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* Additional active state animation */
.menu-toggle:active {
    transform: rotate(90deg) scale(0.95);
}

/* ============================================================================
   4. MAIN CONTENT AREA
   ============================================================================ */

/* Main content container */
.content-container {
    padding: 3rem 0;
    min-height: 70vh;
    background-color: var(--color-background);
}

/* ============================================================================
   5. FOOTER SECTION
   ============================================================================ */

/* Main footer container */
.footer {
    background-color: var(--color-background);
    color: var(--color-text);
    padding: 3rem 0 1rem;
    text-align: center;
}

/* Footer content grid layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

/* Individual footer section */
.footer-section h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Footer links styling */
.footer-section a {
    color: var(--color-text);
    text-decoration: none;
}

/* Footer link hover effect */
.footer-section a:hover {
    color: var(--color-primary-dark);
}

/* Footer bottom section with copyright */
.footer-bottom {
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
    padding-top: 1rem;
}

/* ============================================================================
   6. RESPONSIVE DESIGN & MEDIA QUERIES
   ============================================================================ */

/* Tablet and mobile styles (768px and below) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    /* Mobile navigation menu - Full screen overlay */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: none;
        z-index: 9999;
        gap: 2rem;
    }

    /* Mobile navigation links - Large and touch-friendly */
    .nav-menu a {
        font-size: 2rem;
        font-weight: 600;
        color: var(--color-text);
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 1rem 2rem;
        border: 2px solid transparent;
        border-radius: 10px;
        transition: all 0.3s ease;
        text-align: center;
        min-width: 200px;
        display: block;
    }

    /* Mobile navigation hover/active states */
    .nav-menu a:hover,
    .nav-menu a:active {
        color: var(--color-primary-dark);
        border-color: var(--color-primary-dark);
        background-color: rgba(204, 0, 0, 0.05);
        transform: scale(1.05);
    }

    /* Show mobile menu when active */
    .nav-menu.active {
        display: flex;
        animation: slideIn 0.3s ease-out;
    }

    /* Close button for mobile menu */
    .nav-menu::before {
        content: '✕';
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
        color: var(--color-text);
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .nav-menu::before:hover {
        background-color: rgba(204, 0, 0, 0.1);
        color: var(--color-primary-dark);
        transform: rotate(90deg);
    }

    /* Mobile menu animation */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Single column footer layout on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small mobile styles (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-container {
        padding: 2rem 0;
    }

    /* Adjust mobile menu for very small screens */
    .nav-menu a {
        font-size: 1.8rem;
        min-width: 180px;
        padding: 0.8rem 1.5rem;
        letter-spacing: 1px;
    }

    .nav-menu {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .nav-menu::before {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }
}