@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&&display=swap');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
}

.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-top: 0.5rem;
}

.boat-section {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    margin-top: 3rem;
}

.boat-section img {
    width: 50%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.boat-info {
    flex: 1;
}

.boat-info h3 {
    font-size: 2rem;
    color: #E22822;
    margin-bottom: 1rem;
}

.boat-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.boat-specs {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.boat-specs h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.boat-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boat-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.boat-specs li:last-child {
    border-bottom: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.course-card-header {
    background: linear-gradient(135deg, #E22822 0%, #c41e1a 100%);
    color: white;
    padding: 1.5rem;
}

.course-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.course-card-header .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.course-card-body {
    padding: 1.5rem;
}

.course-card-body p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.course-card-body ul {
    padding-left: 1.2rem;
    color: #444;
}

.course-card-body li {
    margin-bottom: 0.5rem;
}

.instructor-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.instructor-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.instructor-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.instructor-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.instructor-info {
    text-align: left;
    flex: 1;
}

.instructor-info p {
    margin: 0 0 1.5rem 0;
}

.formules-section {
    padding: 4rem 0;
    background: #fff;
}

.badge-diplome {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.cta-section h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background: white;
    color: #1a1a2e;
    border: 2px solid #E22822;
}

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

.location-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: #666;
}

.location-info a {
    color: #E22822;
    text-decoration: none;
}

.location-info a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .boat-section {
        flex-direction: column;
    }

    .boat-section img {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .instructor-content {
        flex-direction: column;
        text-align: center;
    }

    .instructor-info {
        text-align: center;
    }

    .instructor-photo {
        width: 150px;
        height: 150px;
    }
}
