/* Style global */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(to right, #3a3a3a, #555);
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav ul li {
    display: inline;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.purchase-info {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2em;
}

.purchase-info button {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.3s;
}

.purchase-info button:hover {
    transform: scale(1.05);
}

/* Hero Images */
#hero, #hero2, #hero3 {
    text-align: center;
    margin: 40px 0;
}

#hero img, #hero2 img, #hero3 img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Fonctionnalités avec Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.tablinks {
    padding: 15px 30px;
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

.tablinks:hover {
    background-color: #ddd;
    color: #007bff;
}

.tablinks.active {
    background-color: #007bff;
    color: #fff;
}

.tabcontent {
    display: none;
    padding: 30px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Carousel */
.carousel {
    display: flex;
    overflow-x: hidden;
    gap: 20px;
    padding: 40px;
    scroll-behavior: smooth;
    position: relative;
}

.carousel .card {
    min-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.carousel .card:hover {
    transform: scale(1.05);
}

.carousel .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.carousel-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-navigation button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

/* Section Image/Texte */
.detail-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.detail-section img {
    width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.detail-section .text-content {
    flex: 1;
}

/* Table de Comparaison */
#comparer table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#comparer th, #comparer td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}

#comparer th {
    background-color: #f8f8f8;
    font-size: 1.2em;
}

/* FAQ */
#faq details {
    margin: 30px 0;
}

#faq summary {
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
}

#faq details[open] summary {
    background-color: #007bff;
    color: #fff;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 40px;
    margin-top: 40px;
}

footer nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1em;
}

footer nav a:hover {
    text-decoration: underline;
}
