:root {
    --primary-color: #12183A;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(18, 24, 58, 0.95);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    width: auto;
    aspect-ratio: 2381/1433;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
#accueil {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, rgba(18, 24, 58, 0.9), rgba(18, 24, 58, 0.7));
    position: relative;
    padding-top: 90px;
}

.hero-content {
    text-align: center;
}

.hero-logo {
    width: 50%;
    max-width: 600px;
    height: auto;
    margin-bottom: 40px;
    aspect-ratio: 2381/1433;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Services Section */
#services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* A propos Section */
#a-propos {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.05);
}

/* Contact Section */
#contact {
    padding: var(--section-padding);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 5px;
}

.contact-form button {
    background-color: var(--text-light);
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
}

.contact-form button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 968px) {
    .logo-container {
        height: 50px;
    }

    .hero-logo {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        height: 40px;
        margin-bottom: 15px;
    }

    nav {
        margin-top: 10px;
        justify-content: center;
    }

    nav a {
        margin: 0 10px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 90%;
    }
}