/* Page Contact - Style harmonisé avec qui-sommes-nous */

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    font-family: "Google Sans Code", monospace;
    overflow-x: hidden;
    color: #2c3e50;
    line-height: 1.8;
}



/* ------------------- NAVBAR ------------------------ */
.navbar {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    position: fixed;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.navbar:hover {
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.12);
}

.logo {
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.navbar a {
    font-family: "Google Sans Code", monospace;
    font-weight: 400;
    color: #2c3e50;
    font-size: 1.1em;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #CC0303, #ff4444);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: #CC0303;
    transform: translateY(-2px);
}

.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul li {
    margin: 0 15px;
}

.navbar .nav-links ul li.active a {
    color: #CC0303;
    font-weight: 600;
}

.navbar .nav-links ul li.active a::after {
    width: 100%;
}

.navbar .menu-hamburger {
    display: none;
    width: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 1800px) {
    .navbar a {
        font-size: 1em;
    }
    .logo {
        width: 250px;
    }
}

@media screen and (max-width: 1500px) {
    .navbar a {
        font-size: 0.9em;
    }
    .navbar .nav-links ul {
        gap: 10px;
    }
    .navbar .nav-links ul li {
        margin: 0 8px;
    }
}

@media screen and (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section {
        padding: 60px 40px;
    }

    .navbar {
        padding: 15px 30px;
    }

    .navbar .menu-hamburger {
        display: block;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo {
        width: 200px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 20px;
    }

    .navbar .nav-links ul li {
        margin: 20px 0;
    }

    .navbar a {
        font-size: 1.8em;
        color: white;
    }

    .navbar a::after {
        background: linear-gradient(90deg, #fff, #CC0303);
    }

    .navbar a:hover {
        color: #ff4444;
    }

    .mobile-menu {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }

    .contact-form-container,
    .info-card,
    .map-container {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container h2,
    .map-container h2 {
        font-size: 1.5em;
    }

    .osm_canvas {
        height: 350px;
    }
}

@media screen and (max-width: 600px) {
    .navbar {
        padding: 10px 20px;
    }

    .logo {
        width: 150px;
    }

    .navbar .menu-hamburger {
        right: 20px;
        width: 30px;
    }

    .contact-form-container,
    .info-card,
    .map-container {
        padding: 25px;
        border-radius: 20px;
    }
}

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

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #CC0303, #ff4444);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #990202, #CC0303);
}