/* =========================================
   1. RESET & VARIABLES GLOBALES
   ========================================= */
:root {
    --primary-color: #002b49; /* Bleu foncé du logo */
    --secondary-color: #005f9e; /* Bleu plus clair */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f9f9f9;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Conteneur principal centré */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--text-light); }

/* =========================================
   2. HEADER (Navigation) - HAUTEUR 100PX
   ========================================= */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* Reste en haut au scroll */
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; 
}

.logo img {
    height: 80px; 
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    transition: 0.3s;
    font-size: 1.1rem;
}

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

.btn-contact {
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 5px;
}

.btn-contact:hover {
    background: var(--secondary-color);
}

.burger { display: none; }

/* =========================================
   3. HERO SECTION - AVEC IMAGE DE FOND
   ========================================= */
/* =========================================
   3. HERO SECTION - IMAGE NAVIRE EN MER
   ========================================= */
/* =========================================
   3. HERO SECTION - IMAGE LOCALE
   ========================================= */
.hero {
    /* On pointe vers le dossier images/hero-bg.jpg */
    background-image: linear-gradient(rgba(0, 43, 73, 0.7), rgba(0, 43, 73, 0.7)), url('BG_Container_SeaTerra.jpg');
    
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    
    /* Centrage */
    align-items: center;
    justify-content: center;
    text-align: center;
    
    color: #fff;
}

.hero-text {
    width: 100%;
    max-width: 900px;
    margin: 0 auto; 
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Légère ombre pour améliorer la lisibilité */
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* =========================================
   4. SECTIONS (A propos, Services, Valeurs)
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title p.subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Grille des services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary-color);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Grille des valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.value-item {
    border-left: 5px solid var(--secondary-color);
    padding-left: 20px;
    background: #fff;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* =========================================
   5. CONTACT & FOOTER
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info ul {
    margin-top: 30px;
}

.contact-info li {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: #001a2c; /* Bleu très sombre */
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-legal h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-legal p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}

/* =========================================
   6. RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .header-content {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    
    .logo img {
        height: 70px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}