/* =========================================
   PRO A CONSTRUCTION - MASTER STYLESHEET
   ========================================= */

/* --- 1. GLOBAL RESET & CORE SETUP --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    height: 100%;
}
html::-webkit-scrollbar { display: none; /* Chrome, Safari, Opera */ }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f4f2ee; /* Soft Stone */
    color: #1a1a1a;
    overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
    width: 100%;
}

/* Used for menu overlay lock */
body.locked { overflow: hidden !important; height: 100vh; }

/* --- BILINGUAL SUPPORT STYLES --- */
/* By default, English is shown, French is hidden */
.lang-fr { display: none; }

/* When body has class 'fr-mode', switch visibility */
body.fr-mode .lang-en { display: none !important; }
body.fr-mode .lang-fr { display: inline-block !important; }
/* Ensure block elements behave correctly */
body.fr-mode p.lang-fr, body.fr-mode h1.lang-fr, body.fr-mode h2.lang-fr, body.fr-mode div.lang-fr { display: block !important; }


/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, .menu-links a, .hero-content h1, .cat-title, .col-title, .process-title, .values-title, .cta-title, .step-title {
    font-family: 'Playfair Display', serif;
}
p, .btn, .contact-info, .intro-text, .service-items li, .step-name, .client-name, .google-btn, .label-text, .pill-option, .input-field, .back-btn, .next-btn, .submit-btn, .back-link, .cta-btn, .step-subtitle, .option-card h3 {
    font-family: 'Montserrat', sans-serif;
}
.rbq-text, .copyright-line, .step-desc, .review-text, .cta-text {
    font-family: 'Helvetica Neue', sans-serif;
}

/* --- 3. HEADER & NAVIGATION (SHARED) --- */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 30px 60px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    transition: padding 0.3s ease, background 0.3s ease;
}
/* SCROLL STATE */
nav.scrolled {
    padding: 15px 60px;
    background: transparent;
    pointer-events: none;
}
nav.scrolled .logo-link, nav.scrolled .hamburger { pointer-events: auto; }

/* LOGO */
.logo-link { z-index: 101; position: relative; overflow: hidden; display: block; }
.logo-container { position: relative; height: 80px; width: 200px; display: flex; align-items: center; transition: transform 0.3s ease; }
.logo-base, .logo-top {
    position: absolute; top: 50%; left: 0; transform: translateY(-50%);
    height: 80px; width: auto;
    transition: all 0.3s ease;
}
.logo-base { z-index: 1; opacity: 1; filter: grayscale(0%); }
.logo-top {
    z-index: 2; opacity: 1;
    -webkit-mask-image: linear-gradient(-45deg, black 40%, transparent 50%, black 60%);
    mask-image: linear-gradient(-45deg, black 40%, transparent 50%, black 60%);
    -webkit-mask-size: 300%; mask-size: 300%;
    animation: revealShimmer 6s infinite ease-in-out;
}
@keyframes revealShimmer { 0% { mask-position: 150%; } 33% { mask-position: -50%; } 100% { mask-position: -50%; } }

/* LOGO STATES */
nav.scrolled .logo-top { opacity: 0; }
nav.scrolled .logo-base { opacity: 1; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2)); }
body.menu-open .logo-top { opacity: 0; }
body.menu-open .logo-base { opacity: 1; filter: grayscale(100%); z-index: 1002; }

/* HAMBURGER */
.hamburger {
    cursor: pointer; z-index: 1002; display: flex; flex-direction: column; gap: 6px;
    transition: all 0.3s ease;
}
.line { width: 35px; height: 2px; background-color: #fff; transition: all 0.3s ease; border-radius: 2px; }
nav.scrolled .line { background-color: #000; box-shadow: 0 0 5px rgba(255,255,255,0.8); }
body.menu-open .line { background-color: #000 !important; box-shadow: none; }
.hamburger.toggle .line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.toggle .line:nth-child(2) { opacity: 0; }
.hamburger.toggle .line:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.hamburger:hover .line { background-color: #d4af37 !important; }

/* MENU OVERLAY */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #f4f2ee;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.5s ease; z-index: 99;
    overflow: hidden;
}
.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-watermark {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70vh; height: 70vh; opacity: 0.05; pointer-events: none; z-index: 0;
}
.menu-links { list-style: none; text-align: center; position: relative; z-index: 2; }
.menu-links li { margin: 20px 0; opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.menu-links a {
    color: #000; text-decoration: none;
    font-size: 3rem; font-weight: 700; text-transform: uppercase; letter-spacing: -1px;
    transition: color 0.3s;
}
.menu-links a:hover { color: #d4af37; }
.menu-links a.current-page { color: #d4af37; pointer-events: none; }

.menu-extras { margin-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 20px; opacity: 0; transition: all 0.5s ease; position: relative; z-index: 2; }
.socials { display: flex; gap: 30px; }
.socials a { color: #000; font-size: 1.5rem; transition: transform 0.3s; }
.socials a:hover { color: #d4af37; transform: translateY(-3px); }
.language-switcher { color: #000; font-size: 0.9rem; text-transform: uppercase; }
.language-switcher a { color: #000; text-decoration: none; margin: 0 5px; cursor: pointer; }
.language-switcher a.active-lang { color: #d4af37; font-weight: 700; pointer-events: none; }


/* --- 4. FOOTER & TRUST BAR (SHARED) --- */
.trust-bar {
    width: 100%; padding: 40px 60px;
    background: #1a1a1a; display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1); margin-top: auto; flex-wrap: wrap;
    z-index: 50; /* Added for homepage compatibility */
}
/* Homepage specific footer adjustments */
body.homepage-mode .trust-bar {
    position: absolute; bottom: 0; left: 0;
    padding: 20px 60px; padding-bottom: calc(20px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px);
}
body.homepage-mode .trust-content { width:100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.contact-left { display: flex; align-items: center; gap: 20px; }
.contact-info { color: #fff; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.contact-info:hover { color: #d4af37; }
.footer-right { display: flex; align-items: center; gap: 30px; }
.rbq-text { color: #fff; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.cert-logos { display: flex; align-items: center; gap: 25px; }
.cert-logo { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; transition: opacity 0.3s; }
.cert-logo:hover { opacity: 1; }
.acq-logo { height: 42px; }
.footer-socials { display: flex; gap: 15px; margin-left: 20px; border-left: 1px solid rgba(255,255,255,0.3); padding-left: 20px; }
.footer-socials a { color: #fff; font-size: 1rem; transition: color 0.3s; }
.footer-socials a:hover { color: #d4af37; }
.separator { height: 15px; width: 1px; background: rgba(255,255,255,0.5); }
.copyright-line {
    width: 100%; text-align: center; color: #555; font-size: 0.75rem;
    padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.05);
    letter-spacing: 1px;
}
body.homepage-mode .copyright-line { color: #aaa; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; margin-top:0; font-size: 0.65rem;}


/* --- 5. HOMEPAGE SPECIFIC (INDEX.HTML) --- */
body.homepage-mode { background-color: #000; overflow: hidden !important; height: 100%; width: 100%; }
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #f4f2ee; z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}
body.loaded #preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { width: 120px; height: auto; margin-bottom: 20px; animation: pulseLogo 2s infinite ease-in-out; }
.loader-text { font-weight: 600; font-size: 0.8rem; letter-spacing: 4px; color: #1a1a1a; text-transform: uppercase; animation: blinkText 2s infinite; }
@keyframes pulseLogo { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
@keyframes blinkText { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* --- REPLACEMENT FOR HERO SECTION --- */
.hero {
    position: relative; 
    width: 100%; 
    height: 100dvh; /* Mobile-friendly full height */
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; /* CRITICAL: Cuts off the extra video width */
}

.hero video {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; 
    object-fit: cover; /* CRITICAL: Forces video to fill screen without stretching */
}

/* Default Video Visibility (Desktop Mode) */
.video-desktop { display: block; }
.video-mobile { display: none; }
./* --- FIXED: REMOVED DARK TINT --- */
.overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent; /* Makes video 100% bright */
    z-index: 1;
    /* Optional: Adds a tiny gradient at the very top so the menu is visible */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 20%);
}
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 0 20px; }
.hero-content h1 {
    font-size: 4.5rem; font-weight: 700; letter-spacing: 0px;
    margin-bottom: 15px; text-transform: none; line-height: 1.1;
    /* Heavy shadow to allow reading white text on white marble */
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(0,0,0,0.9);
}
.btn {
    display: inline-block; padding: 20px 60px;
    background: #fff; color: #000; text-decoration: none;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    transition: all 0.3s ease; border-radius: 50px; font-size: 0.9rem;
    cursor: pointer; position: relative; z-index: 102;
}
.btn:hover { background: #d4af37; color: #fff; transform: scale(1.05); }


/* --- 6. STANDARD PAGE HERO (PROJECTS, SERVICES, ETC) --- */
.page-hero {
    position: relative; width: 100%; height: 60vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background-color: #000;
}
/* Adjust height for certain pages if needed based on input */
body.testimonials-page .page-hero, body.contact-page .page-hero, body.gallery-page .page-hero { height: 50vh; }
body.projects-page .page-hero { margin-bottom: 50px; }

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.7;
    animation: cinematicZoom 25s infinite alternate ease-in-out;
}
body.projects-page .hero-bg, body.gallery-page .hero-bg { opacity: 0.6; }

@keyframes cinematicZoom { from { transform: scale(1); } to { transform: scale(1.15); } }

.page-hero h1 {
    position: relative; z-index: 2; color: #fff;
    font-size: 4.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    animation: fadeUp 1s ease-out;
    text-align: center; padding: 0 20px;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }


/* --- 7. PROJECTS PAGE STYLES --- */
.categories-container {
    padding: 50px 60px 100px 60px;
    max-width: 1600px; margin: 0 auto;
    flex: 1; width: 100%;
}
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cat-card {
    position: relative; height: 500px; overflow: hidden; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 4px;
    opacity: 0; transform: translateY(50px); transition: all 0.8s ease;
}
.cat-card:nth-child(1) { transition-delay: 0.1s; }
.cat-card:nth-child(2) { transition-delay: 0.2s; }
.cat-card:nth-child(3) { transition-delay: 0.3s; }
.cat-card:nth-child(4) { transition-delay: 0.4s; }
.cat-card.visible { opacity: 1; transform: translateY(0); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); transition: background 0.3s ease;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.cat-card:hover .cat-overlay { background: rgba(0,0,0,0.4); }
.cat-title {
    color: #fff; font-size: 3rem;
    margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.cat-btn {
    padding: 15px 40px; border: 1px solid #fff; background: transparent;
    color: #fff; text-transform: uppercase;
    font-weight: 600; font-size: 0.8rem; letter-spacing: 2px; transition: all 0.3s ease;
    text-decoration: none;
}
.cat-card:hover .cat-btn { background: #fff; color: #000; }


/* --- 8. SERVICES PAGE STYLES --- */
.services-container { padding: 100px 60px; max-width: 1400px; margin: 0 auto; flex: 1; width: 100%; }
.services-intro { text-align: center; margin-bottom: 80px; opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.services-intro.visible { opacity: 1; transform: translateY(0); }
.intro-text { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: #444; line-height: 1.6; }
.service-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 100px; }
.service-card {
    background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px; overflow: hidden; display: flex; flex-direction: column;
    opacity: 0; transform: translateY(50px); transition: all 0.8s ease;
}
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.3s; }
.service-card.visible { opacity: 1; transform: translateY(0); }
.card-image { width: 100%; height: 350px; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .card-image { transform: scale(1.05); }
.card-content { padding: 40px; flex: 1; border-top: 4px solid #d4af37; position: relative; z-index: 2; background: #fff; }
.col-title { font-size: 2rem; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; color: #000; }
.col-title i { color: #d4af37; font-size: 1.5rem; }
.service-items { list-style: none; }
.service-items li {
    padding: 15px 0; border-bottom: 1px solid #eee;
    font-weight: 500; font-size: 0.95rem; display: flex; justify-content: space-between;
}
.service-items li:last-child { border-bottom: none; }
.process-section { text-align: center; margin-top: 50px; opacity: 0; transition: all 1s ease; }
.process-section.visible { opacity: 1; }
.process-title { font-size: 2.5rem; margin-bottom: 50px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { position: relative; }
.step-num {
    width: 60px; height: 60px; margin: 0 auto 20px auto;
    border: 2px solid #000; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
}
.step-name { font-weight: 700; font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; }
.step-desc { font-size: 0.9rem; color: #666; max-width: 200px; margin: 0 auto; }


/* --- 9. TESTIMONIALS PAGE STYLES --- */
.reviews-container { padding: 100px 60px; max-width: 1400px; margin: 0 auto; flex: 1; width: 100%; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 80px; }
.review-card {
    background: #fff; padding: 40px; border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; justify-content: space-between; position: relative;
    opacity: 0; transform: translateY(50px); transition: all 0.8s ease;
}
.review-card:nth-child(1) { transition-delay: 0.1s; }
.review-card:nth-child(2) { transition-delay: 0.2s; }
.review-card:nth-child(3) { transition-delay: 0.3s; }
.review-card.visible { opacity: 1; transform: translateY(0); }
.google-badge { position: absolute; top: 30px; right: 30px; font-size: 0.8rem; color: #aaa; display: flex; align-items: center; gap: 5px; }
.google-badge i { color: #4285F4; }
.stars { color: #d4af37; font-size: 1.2rem; margin-bottom: 20px; }
.review-text { font-size: 1rem; line-height: 1.6; color: #444; font-style: italic; margin-bottom: 30px; }
.client-name { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.client-project { font-size: 0.8rem; color: #888; margin-top: 5px; }
.google-btn-container { text-align: center; }
.google-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 40px; border: 1px solid #ddd; background: #fff;
    color: #000; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
    border-radius: 50px; transition: all 0.3s;
}
.google-btn:hover { border-color: #d4af37; color: #d4af37; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }


/* --- 10. ABOUT PAGE STYLES --- */
.about-container { padding: 100px 60px; max-width: 1400px; margin: 0 auto; flex: 1; width: 100%; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.about-grid.visible { opacity: 1; transform: translateY(0); }
.about-image img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); transition: transform 0.5s ease; }
.about-image img:hover { transform: scale(1.02); }
.about-text h1 { font-size: 3.5rem; margin-bottom: 30px; color: #1a1a1a; letter-spacing: -1px; }
.about-text p { font-size: 1.1rem; line-height: 1.8; color: #444; margin-bottom: 30px; }
.std-btn {
    display: inline-block; padding: 15px 40px;
    background: #1a1a1a; color: #fff; text-decoration: none;
    font-weight: 700; text-transform: uppercase;
    font-size: 0.9rem; letter-spacing: 1px; transition: all 0.3s ease; border: 1px solid #1a1a1a;
}
.std-btn:hover { background: #fff; color: #1a1a1a; }
.values-section { margin-top: 100px; opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.values-section.visible { opacity: 1; transform: translateY(0); }
.values-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value-card {
    background: #fff; padding: 40px; text-align: center;
    border-top: 4px solid #d4af37; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.value-card:hover { transform: translateY(-10px); }
.value-card i { font-size: 2.5rem; color: #d4af37; margin-bottom: 20px; }
.value-card h3 { font-weight: 700; margin-bottom: 15px; font-size: 1.2rem; }
.value-card p { font-family: 'Helvetica Neue', sans-serif; color: #666; font-size: 0.95rem; line-height: 1.6; }


/* --- 11. CONTACT PAGE STYLES (WIZARD) --- */
.contact-container {
    padding: 50px 20px 100px 20px; flex: 1; width: 100%;
    display: flex; justify-content: center; align-items: center;
    margin-top: -80px; position: relative; z-index: 10;
}
.wizard-card {
    background: #fff; width: 100%; max-width: 900px;
    border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden; position: relative; min-height: 650px;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.progress-container { width: 100%; height: 6px; background: #eee; }
.progress-bar { height: 100%; background: #d4af37; width: 33%; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.wizard-step { padding: 50px 60px; display: none; animation: fadeIn 0.5s ease; }
.wizard-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.step-header { text-align: center; margin-bottom: 40px; }
.step-title { font-size: 2.5rem; margin-bottom: 15px; color: #000; }
.step-subtitle { font-size: 1rem; color: #666; }
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.option-card {
    background: #f9f9f9; border: 2px solid transparent; padding: 30px;
    border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.2s ease;
}
.option-card i { font-size: 3rem; color: #444; margin-bottom: 15px; display: block; transition: color 0.3s ease; }
.option-card h3 { font-weight: 600; font-size: 1.1rem; color: #000; }
.option-card:hover { background: #fff; border-color: #d4af37; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.option-card:active { transform: scale(0.98); }
.option-card:hover i { color: #d4af37; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 20px; }
.label-text {
    font-weight: 700; font-size: 0.85rem;
    margin-bottom: 10px; display: block; text-transform: uppercase; letter-spacing: 1px; color: #444;
}
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-option {
    padding: 10px 20px; background: #f4f4f4; border: 1px solid #ddd; border-radius: 50px;
    cursor: pointer; font-size: 0.85rem; transition: all 0.2s ease;
}
.pill-option:hover { border-color: #d4af37; color: #d4af37; }
.pill-option:active { transform: scale(0.95); }
.pill-option.selected { background: #d4af37; color: #fff; border-color: #d4af37; }
.specific-q { display: none; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-field {
    width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px;
    font-size: 1rem; outline: none; transition: border 0.3s;
}
.input-field:focus { border-color: #d4af37; }
.full-width { grid-column: span 2; }
textarea.input-field { height: 100px; resize: none; }
.nav-btns { display: flex; justify-content: space-between; margin-top: 40px; padding: 0 60px 40px 60px; }
.back-btn {
    background: transparent; border: none; color: #999;
    font-weight: 600; cursor: pointer; font-size: 0.9rem; text-transform: uppercase;
}
.back-btn:hover { color: #000; }
.next-btn, .submit-btn {
    padding: 15px 50px; background: #000; color: #fff; border: none; border-radius: 50px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: all 0.3s;
}
.next-btn:hover, .submit-btn:hover {
    background: #d4af37; transform: scale(1.05); box-shadow: 0 5px 15px rgba(212,175,55,0.3);
}


/* --- 12. GALLERY PAGE STYLES (KITCHEN, ETC) --- */
.gallery-wrapper { max-width: 1600px; margin: 0 auto; padding: 0 60px 100px 60px; width: 100%; }
.breadcrumb { margin-bottom: 40px; display: inline-block; }
.back-link {
    font-weight: 600; text-transform: uppercase;
    font-size: 0.8rem; letter-spacing: 2px; color: #666; text-decoration: none;
    transition: color 0.3s ease; display: flex; align-items: center; gap: 10px;
}
.back-link:hover { color: #d4af37; }
.masonry-grid { column-count: 3; column-gap: 30px; }
.gallery-item {
    break-inside: avoid; margin-bottom: 30px;
    position: relative; overflow: hidden; border-radius: 4px;
    cursor: zoom-in; opacity: 0; transform: translateY(30px); transition: all 0.6s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.gallery-item.visible { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease, filter 0.5s ease; }
.gallery-item:hover img { transform: scale(1.03); filter: brightness(0.9); }
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    border: 2px solid rgba(212, 175, 55, 0); transition: border-color 0.3s ease;
    pointer-events: none; border-radius: 4px;
}
.gallery-item:hover::after { border-color: rgba(212, 175, 55, 0.6); }
.gallery-cta {
    text-align: center; padding: 80px 20px;
    background: #fff; margin: 0 60px 80px 60px;
    border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.cta-title { font-size: 2.5rem; margin-bottom: 15px; }
.cta-text { color: #666; margin-bottom: 30px; }
.cta-btn {
    display: inline-block; padding: 15px 40px; background: #1a1a1a; color: #fff;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; text-decoration: none; border-radius: 50px; transition: all 0.3s;
}
.cta-btn:hover { background: #d4af37; transform: translateY(-3px); }

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.95);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-img {
    max-width: 90vw; max-height: 85vh;
    border: 2px solid #333; box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.95); transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 2.5rem; cursor: pointer; transition: color 0.3s; }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 2rem; cursor: pointer; padding: 20px; transition: color 0.3s;
}
.lightbox-nav:hover, .lightbox-close:hover { color: #d4af37; }
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* --- 13. MEDIA QUERIES (RESPONSIVE) --- */
@media (max-width: 900px) {
    /* --- HERO VIDEO SWAP FOR MOBILE --- */
    .video-desktop { display: none !important; }
    .video-mobile { display: block !important; }
    
    .hero video {
        object-position: center bottom; /* Optional: Focuses on lower part of vertical video */
    }
    /* Shared Header & Nav */
    nav { padding: 15px 20px; }
    nav.scrolled { padding: 10px 20px; }
    .logo-container { height: 45px; width: 140px; }
    .logo-base, .logo-top { height: 45px; }

    /* --- FIXED: HERO ALIGNMENT --- */
    /* Adds bottom padding to push text up, clearing the tall mobile footer */
    .hero {
        padding-bottom: 35vh; /* Shifts content into the top 65% of screen */
        align-items: center;
    }
    .hero-content h1 { font-size: 2.4rem; line-height: 1.1; margin-bottom: 15px; }
    .hero-content p { font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 25px; }
    .btn { padding: 15px 40px; font-size: 0.8rem; }

    /* --- FIXED: COMPACT FOOTER --- */
    /* Reduces the height of the black overlay box */
    .trust-bar {
        flex-direction: column; gap: 15px;
        padding: 20px 20px;
        text-align: center;
    }
    body.homepage-mode .trust-bar {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
        background: rgba(0, 0, 0, 0.85); /* Slightly darker for legibility */
    }
    body.homepage-mode .trust-content {
        flex-direction: column; gap: 10px; margin-bottom: 0;
    }
    .contact-left { flex-direction: column; gap: 8px; }
    .contact-info { font-size: 0.8rem; }
    .footer-right { flex-direction: column; gap: 15px; margin-top: 5px; }
    .cert-logos { gap: 20px; transform: scale(0.9); } /* Shrinks logos slightly */
    .footer-socials { border-left: none; padding-left: 0; margin-left: 0; margin-top: 5px; }
    .separator { display: none; }
    .copyright-line { margin-top: 10px; font-size: 0.6rem; opacity: 0.7; }

    /* Standard Page Heroes (Projects, Services, etc) */
    .page-hero { height: 40vh; }
    .page-hero h1 { font-size: 2.5rem; }
    body.services-page .page-hero h1,
    body.testimonials-page .page-hero h1,
    body.about-page .page-hero h1,
    body.contact-page .page-hero h1,
    body.gallery-page .page-hero h1 { font-size: 2.8rem; }

    /* Grids & Containers */
    .categories-container, .services-container, .reviews-container, .about-container { padding: 60px 20px; }
    .category-grid, .service-lists, .process-grid, .reviews-grid, .about-grid, .values-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-grid { gap: 40px; } .values-grid { gap: 20px; }
    .service-card { opacity: 1; transform: none; } /* Disable scroll animations on mobile for performance */

    /* Contact Wizard */
    .contact-container { margin-top: -40px; padding: 0 15px 60px 15px; }
    .wizard-card { border-radius: 8px; min-height: auto; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
    .wizard-step { padding: 30px 15px; }
    .step-title { font-size: 1.8rem; }
    .options-grid { grid-template-columns: 1fr; gap: 15px; }
    .details-grid { grid-template-columns: 1fr; gap: 20px; }
    .input-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .nav-btns { padding: 0 15px 30px 15px; flex-direction: column-reverse; gap: 15px; }
    .back-btn { padding: 10px; width: 100%; text-align: center; }
    .next-btn, .submit-btn { width: 100%; }

    /* Gallery */
    .masonry-grid { column-count: 1; }
    .gallery-wrapper { padding: 0 20px 60px 20px; }
    .gallery-cta { margin: 0 0 60px 0; border-radius: 0; padding: 60px 20px; }
    .lightbox-nav { display: none; }
    .lightbox-close { top: 20px; right: 20px; font-size: 2rem; }
}