html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    font-family: 'Segoe UI', sans-serif;
}

/* HERO */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
   background-image: url(logo.jpg);
   background-size: cover;
   background-position: center;
   position: relative;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width:100% ;
    position: 
    z-index:1 ;
   
}

/* LOGO */
.logo-wrapper {
    position: relative;
    width: 80%;
    max-width:900px;
    overflow: hidden;
    border-radius: 0;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1.2s ease forwards;
}

#logo {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* SHINE */
.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    animation: shine 3s ease 1.5s infinite;
}

.slogan {
    font-family: 'rajdhani',sans-serif;
    color: #ffffff;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #F5A623;
    width: 0;
    max-width: fit-content;
    animation: typing 3s steps(40) 1.5s forwards, 
               blink 0.7s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
}

/* ANIMATIONS */
@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shine {
    0%   { left: -100%; }
    50%  { left: 150%; }
    100% { left: 150%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textShine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
/* SERVICES */
#services {
    background-color: #f5f5f5;
    padding: 80px 40px;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #0a0a0a;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #F5A623, #FF6B00);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.card {
    position: relative;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
    transform-style: preserve-3d;
}

.card-wrapper {
    perspective: 1000px;
    height: 250px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    will-change: transform;}
.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    color: #ffffff;
}

.card.flipped .card-front{
    transform: rotateY(-180deg);
}

.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
}
 
.card.flipped .card-back{
    transform: rotateY(0deg);
}



.card-back {
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.card-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 12px;
}

.card-overlay p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    line-height: 1.6;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #F5A623;
}

.card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
}



/* GALERIE */
#galerie {
    background-color: #0a0a0a;
    padding: 80px 40px;
    overflow: hidden;
}

#galerie .section-title {
    color: #ffffff;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    width: fit-content;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.carousel-slide {
    flex-shrink: 0;
    width: 280px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform: rotateY(25deg) scale(0.85);
    opacity: 0.6;
}

.carousel-slide.active {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
    box-shadow: 0 20px 60px rgba(245, 166, 35, 0.3);
}

.carousel-slide.prev,
.carousel-slide.next {
    transform: rotateY(15deg) scale(0.9);
    opacity: 0.8;
}

.carousel-slide.prev {
    transform: rotateY(-15deg) scale(0.9);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTROLS */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-controls button {
    background: none;
    border: 2px solid #F5A623;
    color: #F5A623;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-controls button:hover {
    background: #F5A623;
    color: #0a0a0a;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    border-radius: 4px;
    background: #F5A623;
}
/* TARIFS */
#tarifs {
    background-color: #f5f5f5;
    padding: 80px 40px;
    overflow: hidden;
}

.tarifs-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 60px;
}

/* CARD */
.tarif-card {
    background: #0a0a0a;
    border-radius: 16px;
    padding: 40px 30px;
    color: #ffffff;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarif-card:hover {
    transform: translateY(-8px);
}

.tarif-card.featured {
    background: #0a0a0a;
    border: 2px solid #F5A623;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.3),
                0 0 80px rgba(255, 107, 0, 0.15);
    animation: glowPulse 2s ease-in-out infinite;
}

.tarif-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(245, 166, 35, 0.3), 0 0 80px rgba(255, 107, 0, 0.15); }
    50%       { box-shadow: 0 0 60px rgba(245, 166, 35, 0.5), 0 0 120px rgba(255, 107, 0, 0.3); }
}

.tarif-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #F5A623, #FF6B00);
    color: #0a0a0a;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 4px 20px;
    border-radius: 20px;
}

.tarif-header h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #F5A623;
    margin-bottom: 20px;
}

.tarif-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.from {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.currency {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #F5A623;
    letter-spacing: 2px;
}

.tarif-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.tarif-features li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tarif-features li i {
    color: #F5A623;
}

.tarif-btn {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid #F5A623;
    color: #F5A623;
    transition: all 0.3s ease;
    text-align: center;
}

.tarif-btn:hover {
    background: #F5A623;
    color: #0a0a0a;
}

.featured-btn {
    background: linear-gradient(to right, #F5A623, #FF6B00);
    color: #0a0a0a;
    border: none;
}

.featured-btn:hover {
    opacity: 0.85;
    color: #0a0a0a;
}

/* ANIMATIONS SCROLL */
.slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible,
.slide-right.visible,
.slide-up.visible {
    opacity: 1;
    transform: translate(0);
}
/* POURQUOI NOUS */
#pourquoi {
    background-image: url('groupe.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.pourquoi-overlay {
    background: rgba(0, 0, 0, 0.75);
    padding: 80px 40px;
}

.pourquoi-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.pourquoi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 16px;
    padding: 40px 25px;
    color: #ffffff;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.pourquoi-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pourquoi-card:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: #F5A623;
    transform: translateY(-8px);
}

.pourquoi-card i {
    font-size: 2.5rem;
    color: #F5A623;
    margin-bottom: 20px;
    display: block;
}

.pourquoi-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F5A623;
    margin-bottom: 15px;
}

.pourquoi-card p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}
/* CONTACT */
#contact {
    background-color: #0a0a0a;
    padding: 80px 40px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#contact .section-title {
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-phone i {
    font-size: 2rem;
    color: #F5A623;
}

.contact-phone a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: #F5A623;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}
/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background: transparent;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 12px 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 55x;
    width: 55px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    object-fit: contain;
    border-radius: 55%;border: 2px solid #F5A623;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #F5A623;
}

.nav-btn {
    background: linear-gradient(to right, #F5A623, #FF6B00);
    color: #0a0a0a !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.4);
    color: #0a0a0a !important;
}
/* FOOTER */
#footer {
    background-color: #050505;
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(245, 166, 35, 0.2);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F5A623;
}

.footer-contact {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-contact a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #F5A623;
}

.footer-contact .fa-whatsapp {
    color: #25D366;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    width: 100%;
}

.footer-bottom p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1px;
}

.footer-credit {
    margin-top: 8px;
}

.footer-credit span {
    color: #F5A623;
    font-weight: 700;
}
/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {

    /* NAVBAR */
    #navbar {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
    }

    /* HERO */
    .logo-wrapper {
        width: 95%;
        max-width: 350px;
    }

    .slogan {
        font-size: 1rem;
        letter-spacing: 2px;
        white-space: normal;
        text-align: center;
        border-right: none;
        width: 100% !important;
        animation: fadeInUp 1s ease 1s forwards;
    }

    @keyframes typing {
        from { width: 100% }
        to { width: 100% }
    }

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .card-wrapper {
        height: 200px;
    }

    /* POURQUOI */
    .pourquoi-grid {
        grid-template-columns: 1fr;
    }

    /* TARIFS */
    .tarifs-grid {
        grid-template-columns: 1fr;
    }

    .tarif-card.featured {
        transform: scale(1);
    }

    .tarif-card.featured:hover {
        transform: translateY(-8px);
    }

    /* GALERIE */
    .carousel-slide {
        width: 200px;
        height: 260px;
    }

    /* CONTACT */
/* CONTACT */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .contact-info {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .contact-phone {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .contact-phone a {
        font-size: 1.2rem;
    }

    .whatsapp-btn {
        font-size: 0.85rem;
        padding: 12px 20px;
        white-space: normal;
        width: 90%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }

    /* FOOTER */
    .footer-links {
        gap: 15px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 15px;
    }

    /* SECTIONS PADDING */
    #services,
    #pourquoi,
    #galerie,
    #tarifs,
    #contact {
        padding: 60px 20px;
    }

}
/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(245, 166, 35, 0.2);
    animation: fadeInScale 0.3s ease;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: #F5A623;
    color: #0a0a0a;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #F5A623;
    color: #0a0a0a;
}

/* MOBILE LIGHTBOX */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    #lightbox-img {
        max-width: 95vw;
        max-height: 75vh;
    }
}
/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }
}
.card-flip-btn {
    margin-top: 15px;
    background: transparent;
    border: 1.5px solid #F5A623;
    color: #F5A623;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-flip-btn:hover {
    background: #F5A623;
    color: #0a0a0a;
}