/* ===========================================
   COMBI TRIP 77 - Main Stylesheet
   =========================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    background-color: #3A1C13;
    color: #E8DFDF;
    line-height: 1.9;
    font-size: 18px;
}

h1, h2, h3, h4, .section-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
    font-weight: 400;
}

p, li, span, a {
    font-family: 'Lato', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.8s ease-out forwards;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for children */
.animate-on-scroll.animated > *:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll.animated > *:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll.animated > *:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll.animated > *:nth-child(4) { transition-delay: 0.4s; }

/* Text reveal animation */
.text-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover zoom */
.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover img {
    transition: transform 0.5s ease;
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

a {
    color: #E8DFDF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F5C6CB;
}

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

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

/* ===========================================
   HEADER
   =========================================== */
header {
    background-color: #2D1610;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-left, .logo-right {
    flex: 0 0 auto;
}

/* Navigation */
nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    display: block;
    padding: 8px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #4A2C23;
    border-radius: 3px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #E8DFDF;
    font-size: 24px;
    cursor: pointer;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #3A1C13;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.4;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 2;
}

.hero-list {
    list-style: none;
    margin: 30px 0;
}

.hero-list li {
    margin: 12px 0;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.hero-list li strong {
    color: #F5C6CB;
    font-weight: 500;
}

/* ===========================================
   VIDEO SECTION
   =========================================== */
.video-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.video-section video {
    width: 100%;
    border-radius: 8px;
}

.video-poster {
    width: 100%;
    border-radius: 8px;
}

/* ===========================================
   PARALLAX SECTION
   =========================================== */
.parallax-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-section {
        height: 300px;
        background-attachment: scroll;
    }
}

/* ===========================================
   SECTIONS
   =========================================== */
section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 40px;
    font-style: italic;
    color: #F5C6CB;
    font-family: 'Playfair Display', Georgia, serif;
}

/* Hero animations */
.hero h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-list {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Card hover animations */
.combi-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.combi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Logo animations */
.logos-grid img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logos-grid img:hover {
    transform: scale(1.1);
}

/* Button animations */
.btn, .btn-submit {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Testimonial card animations */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-dark {
    background-color: #2D1610;
}

.section-light {
    background-color: #4A2C23;
}

/* ===========================================
   COMBI GALLERY
   =========================================== */
.combi-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.combi-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.combi-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.combi-card:hover img {
    transform: scale(1.05);
}

.combi-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
}

.combi-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* ===========================================
   SERVICES GRID
   =========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    padding: 30px;
    background-color: #4A2C23;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #F5C6CB;
}

.service-item p {
    font-size: 14px;
    color: #CCBBBB;
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials {
    background-color: #2D1610;
    padding: 60px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #3A1C13;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #4A2C23;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.8;
}

.testimonial-card .author {
    font-weight: bold;
    color: #F5C6CB;
}

/* ===========================================
   CLIENT LOGOS
   =========================================== */
.client-logos {
    padding: 40px 20px;
    background-color: #3A1C13;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logos-grid img {
    height: 140px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: transform 0.3s ease, filter 0.3s ease;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
}

.logos-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* ===========================================
   REVIEWS
   =========================================== */
.reviews {
    text-align: center;
    padding: 60px 20px;
    background-color: #2D1610;
}

.reviews h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-style: italic;
}

.reviews-list {
    font-size: 24px;
    line-height: 2;
}

.reviews-list a {
    color: #F5C6CB;
    text-decoration: underline;
}

.stars {
    color: gold;
}

/* ===========================================
   CONTACT SECTION
   =========================================== */
.contact-section {
    background-color: #4A2C23;
    padding: 60px 20px;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

.contact-info a {
    color: #F5C6CB;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #5A3C33;
    border-radius: 4px;
    background-color: #3A1C13;
    color: #E8DFDF;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F5C6CB;
}

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

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background-color: #E8DFDF;
    color: #3A1C13;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: #F5C6CB;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    background-color: #1A0D09;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    font-size: 12px;
    color: #888;
}

footer a {
    color: #F5C6CB;
}

/* ===========================================
   PAGE SPECIFIC - COMBI PAGES
   =========================================== */
.page-header {
    text-align: center;
    padding: 60px 20px;
    background-color: #2D1610;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-style: italic;
    color: #F5C6CB;
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* Page Header with Logos */
.page-header-with-logos {
    background-color: #2D1610;
    padding: 40px 20px;
}

.header-logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.header-logo-left,
.header-logo-right {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.header-content-center {
    text-align: center;
    flex: 1;
    max-width: 700px;
}

.header-content-center h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-style: italic;
    margin-bottom: 20px;
    color: #F5C6CB;
}

.header-content-center p {
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .header-logos-container {
        flex-direction: column;
    }

    .header-logo-left,
    .header-logo-right {
        width: 80px;
    }

    .header-logo-right {
        display: none;
    }

    .header-content-center h1 {
        font-size: 22px;
    }
}

.page-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .page-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .page-gallery {
        grid-template-columns: 1fr;
    }
}

.page-gallery img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #4A2C23;
    border-radius: 8px;
}

.feature-item img {
    width: 40px;
    height: 40px;
}

.feature-item span {
    font-size: 14px;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #F5C6CB;
    color: #3A1C13;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid #E8DFDF;
    color: #E8DFDF;
}

.btn-outline:hover {
    background-color: #E8DFDF;
    color: #3A1C13;
}

/* ===========================================
   SLIDER
   =========================================== */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
}

.slider-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* ===========================================
   LIGHTBOX
   =========================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    nav ul {
        gap: 3px;
    }

    nav ul li a {
        padding: 6px 8px;
        font-size: 11px;
    }

    .logo img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .logo-right {
        display: none;
    }

    nav {
        order: 3;
        width: 100%;
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul li a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .slider-slide img {
        height: 300px;
    }

    .page-header h1 {
        font-size: 28px;
    }
}

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

    .hero-subtitle {
        font-size: 16px;
    }

    .combi-gallery {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .logos-grid img {
        height: 100px;
    }
}

/* ===========================================
   CARTES & PDF - 2 PAR LIGNE MAX
   =========================================== */
.cards-grid, .pdf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .cards-grid, .pdf-grid {
        grid-template-columns: 1fr;
    }
}

.cards-grid img, .pdf-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* ===========================================
   TAILLES DE POLICE AUGMENTÉES
   =========================================== */
.hero h1 {
    font-size: 34px;
}

.hero-subtitle {
    font-size: 19px;
}

.hero-list li {
    font-size: 17px;
}

.section-title {
    font-size: 32px;
}

.header-content-center h1 {
    font-size: 32px;
}

.header-content-center p {
    font-size: 17px;
}

.testimonial-card p {
    font-size: 16px;
}

.contact-info p {
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    font-size: 16px;
}

.feature-item span {
    font-size: 16px;
}

/* Section NOS CLIENTS ET REFERENCES - titre plus visible */
.client-logos h2,
.section-dark h2[style*="CLIENTS"],
h2:contains("NOS CLIENTS") {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}
