/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* Typographie */
h1, h2, h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

h3 {
    font-size: 2rem;
    color: #3498db;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s;
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.95);
}

nav .logo {
    float: left;
    margin-left: 50px;
    color: #3498db;
    font-size: 1.8rem;
    font-weight: bold;
}

nav .logo span {
    color: white;
}

nav ul {
    float: right;
    margin-right: 50px;
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hero Section avec image de fond */
header {
    background: linear-gradient(rgba(18, 66, 124, 0.7), rgba(18, 66, 124, 0.7)), url('images/bateau-fond.JPG');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.slogan {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    margin: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #3498db;
}

/* Sections générales */
section {
    padding: 80px 0;
}

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

/* Section "Le Projet" */
.section-blue {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Section "L'Équipage" avec image de fond */
#equipage {
    background: linear-gradient(rgba(18, 66, 124, 0.7), rgba(18, 66, 124, 0.7)), url('images/bateau-fond.JPG');
    background-size: cover;
    background-position: center;
    color: white;
}

#equipage .container {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Carte du skipper */
.skipper-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

.skipper-image {
    flex: 1;
    padding: 20px;
}

.skipper-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skipper-info {
    flex: 1;
    padding: 30px;
    text-align: left;
    color: #333;
}

.skipper-info h3 {
    color: #3498db;
    margin-bottom: 10px;
}

.skipper-info .role {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.skipper-info p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.skipper-bio {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.skipper-info .social-links {
    margin-top: 20px;
}

.skipper-info .social-links a {
    color: #3498db;
    margin-right: 15px;
    font-size: 1.5rem;
}

/* Section "Partenaires" */
#partenaires.section-blue {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
}

/* Section "Contact" */
.section-light {
    background: white;
}

/* Formulaire de contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    align-self: center;
}

/* Pied de page */
footer {
    background: #1a252f;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    nav .logo {
        margin-left: 20px;
    }
    nav ul {
        margin-right: 20px;
    }
    h1 {
        font-size: 2.5rem;
    }
    .hero-content {
        padding: 0 20px;
    }
    .skipper-card {
        flex-direction: column;
    }
    .skipper-image, .skipper-info {
        width: 100%;
        padding: 20px;
    }
}

/* Style pour les images dans la section "Le Projet" */
.project-images {
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
}

.project-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-height: 400px;
}
