:root {
    --primary-color: #003366;
    --secondary-color: #f39c12;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

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

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

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 15px;
    font-weight: 600;
}

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 18px;
    border-radius: 4px;
}

/* --- Hero Section avec l'image demandée --- */
.hero {
    background-image: url("porteconteneurs.jpg");
    background-size: cover;
    background-position: center;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: lab(100% 0.01 -0.01 / 0.651);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    font-weight: 300;
}

.btn-primary,
.btn-secondary {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 0 10px;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.services {
    padding: 60px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--primary-color);
}

.services .container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: white;
    flex: 1;
    min-width: 280px;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.ports {
    padding: 60px 0;
    text-align: center;
}

.port-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.port-grid span {
    background: #e9ecef;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
}

.main-port {
    background: var(--primary-color) !important;
    color: white;
}

footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px 0;
    text-align: center;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}