@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 des services */
.services-page {
    position: relative;
    z-index: 1;
    padding: 80px 20px 100px;
    min-height: calc(100vh - 200px);
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-intro p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Grille des services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    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 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(172, 163, 250, 0.1), rgba(50, 127, 163, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ACA3FA;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ACA3FA;
    font-weight: bold;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ACA3FA;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section contact */
.contact-section {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 80px auto;
    max-width: 800px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    background: linear-gradient(135deg, #ACA3FA, #327FA3);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #9B92F0, #2A6B8A);
}

/* 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;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@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;
    }
    
    .services-page {
        padding: 80px 15px 100px;
    }
    
    .services-intro h1 {
        font-size: 2.5rem;
    }
    
    .services-intro p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 40px 20px;
        margin: 60px 15px;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-section p {
        font-size: 1.1rem;
    }
    
    .contact-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    /* 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;
}
