@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    font-family: "Poppins", sans-serif;
}

/* ----------------- Header ----------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #dbe5f1;
    height: 76px;
}

.column {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav {
    gap: 0;
}

.nav-btn {
    background-color: #dbe5f1;
    color: black;
    font-family: 'Poppins', sans-serif;
    border: none;
    height: 96px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease-in-out, font-size 0.3s, color 0.3s;
}

.nav-btn:hover {
    background-color: #0056b3;
    color: white;
    font-size: 1.2em;
}

/* ----------------- Boat Name ----------------- */
.boat-name {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f8f8;
}

.boat-name h1 {
    font-size: 3em;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* ----------------- Carousel ----------------- */
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background-color: #f8f8f8;
}

.carousel-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* Buttons navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* ----------------- Boat Specs ----------------- */
.boat-specs {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.boat-specs h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.specs-container {
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.specs-table {
    width: 80%;
    max-width: 600px;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.specs-table th {
    background-color: #2f5ec4;
    color: white;
}

.specs-table tr:hover {
    background-color: #f1f1f1;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* ----------------- Footer ----------------- */
.site-footer {
    background-color: #f0f0f0;
    color: #333;
    padding: 30px 20px;
    font-size: 0.95em;
    border-top: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-item {
    flex: 1 1 200px;
}

.footer-item a {
    color: #0056b3;
    text-decoration: none;
}

.footer-item a:hover {
    text-decoration: underline;
}

/* ----------------- Media Queries Mobile ----------------- */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .header img {
        width: 60px;
        /* Ajuste selon besoin */
        height: auto;
    }

    .nav-btn {
        font-size: 0.9em;
        height: auto;
    }

    .boat-name h1 {
        font-size: 2em;
        padding: 30px 0 20px 0;
    }

    .carousel-container {
        width: 95%;
        padding: 0 10px;
    }

    .carousel-btn {
        font-size: 1.5em;
        padding: 8px;
    }

    .boat-specs {
        padding: 30px 15px;
    }

    .boat-specs h2 {
        font-size: 1.5em;
    }

    .specs-container {
        flex-direction: column;
        align-items: center;
    }

    .specs-table {
        width: 100%;
    }
}