/*. ========================================
   E-JARNAULD SOFT - SERVICES
   Professional CSS - White & Bright Red
   ======================================== */

/* ===== VARIABLES ===== */
:root {
    --primary-red: #FF0000;
    --primary-red-dark: #CC0000;
    --primary-red-light: #FF3333;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #F5F5F5;
    --dark-gray: #1A1A1A;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(255, 0, 0, 0.15);
    --transition: all 0.3s ease;
}
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

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

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

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

ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 42px;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-red);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

nav ul li a:hover::after { width: 100%; }


/* ===== STAGE MARQUEE (BANDEAU STAGE) ===== */
.stage-marquee {
    background-color: #FF0000;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.stage-marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    font-size: 18px;
}

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

/* ===== STAGE MARQUEE ===== *
.stage-marquee {
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark), var(--primary-red));
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    overflow: hidden;
}

.stage-marquee a {
    display: block;
    text-align: center;
}

.stage-marquee p {
    color: var(--white);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    margin: 0;
}

.stage-marquee p:hover {
    animation-play-state: paused;
}

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

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
                url('image/Capture d’écran_20-12-2025_114431_cdn.pixabay.com.jpeg') center/cover;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ===== SERVICE SECTIONS ===== */
.service-section {
    padding: 80px 0;
    background: var(--white);
}

.service-section:nth-child(even) {
    background: var(--off-white);
}

.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-container.reverse .service-image {
    order: 2;
}

.service-container.reverse .service-text {
    order: 1;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.service-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-red) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-image:hover::before {
    opacity: 0.3;
}

.service-text {
    padding: 20px;
}

.service-text h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
}

.service-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary-red);
    transition: var(--transition);
}

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

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920') center/cover;
    padding: 80px 0;
    text-align: center;
}

.cta .container h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
}


/* Booking Button */
.btn-booking {
    padding: 12px 28px;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-booking:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}
/* ===== FOOTER ===== 
.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
*/
/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
    margin: 0;
    width: 100%;
}

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

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}


/* ===== DARK IMAGE EFFECT ===== */
.dark-image {
    position: relative;
}

.dark-image img {
    filter: brightness(0.7) contrast(1.1);
    -webkit-filter: brightness(0.7) contrast(1.1);
    -moz-filter: brightness(0.7) contrast(1.1);
}

.dark-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    .btn-booking {
        display: inline-block;
        margin-top: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .service-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-container.reverse .service-image {
        order: 1;
    }

    .service-container.reverse .service-text {
        order: 2;
    }

    .service-text h2 {
        font-size: 1.8rem;
    }

    .cta .container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-section {
        padding: 60px 0;
    }

    .service-text h2 {
        font-size: 1.6rem;
    }

    .service-text p {
        font-size: 1rem;
    }

    .service-image img {
        height: 250px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .cta .container h2 {
        font-size: 1.6rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 300px;
    }

    .service-image img {
        height: 200px;
    }

    .cta {
        padding: 60px 20px;
    }
}
