/* ===================================
   HELY Studio - Main Stylesheet
   ================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS RESET & BASE STYLES
   ================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }


/* ===================================
   SCROLL REVEAL & LOADER (Architecture theme)
   ================================= */

/* Reveal utilities - NEUTRALIZED to ensure visibility */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  visibility: visible !important;
}

.reveal.active { /* triggered when in viewport */
  opacity: 1;
  transform: none;
}

.reveal--fade {
  transform: none;
}

.reveal--up { /* default is up; keep for semantics */ }

/* Scale-in subtle variant - Neutralized */
.reveal--scale {
  transform: none !important;
}

/* Masked vertical reveal (architectural panel) - Neutralized */
.reveal--mask {
  clip-path: none;
}
.reveal--mask.active {
  clip-path: none;
}

/* Small delays helpers - Disabled */
.reveal--d1, .reveal--d2, .reveal--d3, .reveal--d4 { transition-delay: 0s !important; }

/* Word-by-word quote animation - Neutralized */
[data-word-animation] span {
  display: inline-block;
  opacity: 1 !important;
  transform: none !important;
}

[data-word-animation].visible span {
  opacity: 1;
  transform: none;
}

/* Page Loader - Logo Reveal */
#loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: grid;
    place-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .4s cubic-bezier(0.16, 1, 0.3, 1), visibility .4s;
}

#loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo-container {
    position: relative;
    width: 180px; /* Taille ajustée pour le logo */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Pour contenir l'effet de brillance */
}

.loader-logo {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.95);
    animation: logo-fade-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Effet de brillance (Shine) */
.loader-logo-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: shine 1.5s ease-in-out infinite;
    animation-delay: 1.2s; /* Commence après l'apparition du logo */
}

@keyframes shine {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

@keyframes logo-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .loader-logo { opacity: 1; transform: none; animation: none; }
}

/* ===================================
   HEADER & NAVIGATION (GLASS NAV v2) ✅
   - Ultra léger / premium
   - Transparent + blur
   - "lift" au scroll
   - Scoped: ne touche QUE le header
   ================================= */

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0;
    background: transparent;
}

/* ✅ Pill glass */
.header::before{
    content:"";
    position:absolute;

    /* pill centrée */
    left: 22px;
    right: 22px;
    top: 12px;
    bottom: 12px;

    border-radius: 999px;

    /* GLASS premium : dégradé léger + transparence */
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0.26),
            rgba(255,255,255,0.10)
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* bord très fin */
    border: 1px solid rgba(255,255,255,0.22);

    /* ombre soft (pas lourde) */
    box-shadow:
            0 12px 30px rgba(0,0,0,0.08),
            inset 0 1px 0 rgba(255,255,255,0.18);

    transition:
            background .25s ease,
            border-color .25s ease,
            box-shadow .25s ease,
            transform .25s ease;
}

/* ✅ scroll = un peu plus lisible + “lift” */
.header.scrolled::before{
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0.44),
            rgba(255,255,255,0.18)
    );

    border-color: rgba(0,0,0,0.06);

    box-shadow:
            0 16px 40px rgba(0,0,0,0.10),
            inset 0 1px 0 rgba(255,255,255,0.20);

    transform: translateY(-1px);
}

.menu-active .header::before {
    opacity: 0;
}

/* ✅ Works (dark) = glass sombre, mais pas opaque */
.header.dark::before{
    background: linear-gradient(
            to bottom,
            rgba(18,18,18,0.35),
            rgba(18,18,18,0.16)
    );

    border-color: rgba(255,255,255,0.10);

    box-shadow:
            0 16px 40px rgba(0,0,0,0.20),
            inset 0 1px 0 rgba(255,255,255,0.08);
}

.header .main-nav{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header .nav-left,
.header .nav-right{
    display: flex;
}

.header .nav-right{
    justify-content: flex-end;
}

.header .nav-center{
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 44px;
}

/* Logo */
.header .logo{
    display: inline-block;
    text-decoration: none;
}

.header .site-logo{
    height: clamp(24px, 4vw, 34px); /* Logo size responsive */
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.10));
    transition: transform .2s ease, filter .2s ease;
}

.header .logo:hover .site-logo{
    transform: translateY(-1px);
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.14));
}

/* Menu */
.header .nav-menu{
    display: flex;
    list-style: none;
    gap: 44px;
}

/* Liens */
.header .nav-menu a{
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .2px;

    color: rgba(20,20,20,0.72);
    transition: color .25s ease, transform .2s ease;
    cursor: pointer;
}

/* Underline = petite barre élégante */
.header .nav-menu a::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 2px;

    border-radius: 2px;
    background: currentColor;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease, opacity .25s ease;
    opacity: 0.65;
}

/* Hover */
.header .nav-menu a:hover{
    color: rgba(20,20,20,0.95);
    transform: translateY(-1px);
}
.header .nav-menu a:hover::after{
    transform: scaleX(1);
    opacity: 0.9;
}

/* Active */
.header .nav-menu a.active{
    color: rgba(20,20,20,0.95);
}
.header .nav-menu a.active::after{
    transform: scaleX(1);
    opacity: 0.95;
}

/* Dark (works) */
.header.dark .nav-menu a{
    color: rgba(255,255,255,0.78);
}
.header.dark .nav-menu a:hover,
.header.dark .nav-menu a.active{
    color: #fff;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.menu-toggle .bar {
    width: 24px;
    height: 1.5px;
    background-color: #222;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header.dark .menu-toggle .bar {
    background-color: #fff;
}

/* Hamburger transition */
.menu-active .menu-toggle .bar:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
}
.menu-active .menu-toggle .bar:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        align-items: center;
    }

    .header .main-nav {
        padding: 0 20px;
    }

    .header .nav-center,
    .header .nav-right {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1050;
    }

    .header.dark .nav-center {
        background: #121212;
    }

    .header .nav-center {
        display: flex; /* force display to stack with nav-right content visually or just use one */
    }

    /* Merge menus visually on mobile */
    .menu-active .header .nav-center {
        opacity: 1;
        visibility: visible;
    }

    .header .nav-right {
        display: none; /* We'll include services in nav-center for mobile if needed, or just hide it */
    }
    
    /* Better: hide both and show a combined one, but for simplicity let's just make nav-center the mobile menu */
    .header .nav-center li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .header .nav-center .mobile-only a {
        color: rgba(20,20,20,0.72);
    }
    
    .header.dark .nav-center .mobile-only a {
        color: rgba(255,255,255,0.78);
    }

    .menu-active .header .nav-center li {
        opacity: 1;
        transform: translateY(0);
    }

    .menu-active .header .nav-center li:nth-child(1) { transition-delay: 0.1s; }
    .menu-active .header .nav-center li:nth-child(2) { transition-delay: 0.2s; }
    .menu-active .header .nav-center li:nth-child(3) { transition-delay: 0.3s; }
    .menu-active .header .nav-center li:nth-child(4) { transition-delay: 0.4s; }

    .header .nav-menu a {
        font-size: 24px;
        font-weight: 300;
    }

    .mobile-only {
        display: block !important;
    }
}

.mobile-only {
    display: none;
}

/* Services à droite */
.header .nav-right a{
    color: rgba(20,20,20,0.72);
}
.header .nav-right a:hover,
.header .nav-right a.active{
    color: rgba(20,20,20,0.95);
}
.header.dark .nav-right a{
    color: rgba(255,255,255,0.78);
}
.header.dark .nav-right a:hover,
.header.dark .nav-right a.active{
    color: #fff;
}

/* Mobile */
@media (max-width: 768px){
    .header .nav-menu{ display:none; }

    .header::before{
        left: 14px;
        right: 14px;
    }
}

/* Logo placeholder: réserve l'espace pour une future image */
.logo {
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    height: 36px;
    width: auto;
    display: block;
}


.logo-placeholder {
    display: block;
    width: 140px;   /* Ajustez selon le futur visuel */
    height: 36px;   /* Ajustez selon le futur visuel */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    /* Pour visualiser l'emplacement tant que l'image n'est pas fournie */
    border: 1px dashed rgba(255,255,255,0.35);
    border-radius: 6px;
}

/* Variante du contour en mode header clair */
.header.scrolled .logo-placeholder {
    border-color: rgba(0,0,0,0.35);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

/* Liens de navigation avec animation d'underline */
.nav-menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color .25s ease, transform .2s ease;
    cursor: pointer;
}

/*clique souris */
.project-card {
    cursor: pointer;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
    opacity: 0.9;
}

.header.scrolled .nav-menu a {
    color: #666;
}

.header.dark .nav-menu a {
    color: #ccc;
}

.nav-menu a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    color: #fff;
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

.header.scrolled .nav-menu a:hover,
.header.scrolled .nav-menu a.active {
    color: #333;
}

.header.dark .nav-menu a:hover,
.header.dark .nav-menu a.active {
    color: white;
}

/* Styles déplacés vers .header .main-nav */
.nav-container, .main-nav, .nav-center, .nav-right {
    /* Ces styles sont maintenant gérés via les sélecteurs .header ... */
}

/* Même style que les autres liens */
.nav-right a{
    color: rgba(255,255,255,0.85);
}

/* Mode header clair */
.header.scrolled .nav-right a{
    color:#666;
}

/* Suppression du bouton Services (styles retirés) */

/* ===================================
   LAYOUT & CONTAINERS
   ================================= */

.main-content {
    margin-top: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   HOME PAGE SECTIONS
   ================================= */

.home-page {
    display: block;
}

.home-page.hidden {
    display: none;
}

/* Hero Section */
/* =========================
   HOME – HERO IMAGE
   ========================= */

.hero-image {
    position: relative;
    height: 100vh; /* pleine hauteur écran */
    width: 100%;
    background-image: url("../images/cuisine/Scene3.png"); /* 🔁 CHANGE ICI */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* léger voile pour garder le texte lisible */
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}


.hero-text {
    padding: 80px 0 40px;
    background: #fff;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 100;              /* très fin */
    font-size: clamp(28px, 4.5vw, 56px); /* Réduit le minimum pour mobile */
    line-height: 1.25;             /* aéré mais élégant */
    letter-spacing: -0.01em;       /* finesse premium */
    max-width: 820px;              /* largeur contrôlée */
}


.hero-cta {
    display: inline-block;
    background: transparent;
    color: #333;
    padding: 12px 24px;
    border: 1px solid #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
}

.hero-cta:hover {
    background: #333;
    color: white;
}

/* Featured Projects — legacy styles removed to prevent conflicts */
/* (projects-grid, projects-bottom-row, project-card legacy, project-image,
   project-info, project-number, project-title, old project-meta) */

.project-year {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

/* Quote Section */
.quote-section {
    padding: 40px 0 120px;
    background: #fff;
}

.quote-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.quote-text {
    font-family: 'Inter', -apple-system, BlinkMacFont, 'Segoe UI', sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: clamp(20px, 4vw, 32px); /* Responsive font size */
    text-align: -khtml-left;
    line-height: 1.4;
    margin-left: 0;
    padding-left: 0;
}

.quote {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.3;
    color: #333;
    max-width: 1000px;
    margin: 0 auto 80px;
    opacity: 0;
    transform: translateY(60px);
    text-align: center;
}

.quote.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: end;
}

.quote-image-1 {
    background: linear-gradient(135deg, #f1f1f1, #e8e8e8);
    aspect-ratio: 3/4;
    opacity: 0;
    transform: translateY(60px);
    animation-delay: 0.2s;
}

.quote-image-1.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

.quote-image-2 {
    background: linear-gradient(135deg, #f1f1f1, #e8e8e8);
    aspect-ratio: 16/9;
    opacity: 0;
    transform: translateY(60px);
    animation-delay: 0.4s;
    overflow: hidden; /* Pour contenir le zoom de l'image */
}

.quote-image-2 img {
    transform: scale(2.2); /* Zoom important */
    transform-origin: 85% 60%; /* Centre le zoom sur l'armoire à droite */
    transition: transform 0.6s ease-out;
}

.quote-image-2.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}


/* CTA Banner */
.cta-banner {
    min-height: 60vh;
    height: auto;
    background: url('../images/Scene14.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 40px;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 12px 24px;
    border: 1px solid white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background: white;
    color: #333;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left {
    font-size: 12px;
    color: #666;
}

.footer-bottom-right {
    display: flex;
    gap: 30px;
    font-size: 12px;
    color: #666;
}

.footer-bottom-right a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #ccc;
}

/* ===================================
   STUDIO PAGE
   ================================= */

.studio-page {
    display: none;
    background: #fff;
    min-height: 100vh;
}

.studio-page.active {
    display: block;
}

/* Studio Page Styles - Redesigned */
.studio-hero {
    padding: 160px 0 80px;
    background: #fff;
    text-align: center;
}

.studio-content {
    padding: 0 0 140px;
    background: #fff;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.founder-text-col {
    padding-top: 0;
}

.founder-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 500px;
}

.founder-paragraphs p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #888;
    letter-spacing: 0.01em;
    text-align: justify;
}

.founder-title {
    font-family: 'Avenir Next', 'Arial', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 200;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    color: #333;
}

.founder-title span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-title.active span {
    transform: translateY(0);
    animation: founderTitleFloat 4s ease-in-out infinite 1.2s;
}

@keyframes founderTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Ligne architecturale qui souligne le titre */
.founder-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #000;
    transform: translateX(-50%);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.founder-title.active::after {
    width: 200px;
}

.founder-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #666;
    margin-top: 30px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.founder-title.active + .founder-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.founder-image-container {
    width: 100%;
    aspect-ratio: 3 / 4; /* Format vertical (Portrait) */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit le container vertical */
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .founder-text-col {
        padding-top: 0;
        order: 2;
    }
    
    .founder-content-col {
        order: 1;
    }
    
    .founder-title {
        font-size: 60px;
    }
}

.services-page.active {
    display: block;
}

/* Services Page Styles */
.services-hero {
    padding: 160px 0 80px;
    background: #fff;
    text-align: center;
}

.services-title {
    font-family: 'Avenir Next', 'Arial', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 200;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

.services-title span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-title.active span {
    transform: translateY(0);
    animation: servicesTitleFloat 4s ease-in-out infinite 1.2s;
}

@keyframes servicesTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Ligne architecturale qui souligne le titre */
.services-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #000;
    transform: translateX(-50%);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.services-title.active::after {
    width: 200px;
}

.services-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.services-title.active + .services-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.services-list {
    padding: 80px 0;
    background: #fff;
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0 100px;
    background: #fff;
}

.pricing-grid {
    margin-bottom: 30px;
}

.pricing-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
    font-size: 18px;
    color: #fff; /* Blanc pour le contraste */
    letter-spacing: 0.03em;
}

.pricing-name {
    font-weight: 300;
    flex-shrink: 0;
    opacity: 0.9;
}

.pricing-dots {
    flex-grow: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 20px;
    position: relative;
    top: -4px;
}

.pricing-price {
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    font-size: 20px;
}

.pricing-disclaimer {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5); /* Plus discret mais lisible */
    font-style: italic;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    padding: 60px;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 0;
    transition: all 0.4s ease;
}

.service-card:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transform: translateY(-5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    color: #333;
    margin-bottom: 30px;
}

.service-card-title {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.service-card-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
}

.services-contact {
    padding: 100px 0 140px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0a0a0a; /* Noir plus profond */
    border-radius: 0;
    overflow: hidden;
    color: #fff;
    border: 1px solid #222; /* Bordure subtile pour l'effet carte */
}

.contact-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 18px;
    font-weight: 300;
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.method-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2px;
}

.method-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.method-link:hover {
    color: #ccc;
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    width: fit-content;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

.contact-image {
    width: 100%;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        padding: 60px 40px;
    }
    
    .contact-image {
        height: 300px;
    }
}

/* ===================================
   WORKS PAGE
   ================================= */

.works-page {
    display: none;
    background: #000000;
    min-height: 100vh;
    color: white;
}

.works-page.active {
    display: block;
}

.works-hero {
    padding: 160px 0 80px;
    background: #000;
    text-align: center;
}

.works-title {
    font-family: 'Avenir Next', 'Arial', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 200;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}

.works-title span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-title.active span {
    transform: translateY(0);
    animation: worksTitleFloat 4s ease-in-out infinite 1.2s;
}

@keyframes worksTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.works-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.works-title.active::after {
    width: 200px;
}

.works-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #ccc;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.works-title.active + .works-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.works-grid {
    padding: 16px;
    width: 100%;
}

.works-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.work-project {
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    background: #000;
    width: 100%;
    aspect-ratio: 1 / 1; /* Par défaut, peut être ajusté */
}

.work-project:hover {
    transform: scale(1.01);
    z-index: 10;
}

.work-project:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1; /* Plus large pour l'effet hero */
}

.work-project-image {
    width: 100%;
    height: 100%;
}

.work-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 24px 24px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.work-project-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.work-project-year {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 400;
}

.works-footer {
    background: #000;
    padding: 80px 0;
    border-top: 1px solid #222;
}

.works-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
}

/* ===================================
   PROJECT DETAIL PAGE
   ================================= */

.project-image-large video,
.project-image-half video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.project-detail {
    display: none;
    background: #fff;
    min-height: 100vh;
}

.project-detail.active {
    display: block;
}

.project-hero {
    height: 100vh;
    background: url('../images/Scene7.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.project-hero-content {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.project-hero-title {
    font-size: 64px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
}

.project-hero-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    line-height: 1.6;
    position: absolute;
    bottom: 60px;
    right: 40px;
}

.project-content {
    background: white;
    padding: 80px 0;
}

.project-text-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 120px;
    margin-bottom: 80px;
    align-items: start;
}

.project-main-title {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: #333;
}

.project-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

.project-details {
    display: flex;
    gap: 60px;
    font-size: 14px;
    color: #666;
}

.project-detail-item span {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.project-images {
    display: grid;
    gap: 20px;
}

.project-image-large {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f1f1f1, #e8e8e8);
    border-radius: 0;
}

.project-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-image-half {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f1f1f1, #e8e8e8);
    border-radius: 0;
}

.project-nav {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-nav.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #333;
    font-size: 20px;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-5px);
    color: #000;
}

.nav-arrow:active {
    transform: translateY(-2px) scale(0.95);
    background: rgba(255, 255, 255, 0.6);
}

.project-highlights {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ===================================
   ANIMATIONS
   ================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 1024px) {
    .projects-grid,
    .projects-bottom-row {
        flex-direction: column;
    }

    .projects-grid .project-card:nth-child(1) .project-image,
    .projects-grid .project-card:nth-child(2) .project-image,
    .projects-bottom-row .project-card:nth-child(1) .project-image,
    .projects-bottom-row .project-card:nth-child(2) .project-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-grid,
    .works-projects {
        grid-template-columns: 1fr;
    }

    .quote-content {
        grid-template-columns: 1fr;
    }

    .project-text-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-images-row {
        grid-template-columns: 1fr;
    }

    .hero-title,
    .works-title {
        font-size: clamp(20px, 4.5vw, 36px);
    }

    .project-hero-title {
        font-size: 36px;
    }

    .container,
    .quote-container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.project-image,
.project-image-large,
.project-image-half,
.work-project-image,
.quote-image-1,
.quote-image-2 {
    /* On enlève le background pour laisser la place à l'image réelle */
    background: none !important;
    position: relative;
    overflow: hidden;
}

.project-image img,
.project-image-large img,
.project-image-half img,
.work-project-image img,
.quote-image-1 img,
.quote-image-2 img {
    /* Les images prennent toute la place du container */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================
   Featured Projects — refonte simple (grille 2 colonnes)
   ================================= */

.page {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
}

.featured-title {
    font-family: 'Avenir Next', -apple-system, BlinkMacFont, 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.5vw, 28px);
}

/* Neutraliser les effets d'apparition de l'ancien style sur ces cartes */
.featured-grid .project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 1;
    transform: none;
}

.featured-grid .project-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 0; /* photos carrées, pas d'arrondis */
    background: #eee;
}

.featured-grid .project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-grid .project-meta {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 4px 0;
}

.featured-grid .project-index {
    font-size: 14px;
    color: #999;
}

.featured-grid .project-name {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    text-align: center;
}

.featured-grid .project-year {
    font-size: 14px;
    color: #666;
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid .project-meta {
        grid-template-columns: 60px 1fr auto;
    }
}

/* ===============================
   Featured Projects (ONLY VERSION)
   =============================== */

.featured-projects {
  padding: 40px 0 40px;
  background: #fff;
}

.featured-projects .page {
  max-width: 1500px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.featured-title {
  font-size: 28px;
  font-weight: 400;
  color: #333;
  margin-bottom: clamp(40px, 6vw, 80px);
}

/* IMPORTANT: outer wrapper must NOT be a grid -> prevents 4 columns */
.featured-grid.fp-grid {
    display: flex;
    flex-direction: column;
    gap: 2px; /* ou 4px si tu veux un micro espace */
}

@media (max-width: 900px) {
    .featured-grid.fp-grid { gap: 24px; } /* sur mobile on respire */
}

/* Each row is the only 2-column grid */
.fp-row {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: end;
}

/* Asymmetry by WIDTH only (like ref) */
.fp-row--top {
  grid-template-columns: 1.3fr 1fr;   /* (01) wider than (02) */
}
.fp-row--bottom {
  grid-template-columns: 1fr 1.3fr;   /* (04) wider than (03) */
}

/* Card structure: image + meta */
.fp-row .project-card {
  display: grid;
  grid-template-rows: 480px 56px;     /* fixed image height + fixed label height */
  text-decoration: none;
  color: inherit;
}

/* Image container */
.fp-row .project-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative; /* nécessaire pour l'overlay */
}

.fp-row .project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .55s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-row .project-card:hover .project-media img {
  transform: scale(1.05);
}

/* (overlay via second bloc ci-dessous avec opacity + intensité au clic) */

/* Overlay sombre au survol + feedback au clic, sans JS */
.fp-row .project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none; /* ne bloque pas les clics */
  transition: opacity .25s ease, background-color .2s ease;
}

/* Au hover: l'overlay apparaît */
.fp-row .project-card:hover .project-media::after,
.fp-row .project-media:hover::after {
  opacity: 1;
}

/* Au clic: overlay plus sombre + micro scale pour feedback immédiat */
.fp-row .project-card:active .project-media::after,
.fp-row .project-media:active::after {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.38);
}

/* Micro scale au clic (légèrement plus que le hover) */
.fp-row .project-card:active .project-media img,
.fp-row .project-media:active img {
  transform: scale(1.06);
}

/* ===================================
   GALLERY PAGE
   ================================= */

.gallery-page {
    background: #fff;
    display: none;
}

.gallery-hero {
    padding: 160px 0 80px;
}

.gallery-title {
    font-family: 'Avenir Next', 'Arial', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 200;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

.gallery-title span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-title.active span {
    transform: translateY(0);
    animation: galleryTitleFloat 4s ease-in-out infinite 1.2s;
}

@keyframes galleryTitleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Ligne architecturale qui souligne le titre */
.gallery-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #000;
    transform: translateX(-50%);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.gallery-title.active::after {
    width: 200px;
}

.gallery-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.gallery-title.active + .gallery-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid-section {
    padding-bottom: 120px;
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Masonry Grid with CSS Grid */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    opacity: 1;
    transform: none;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Variations for cool design */
.gallery-item.w-2 {
    grid-column: span 2;
}

.gallery-item.h-2 {
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-project-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-project-name {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .gallery-item.w-2, .gallery-item.h-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Meta line: perfectly aligned */
.fp-row .project-meta {
  height: 56px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px 0;
  border-bottom: 1px solid #eee;
}

.fp-row .project-index {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}

.fp-row .project-name {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  text-align: center; /* like ref */
}

.fp-row .project-year {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
  .fp-row--top,
  .fp-row--bottom {
    grid-template-columns: 1fr;
  }

  .fp-row .project-card {
    grid-template-rows: auto 56px;
  }

  .fp-row .project-media {
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

.legal-hero {
    padding: 160px 0 60px;
    background: #fff;
    text-align: left;
}

.legal-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    color: #333;
    margin-bottom: 40px;
}

.legal-content {
    padding: 40px 0 100px;
    background: #fff;
}

.legal-text {
    max-width: 900px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.legal-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-text p {
    margin-bottom: 20px;
}

.legal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 10px;
}

.legal-text a {
    color: #222;
    text-decoration: underline;
}
/* Global Mobile Tweaks */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
        flex-direction: column;
    }

    .hero-title {
        text-align: left;
        margin-bottom: 40px;
    }

    /* Featured Projects Grid - Stack on mobile */
    .fp-row {
        flex-direction: column !important;
        height: auto !important;
        gap: 20px;
    }

    .project-card.is-large,
    .project-card.is-small {
        width: 100% !important;
        aspect-ratio: 4/3;
    }

    /* Quote Section */
    .quote-container {
        padding: 0 20px;
    }

    .quote-content {
        flex-direction: column;
        gap: 20px;
    }

    .quote-image-1, .quote-image-2 {
        width: 100% !important;
        aspect-ratio: 3/2 !important;
    }

    /* Founder Section */
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-image-container {
        height: 400px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    /* Project Detail */
    .project-text-section {
        flex-direction: column;
        gap: 30px;
    }

    .project-details {
        flex-direction: column;
        gap: 15px;
    }

    .project-images-row {
        flex-direction: column;
    }

    .project-image-half {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
