/* Variables principales */
:root {
    --primary-color: #8B0000;
    --primary-dark: #660000;
    --secondary-color: #333;
    --background-color: #fff;
    --background-light: #fafafa;
    --text-color: #333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    position: absolute;
    left: 30px; top: 12px; height: 70px;
    padding-left: 0.5rem;
}

.logo-img {
    height: 50px;
    margin-left: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 3rem;
}

#cgv-complete {
    margin: 75px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Carrousel d'arrière-plan */
.bg-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}
.bg-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s;
}
.bg-slide.active {
    opacity: 1;
    z-index: 1;
}
.bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.hero, #contact {
    position: relative;
    overflow: hidden;
}
.hero > .hero-content, #contact > .container {
    position: relative;
    z-index: 2;
}

/* Hero / Accueil */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    padding-top: 100px;
}

.welcome-section {
    background: var(--primary-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.10);
}

.welcome-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 400;
}

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255,255,255,0.10);
    border-radius: 25px;
    transition: var(--transition);
}

.feature i {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    margin-top: 1.5rem;
    border: none;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Sections générales */
section {
    padding: 5rem 0;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Services */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(139,0,0,0.07);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card.active {
    border: 2px solid var(--primary-color);
}

.service-card.coming-soon {
    opacity: 0.7;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(139,0,0,0.10);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-icon.douane svg {
    fill: #c00000; /* rouge */
}

.service-icon.douane-icon svg {
    display: block;
    margin: 0 auto 12px auto;
    fill: #a51a1a;
    height: 40px;
    width: 40px;
}

/* À propos et RDV Bordeaux */
.about-bordeaux {
    background: var(--primary-color);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.about-bordeaux h2 {
    color: #fff;
    background: transparent;
    display: inline-block;
    padding: 0;
    margin-bottom: 2rem;
}
.about-bordeaux h2::after {
    background: #fff;
}
.about-bordeaux .about-text {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}

.appointment-bordeaux {
    background: var(--primary-color);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.appointment-bordeaux h2 {
    color: #fff;
    background: transparent;
    display: inline-block;
    padding: 0;
    margin-bottom: 2rem;
}
.appointment-bordeaux h2::after {
    background: #fff;
}
.appointment-bordeaux .appointment-form {
    background: #fff;
    color: var(--primary-color);
}
.appointment-bordeaux .submit-button {
    background: var(--primary-color);
    color: #fff;
}
.appointment-bordeaux .submit-button:hover {
    background: var(--primary-dark);
}

/* Contact Section */
.contact {
    background: transparent;
}
.contact-content {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    justify-content: center;
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.cgv-link {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.cgv-link:hover {
    border-bottom: 1px solid #fff;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .navbar {
        padding: 1rem 0.5rem;
    }
    .welcome-section {
        padding: 2rem 1rem;
    }
    .services-grid {
        gap: 1rem;
    }
}
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .burger {
        display: block;
    }
    .logo {
        position: static;
    }
    .welcome-section {
        padding: 1.2rem 0.5rem;
    }
    .welcome-features {
        gap: 0.5rem;
    }
    .feature {
        font-size: 0.95rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .contact-content {
        flex-direction: column;
        gap: 1rem;
    }
} 