/* Variables CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 80px;
    width: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher span {
    cursor: pointer;
    padding: 5px;
}

.language-switcher span.active {
    font-weight: bold;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

.main-nav a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav a.active {
    color: var(--secondary-color);
}

/* Bannière publicitaire */
.ad-banner {
    padding: 15px 0;
    background-color: #f1f1f1;
}

.ad-banner img {
    width: 10%;
    height: 100%;
    border-radius: 100px;
}

/* Bande déroulante Actualités */
.news-ticker {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 10px 0;
    overflow: hidden;
}

.news-ticker .container {
    display: flex;
    align-items: center;
}

.ticker-label {
    background-color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 3px;
    font-weight: bold;
    margin-right: 20px;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.ticker-item {
    position: absolute;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Section À la Une */
.featured-section {
    padding: 60px 0;
    background-color: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.main-feature {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.feature-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: bold;
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.read-more {
    color: var(--secondary-color);
    font-weight: 500;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    margin-left: 10px;
}

.side-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-feature {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.side-feature:hover {
    transform: translateY(-5px);
}

.side-image {
    flex-shrink: 0;
}

.side-image img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.side-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.side-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Section Magazines */
.magazine-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.magazine-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.magazine-card:hover {
    transform: translateY(-10px);
}

.magazine-cover {
    position: relative;
}

.magazine-cover img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.magazine-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.magazine-info {
    padding: 20px;
}

.magazine-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.magazine-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.magazine-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.magazine-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-cta {
    text-align: center;
}

/* Section Spéciale */
.special-section {
    padding: 60px 0;
    background-color: white;
}

.special-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.special-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.special-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.special-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.special-text ul {
    margin-bottom: 25px;
}

.special-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.special-text i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after,
.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column p {
    margin-bottom: 20px;
    color: #bdc3c7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-links a:hover {
    color: var(--accent-color);
}