/* =========================================
   VARIABLES & DESIGN SYSTEM
========================================= */
:root {
    /* Colors extracted from logo */
    --color-primary: #0a0a0a; /* Deep black for authority */
    --color-primary-light: #1c1c1c; /* Slightly lighter for cards/sections */
    --color-accent: #c9a050; /* Gold/Tan from the putty knife/logo text */
    --color-accent-hover: #e0b763;
    
    --color-text-light: #f4f4f4; /* Off-white for dark sections */
    --color-text-dark: #333333; /* Dark text for light sections */
    --color-text-muted: #888888;
    
    --bg-light: #ffffff;
    --bg-light-alt: #f8f9fa;
    
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* =========================================
   GLOBAL STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Sections */
.section-dark {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.section-light {
    background-color: var(--bg-light);
    color: var(--color-text-dark);
}

.section-light.bg-texture {
    background-color: var(--bg-light-alt);
}

section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.text-center {
    text-align: center;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
}

.center-divider {
    margin: 1rem auto 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-normal);
    cursor: pointer;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}

.btn-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Image Slots (For Client's easy swapping) */
.image-slot {
    background-color: #333;
    border: 2px dashed #666;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slot-label {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.6);
    padding: 8px 15px;
    border-radius: 4px;
    z-index: 10;
}

/* =========================================
   1. HEADER & NAVBAR
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-slot {
    width: 180px;
    height: 60px;
    border-color: var(--color-accent);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-light);
    display: none; /* Hide if logo img is used, can toggle */
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

/* =========================================
   2. HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* offset for fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(10,10,10,0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================
   3. INTRO / ABOUT
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-light-alt);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #eaeaea;
}

.badge i {
    color: var(--color-accent);
}

.about-image {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* =========================================
   4. SERVICES
========================================= */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    /* 4 per row on desktop; flex container keeps any leftover cards centered */
    flex: 0 1 calc((100% - 90px) / 4);
    background-color: var(--color-primary-light);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-muted);
}

/* =========================================
   5. WORK / GALLERY
========================================= */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.ba-slot {
    height: 300px;
    border-radius: 8px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    width: 350px;
    max-width: 100%;
    height: 250px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

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

.lightbox.active {
    display: flex;
}

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

.lightbox-content {
    width: 80%;
    height: 80%;
    max-width: 1000px;
}

/* =========================================
   6. WHY CHOOSE US
========================================= */
.reasons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}

.reason-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.reason-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.reason-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   7. TESTIMONIALS
========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-accent);
}

.stars {
    color: var(--color-accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.client-name {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

/* =========================================
   8. SERVICE AREA
========================================= */
.service-area-desc {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--color-text-muted);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   9. CONTACT
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-subtext {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-list i {
    color: var(--color-accent);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 160, 80, 0.2);
}

/* Form submission status message */
.form-status {
    margin-top: 1rem;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    color: #1e7e34;
    background-color: #e6f4ea;
    border: 1px solid #b7dfc2;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.form-status.error {
    color: #a12622;
    background-color: #fdecea;
    border: 1px solid #f5c2c0;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

/* =========================================
   10. FOOTER
========================================= */
.footer {
    background-color: #050505;
    color: var(--color-text-muted);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    margin-bottom: 3rem;
    align-items: center;
}

.footer-logo-img {
    max-width: 250px;
    height: auto;
}

.footer-logo-slot {
    width: 200px;
    height: 70px;
    border-color: #444;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-social {
    text-align: right;
}

.footer-social .tagline {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--color-text-light);
    margin-left: 10px;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
========================================= */
@media (max-width: 1024px) {
    .services-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        /* 2 per row on tablets; odd card stays centered */
        flex-basis: calc((100% - 30px) / 2);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reasons-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-menu {
        position: fixed;
        top: 70px; /* Adjust based on actual header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .cta-nav {
        display: none;
    }

    /* Grids */
    .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1; /* Image on top on mobile */
        height: 300px;
    }
    
    .services-grid, .testimonials-grid, .gallery-grid, .reasons-row, .before-after-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        /* Full width, single column on phones */
        flex-basis: 100%;
    }
    
    .footer-grid {
        text-align: center;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .social-icons a {
        margin: 0 5px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}
