@font-face {
    font-family: 'PoliceCustom';
    src: url('ressources/neue-gravica-black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Styles de base */
body {
    font-family: 'PoliceCustom', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ACA3FA;
    color: #ffffff;
    text-align: center;
    height: 100%;
    overflow: scroll;
    padding-right: 15px;
    padding-top: 60px;
}

/* Background vidéo */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.video-background video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(172, 163, 250, 0.7), rgba(50, 127, 163, 0));
    z-index: 0;
}

/* Header styles */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main_nav {
    padding: 1em 3em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.main_nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.main_nav a {
    color: #f2f2f2;
    transition: color 0.3s ease;
}

.main_nav[data-theme="light"] a {
    color: #111;
}

.main_nav[data-theme="dark"] a {
    color: #f2f2f2;
}

.logo {
    width: 75px;
    height: auto;
    display: block;
    margin-left: 250px;
}

.sous_nav {
    font-size: 1em;
    display: flex;
    margin-right: 14%;
}

.sous_nav a {
    list-style: none;
    text-decoration: none;
    color: rgb(242, 242, 242);
    transition: all 0.18s ease-in-out;
}

.sous_nav a:hover {
    color: rgb(184, 184, 184);
    transition: all 0.18s ease-in-out;
}

.sous_nav li {
    margin-left: 1em;
    margin-right: 1em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Contenu principal de la page contact */
.contact-page {
    position: relative;
    z-index: 1;
    padding: 80px 20px 100px;
    min-height: calc(100vh - 200px);
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-intro p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Container principal */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Formulaire de contact */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: left;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'PoliceCustom', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group select option {
    color: black;
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ACA3FA;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(172, 163, 250, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ACA3FA, #327FA3);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'PoliceCustom', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #9B92F0, #2A6B8A);
}

/* Informations de contact */
.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ACA3FA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 5px 0;
}

.contact-item a {
    color: #ACA3FA;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #9B92F0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-links a:hover {
    background: #ACA3FA;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a1919;
    color: white;
    padding: 20px;
    margin-top: 20px;
    z-index: 0;
    height: auto;
    border: none;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-logo img {
    width: 150px;
    height: auto;
    margin-left: 300px;
}

.footer-text {
    display: flex;
    width: 50%;
    text-align: right;
}

.footer-text-section {
    width: 100%;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

.footer-text-section h4 {
    margin-bottom: 10px;
    font-size: 1em;
}

.footer-text-section a {
    margin-bottom: 10px;
}

.footer-text-section:nth-child(2) {
    margin-right: 350px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main_nav {
        padding: 1em;
    }
    
    .sous_nav {
        margin-right: 0;
        gap: 10px;
    }
    
    .footer-text {
        width: 100%;
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        background-color: #ACA3FA;
        padding-top: 60px;
    }
    
    .burger {
        display: flex;
        color: #f2f2f2;
        transition: color 0.3s ease;
        margin-right: 25px;
    }
    
    .main_nav a {
        color: #f2f2f2;
        transition: color 0.3s ease;
    }
    
    .main_nav[data-theme="light"] a {
        color: #ffffff;
    }
    
    .main_nav[data-theme="dark"] a {
        color: #f2f2f2;
    }
    
    .sous_nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .sous_nav.show {
        max-height: 400px;
    }
    
    .sous_nav li {
        margin: 20px 0;
    }
    
    .logo {
        width: 50px;
        height: auto;
        display: block;
        margin-left: 0px;
        margin-top: 10px;
    }
    
    .contact-page {
        padding: 80px 15px 100px;
    }
    
    .contact-intro h1 {
        font-size: 2.5rem;
    }
    
    .contact-intro p {
        font-size: 1.1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }
    
    .contact-form h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-item h3 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        padding: 12px;
        font-size: 1.3rem;
    }
    
    /* Footer responsive */
    footer {
        position: relative;
        bottom: auto;
        width: 100%;
        height: auto;
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
    }
    
    .footer-logo {
        order: -1;
        margin-bottom: 15px;
    }
    
    .footer-logo img {
        display: block;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .footer-text {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-text-section {
        width: 100%;
        margin: 5px 0;
    }
    
    .footer-text-section:nth-child(2) {
        margin-right: 0;
    }
}

/* Animation du burger */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Masquer la scrollbar */
::-webkit-scrollbar {
    display: none;
}
