/* Variables CSS et Reset */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --gold: #D6980A;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Boutons */
.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #c0392b;
}

.btn-gold {
    background-color: var(--gold);
}

.btn-gold:hover {
    background-color: #b57d08;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Titres de sections */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    color: var(--gold);
    margin-left: 10px;
    font-size: 2rem;
}
.logo-img {
                width: 120px;
                height: 45px; 
                margin-right: 10px;
            }

/* Navigation avec menus déroulants */
.nav-links {
    display: flex;
    position: relative;
}

.nav-links > li {
    margin-left: 25px;
    position: relative;
}

.nav-links > li > a {
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-links > li > a:hover {
    color: var(--gold);
}

.nav-links > li > a .dropdown-icon {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-links > li:hover > a .dropdown-icon {
    transform: rotate(180deg);
}

/* Menu déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-links > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(214, 152, 10, 0.1);
    color: var(--gold);
    padding-left: 25px;
}

/* Texte en gras avec couleur or */
strong, b, .bold-text {
    color: var(--gold);
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 80px;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

.slide-content {
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform 1s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.slide p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--gold);
    transform: scale(1.1);
}



/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(30px);
    transition: transform 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(214, 152, 10, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(214, 152, 10, 0.2);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.features-list i {
    color: var(--gold);
    margin-right: 10px;
    margin-top: 5px;
}

/* Service Detail Pages */
.service-detail {
    padding: 100px 0;
    background-color: white;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-detail-text h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--primary);
}

.service-features {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.service-features h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 30px;
    color: #555;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(214, 152, 10, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-item:hover i {
    background-color: rgba(214, 152, 10, 0.2);
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background-color: #f5f7fa;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(214, 152, 10, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: var(--transition);
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--gold);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-container,
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .about-img,
    .service-detail-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links > li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links > li > a {
        padding: 15px 30px;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0,0,0,0.02);
        width: 100%;
        display: none;
    }
    
    .nav-links > li.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 12px 45px;
    }
    
    .mobile-menu-btn {
        display: block;
		position: relative;
        z-index: 1100;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services, .about, .contact, .service-detail {
        padding: 70px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .service-features {
        padding: 20px;
    }
}
/* ===== ACTUALITÉS MODERNES ===== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--gold);
    color: white;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary);
}

.news-content p {
    flex-grow: 1;
    color: #555;
    line-height: 1.6;
}

.news-readmore {
    margin-top: 20px;
    font-weight: 600;
    color: var(--gold);
}

/* Page détail */

/* ===== NEWS DETAIL MODERNE ===== */

.news-detail-header {
    margin-top: 90px; /* espace pour header fixe */
    height:100%;
    position: relative;
    overflow: hidden;
}

.news-detail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.news-detail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 50px 80px;
    color: white;
}

.news-detail-overlay h1 {
    font-size: 2rem;
    max-width: 900px;
    line-height: 1.4;
    font-weight: 600;
}

.news-meta {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.news-detail-body {
    max-width: 850px;
    margin: 70px auto;
    padding: 0 20px;
    font-size: 18px;
    line-height: 1.9;
    color: #444;
}

.news-detail-body p {
    margin-bottom: 20px;
}
