/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

/* --- Color Palette --- */
:root {
    --color-black: #1a1a1a;
    --color-dark-gray: #2d2d2d;
    --color-medium-gray: #666666;
    --color-light-gray: #f2f7fa; /* Sleek, Icy Light Blue-Grey */
    --color-border: #e2e8ec;     /* Cool, soft border to match */
    --color-white: #ffffff;
    --color-accent: #00A8E8;     /* Sukh Homes Logo Blue */
    --font-primary: 'Jost', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-primary); -webkit-font-smoothing: antialiased; }
body { color: var(--color-dark-gray); background-color: var(--color-white); line-height: 1.6; overflow-x: clip; }
a { text-decoration: none; color: inherit; }

/* Global Buttons */
.btn {
    display: inline-block; background-color: var(--color-accent); color: var(--color-white);
    padding: 16px 32px; font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; border: 1px solid var(--color-accent); cursor: pointer; transition: var(--transition-smooth);
}
.btn:hover { background-color: var(--color-dark-gray); border-color: var(--color-dark-gray); color: var(--color-white); }

/* Outline Button */
.btn-outline { background-color: transparent; color: var(--color-accent); border: 1px solid var(--color-accent); }
.btn-outline:hover { background-color: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    position: sticky; top: 0; background: var(--color-white); display: flex;
    justify-content: space-between; align-items: center; padding: 0 4%;
    height: 90px; border-bottom: 1px solid var(--color-border); z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo-link { display: flex; align-items: center; }
.site-logo { max-height: 60px; width: auto; }

.nav-center { display: flex; gap: 30px; }
.nav-center a { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; position: relative; color: var(--color-dark-gray); transition: color 0.3s; }
.nav-center a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background: var(--color-accent); transition: var(--transition-smooth); }
.nav-center a:hover { color: var(--color-accent); }
.nav-center a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-phone { font-size: 16px; font-weight: 600; color: var(--color-black); }

/* Hide mobile actions on desktop */
.mobile-actions { display: none; }
.hamburger { display: none; }

/* =========================================
   MOBILE MENU OVERLAY (Locked Footer Method)
   ========================================= */
.mobile-menu-overlay {
    position: fixed; 
    top: 0; 
    bottom: 0; /* Strictly locks it to the visible screen frame */
    right: -100%; 
    width: 100%; 
    background-color: var(--color-white); 
    z-index: 100000; 
    display: flex; 
    flex-direction: column; 
    transition: right 0.4s ease;
}
.mobile-menu-overlay.open { right: 0; }

.mobile-menu-header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 0 4%; height: 80px; border-bottom: 1px solid var(--color-border); 
    flex-shrink: 0; 
}
.close-menu { background: transparent; border: none; font-size: 40px; font-weight: 300; color: var(--color-black); cursor: pointer; padding-bottom: 5px; }

/* ONLY this middle section scrolls */
.mobile-nav-links { 
    display: flex; flex-direction: column; padding: 20px 4%; 
    flex: 1; /* Pushes the footer strictly to the bottom */
    overflow-y: auto; 
}
.mobile-nav-links a { font-size: 24px; font-weight: 600; color: var(--color-black); margin-bottom: 20px; transition: color 0.3s ease; }
.mobile-nav-links a:hover { color: var(--color-accent); }

.mobile-menu-footer { 
    padding: 20px 4% 30px; 
    background: var(--color-light-gray); 
    border-top: 1px solid var(--color-border); 
    flex-shrink: 0; 
}
.mobile-phone { font-size: 20px; font-weight: 600; color: var(--color-black); margin-bottom: 5px; display: block; }

/* =========================================
   HERO SECTIONS & ANIMATIONS
   ========================================= */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }

.hero { position: relative; height: calc(100vh - 90px); min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }

.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-bg .bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero-bg .img-1 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); z-index: 1; }
.hero-bg .img-2 { background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); z-index: 2; animation: fadeHero 4s infinite; }

@keyframes fadeHero { 0%, 35% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 2; }

.hero-content { position: relative; z-index: 3; color: var(--color-white); max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 56px; font-weight: 600; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; transition: color 0.4s ease; }
.hero-content h1:hover { color: var(--color-accent); }
.hero-content p { font-size: 20px; font-weight: 300; margin-bottom: 40px; }

.fade-up-1 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.2s; }
.fade-up-2 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.4s; }
.fade-up-3 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.6s; }

/* =========================================
   PAGE CONTENT SECTIONS
   ========================================= */
.section-padding { padding: 100px 4%; }
.section-padding-sm { padding: 60px 4%; }
.section-title-wrapper { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 36px; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 15px; color: var(--color-black); }
.bg-gray { background-color: var(--color-light-gray); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* Text Layouts */
.text-container { max-width: 900px; margin: 0 auto; text-align: center; }
.text-container p { font-size: 16px; color: var(--color-medium-gray); line-height: 1.8; margin-bottom: 20px; }

/* --- Floating Reviews Scrolling Marquee (Left to Right) --- */
.floating-reviews-wrapper {
    max-width: 100%; 
    margin: -60px auto 40px; 
    position: relative;
    z-index: 10; 
    overflow: hidden; 
    padding: 10px 0; 
}

.reviews-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollLeftToRight 35s linear infinite; 
}

.floating-reviews-wrapper:hover .reviews-track {
    animation-play-state: paused;
}

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

.review-card {
    width: 380px; 
    flex-shrink: 0; 
    background-color: var(--color-light-gray); /* Matches the icy-grey About Us section */
    padding: 30px 25px; 
    border-radius: 8px;
    border: 1px solid var(--color-border); /* Adds a crisp, subtle outline */
    border-top: 4px solid var(--color-accent); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Very soft default shadow */
    text-align: left;
    transition: all 0.4s ease; /* Smoothed out the animation timing */
}

/* THE NEW EFFECT: Lifts up higher and casts a soft blue glow! */
.review-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0, 168, 232, 0.15); 
}

.review-card .stars { 
    color: #FFD700; 
    font-size: 22px; 
    margin-bottom: 12px; 
    letter-spacing: 2px; 
}

.review-text { 
    font-size: 14px; 
    color: var(--color-medium-gray); /* Switched back to dark grey for readability */
    line-height: 1.6; 
    margin-bottom: 20px; 
    font-style: italic; 
    white-space: normal; 
}

.review-author { 
    font-size: 15px; 
    font-weight: 600; 
    color: var(--color-black); /* Switched back to black */
}

/* --- Trust Banner --- */
.trust-banner {
    background-color: var(--color-dark-gray); color: var(--color-white);
    text-align: center; padding: 24px 4%; font-size: 15px; font-weight: 500;
    letter-spacing: 3px; text-transform: uppercase; border-bottom: 4px solid var(--color-accent); 
}
.trust-banner .divider { color: var(--color-accent); margin: 0 20px; font-weight: 300; }

/* About Us Section */
.about-section {
    background-color: var(--color-light-gray); padding: 60px 5%; max-width: 900px;
    margin: 80px auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid var(--color-border);
}
.about-section:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1400px; margin: 0 auto; }
.service-card { position: relative; height: 500px; overflow: hidden; display: block; border: 1px solid var(--color-border); }
.service-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.8s ease; }
.service-card:hover .service-bg { transform: scale(1.05); }
.service-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.service-content { position: absolute; bottom: 40px; left: 40px; color: var(--color-white); z-index: 2; padding-right: 20px; }
.service-content h3 { font-size: 24px; font-weight: 500; margin-bottom: 10px; transition: color 0.3s; }
.service-card:hover .service-content h3 { color: var(--color-accent); }
.service-content ul { list-style: none; margin-bottom: 15px; }
.service-content ul li { font-size: 14px; color: #ddd; margin-bottom: 5px; }
.service-content span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; border-bottom: 1px solid var(--color-white); padding-bottom: 2px; transition: border-color 0.3s, color 0.3s; }
.service-card:hover .service-content span { color: var(--color-accent); border-color: var(--color-accent); }

/* Gallery Section */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 100%; margin: 0 auto; }
.gallery-item-wrap { overflow: hidden; position: relative; width: 100%; height: 350px; }
.gallery-item { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.gallery-item-wrap:hover .gallery-item { transform: scale(1.08); }

/* Why Choose Us Grid */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.value-card { background: var(--color-white); padding: 40px 30px; border: 1px solid var(--color-border); border-radius: 8px; text-align: center; transition: all 0.4s ease; }
.value-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 15px; color: var(--color-black); }
.value-card p { font-size: 15px; color: var(--color-medium-gray); line-height: 1.8; }
.value-icon { width: 36px; height: 36px; margin-bottom: 20px; color: var(--color-accent); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.value-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.04); transform: translateY(-8px); border-color: var(--color-accent); }
.value-card:hover .value-icon { transform: scale(1.15) rotate(5deg); }

/* The Renovation Process Section */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; max-width: 1400px; margin: 0 auto; }
.process-step { padding-top: 25px; border-top: 3px solid var(--color-accent); transition: transform 0.3s ease; }
.process-step:hover { transform: translateY(-5px); }
.step-number { font-size: 13px; font-weight: 600; color: var(--color-accent); margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
.process-step h4 { font-size: 20px; font-weight: 600; margin-bottom: 15px; color: var(--color-black); }
.process-step p { font-size: 15px; color: var(--color-medium-gray); line-height: 1.6; }

/* Contact Form */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; max-width: 1200px; margin: 0 auto; }
.estimate-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.estimate-form input, .estimate-form textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--color-border); background-color: var(--color-light-gray); font-size: 15px; transition: var(--transition-smooth); font-family: var(--font-primary); color: var(--color-black); }
.estimate-form input:focus, .estimate-form textarea:focus { outline: none; border-color: var(--color-accent); background-color: var(--color-white); }

/* =========================================
   FOOTER
   ========================================= */
footer { background-color: var(--color-black); color: var(--color-white); padding: 80px 4% 40px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; }
.footer-col h5 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; color: var(--color-accent); font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 15px; color: #cccccc; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--color-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #888; }

/* =========================================
   MEDIA QUERIES (Responsiveness)
   ========================================= */
@media (max-width: 1024px) {
    .nav-center, .nav-right { display: none; }
    
    header { background-color: var(--color-white); height: 85px; }
    .site-logo { max-height: 45px; }

    /* Mobile Header Icons Layout */
    .mobile-actions { display: flex; align-items: center; gap: 10px; }
    .mobile-call-btn, .mobile-insta-btn { display: flex; align-items: center; justify-content: center; padding: 0; color: var(--color-black); }
    .mobile-call-btn svg, .mobile-insta-btn svg { width: 18px !important; height: 18px !important; }
    
    /* Logo Blue Mobile Button (Smaller Size) */
    .mobile-estimate-btn {
        background-color: var(--color-accent); color: var(--color-white);
        font-size: 9px; font-weight: 600; text-align: center;
        line-height: 1.2; letter-spacing: 1px; padding: 6px 10px; border-radius: 0;
        white-space: nowrap; 
    }

    /* THE HAMBURGER MENU BUTTON */
    .hamburger { 
        display: flex !important; flex-direction: column; justify-content: space-between; 
        width: 28px; height: 20px; background: transparent; border: none; 
        cursor: pointer; padding: 0; flex-shrink: 0;
    }
    .hamburger .bar { 
        width: 100%; height: 3px; background-color: var(--color-black); border-radius: 2px; 
    }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { height: 450px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 42px; }
}

@media (max-width: 768px) {
    .floating-reviews-wrapper { margin-top: -40px; }
    .trust-banner { font-size: 12px; letter-spacing: 1.5px; padding: 20px 4%; }
    .trust-banner .divider { margin: 0 10px; }
    
    .footer-top { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .about-section { padding: 40px 5%; margin: 50px auto; }
}