/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7fb;
    color: #333;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #FF6347; /* Changer la couleur lors du hover */
}

/* Header */
.top-header {
    background: linear-gradient(90deg, #2196f3, #e91e63);
    padding: 10px 0;
    color: white;
    font-family: Arial, sans-serif;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu {
    display: flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
}

.menu-icon {
    font-size: 32px;
    margin-right: 5px;
    color: #fff;
}

.menu-text {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.logo-container .logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

/* Main Content */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Test Article Section */
.product-test h1 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
}

.product-test h1::after {
    content: '';
    display: block;
    height: 3px;
    width: 50px;
    background-color: #FF6347;
    position: absolute;
    bottom: -5px;
    left: 0;
}

/* Sections */
.product-details {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Bullet points styling */
.product-test ul {
    list-style-type: none;
    padding-left: 0;
}

.product-test ul li {
    align-items: center;
    margin-bottom: 12px;
}

/* Supprime l'icône "✔" */
.product-test ul li::before {
    content: ""; /* Retire l'icône "✔" */
}

/* Final Note Styling */
.final-rating {
    display: inline-block;
    background-color: #FF6347;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.final-rating .rating-value {
    font-size: 30px;
    font-weight: 700;
}

.final-rating .rating-text {
    font-size: 16px;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Buttons */
button, .price-links a {
    padding: 12px 30px;
    background-color: #304ffe;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

button:hover, .price-links a:hover {
    background-color: #FF6347;
    transform: scale(1.05);
}

/* Product Price Links */
.price-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.price-links a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

.price-links .buy-button {
    background-color: #FF6347;
    color: white;
}

.price-links .test-button {
    background-color: #4c8bf5;
    color: white;
}

.price-links a:hover {
    opacity: 0.8;
}



/* Section des atouts et des faiblesses */
.pros-cons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px; /* Ajout d'espace entre les deux colonnes */
}

.pros, .cons {
    width: 90%;  /* Chaque côté prend environ la moitié de la largeur */
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

ul {
    padding-left: 20px;
    list-style-type: none; /* Enlève les puces */
}

ul li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    align-items: center;
}

/* Icone + pour les atouts et - pour les faiblesses */
.icon {
    font-size: 20px;
    margin-right: 10px;
    font-weight: bold;
}

.plus {
    color: #28a745;  /* Vert pour les atouts */
}

.minus {
    color: #e74c3c;  /* Rouge pour les faiblesses */
}

.pros-cons h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

/* Styles de séparation visuelle entre les deux colonnes */
.pros-cons .pros, .pros-cons .cons {
    border: 2px solid #ddd;
    padding: 10px;
    margin: 5px;
}

/* Hover effect pour les éléments de liste */
.pros-cons ul li:hover,
.pros-cons ul li:active {
    background-color: #f4f4f4;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Style de la section "Où acheter le Samsung Galaxy A55" */
.price-options {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

.price-options h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.price-options p {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}

.price-options ul {
    list-style: none; /* Retire les puces */
    padding: 0;
}

.price-options ul li {
    margin-bottom: 10px;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.price-options ul li:hover {
    transform: translateY(-2px);
}

.price-options ul li a {
    text-decoration: none;
    color: #304ffe; /* Couleur pour les liens */
    font-weight: bold;
    transition: color 0.3s ease;
}

.price-options ul li a:hover {
    color: #FF6347; /* Couleur lors du hover */
}

/* Footer Styling */
footer {
    background-color: #333; /* Couleur de fond sombre */
    color: #fff; /* Texte en blanc */
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    border-top: 3px solid #FF6347; /* Ligne en haut du footer */
}

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

footer p {
    margin: 0;
    font-size: 14px;
    color: #ccc; /* Légèrement plus clair pour un contraste doux */
    margin-bottom: 15px;
}

footer p a {
    color: #FF6347; /* Couleur des liens en rouge vif */
    text-decoration: none;
    font-weight: bold;
}

footer p a:hover {
    color: #fff; /* Change de couleur au survol */
}



/* Main News Feed Section */
.news-feed {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

.news-feed h1 {
    font-size: 2em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 10px;
}

.intro {
    text-align: center;
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Article Styles */
.news-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.news-item h2 {
    font-size: 1.5em;
    color: #111827;
    margin-top: 0;
    margin-bottom: 10px;
}

.news-item .date {
    font-size: 0.9em;
    color: #6b7280;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 1em;
    color: #374151;
    line-height: 1.6;
}

.news-item h2:hover {
    color: #2563eb;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .menu {
        margin-bottom: 15px;
    }
    .product-test .pros-cons {
        flex-direction: column;
        gap: 20px;
    }
    .product-test h1 {
        font-size: 26px;
    }

    .price-links a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .final-rating {
        font-size: 20px;
        padding: 8px 16px;
    }

    .product-test ul li {
        margin-bottom: 8px;
    }

    .final-rating .rating-value {
        font-size: 28px;
    }
}
