/* STYLES GLOBAUX */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --light-color: #f5f5f5;
    --dark-color: #34495e;
    --text-color: #333;
    --light-text: #fff;
    --gray-text: #777;
    --border-color: #e1e1e1;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.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;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: var(--gray-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* BARRE DE CONTACT */
.contact-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 0;
    font-size: 0.9rem;
}

.contact-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-details {
    display: flex;
    gap: 20px;
}

.contact-details i {
    margin-right: 5px;
}

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

.social-icons a {
    transition: var(--transition);
}

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

/* HEADER */
header {
    background-color: var(--light-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.desktop-nav ul {
    display: flex;
    gap: 25px;
}

.desktop-nav a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

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

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* NAVIGATION MOBILE */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--light-color);
    padding: 50px 30px;
    z-index: 2000;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    margin-top: 30px;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HERO SECTION */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    color: var(--light-text);
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--secondary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* SECTION SERVICES */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 2.5rem;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* SECTION RÉALISATIONS */
.projects {
    padding: 100px 0;
    background-color: var(--light-color);
}

.carousel-container {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.carousel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.carousel-images img {
    width: 100%;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* SECTION GALERIE */
.gallery {
    padding: 100px 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-filter button {
    padding: 8px 20px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.gallery-filter button.active,
.gallery-filter button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--light-text);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    margin-bottom: 10px;
}

.gallery-overlay p {
    margin-bottom: 20px;
}

/* SECTION VIDÉO */
.video-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.video-container {
    max-width: 800px;
    margin: 50px auto 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    cursor: pointer;
}

.video-container video {
    width: 100%;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.video-container:hover .video-play-button {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* SECTION À PROPOS */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

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

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    min-width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.feature-text h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* SECTION TÉMOIGNAGES */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonials-container {
    max-width: 700px;
    margin: 50px auto 20px;
    position: relative;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(20px);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 5px solid var(--light-color);
}

.client-name {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.client-role {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.testimonial-text {
    margin-bottom: 20px;
    color: var(--gray-text);
    font-style: italic;
}

.testimonial-rating {
    color: #f39c12;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-btn {
    background: none;
    border: 2px solid var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.testimonial-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* SECTION CONTACT */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text a {
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* CTA SECTION */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: var(--light-text);
}

.cta h2 {
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* FOOTER */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding-top: 70px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.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(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .contact-bar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .contact-details {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .service-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .gallery-item {
        height: 250px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}