/* --- GLOBAL & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow: hidden; /* Prevents double scrollbars, only main scrolls */
}

body {
    display: flex;
    flex-direction: column;
}

/* --- FIXED HEADER --- */
header {
    background: #222;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px; /* Slim header */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { height: 45px; border-radius: 4px; }
header h1 { color: white; font-size: 17px; }
.tagline { color: #ffcc00; font-size: 11px; font-weight: 500; }

/* --- SLIM PROFESSIONAL FIXED FOOTER --- */
footer {
    background: #1a1a1a;
    color: #bbb;
    
    position: fixed;
    bottom: 0;
    width: 100%;

    z-index: 1000;
    font-size: 13px;
    padding: 20px 20px 8px 20px;
    border-top: 3px solid #ffcc00;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p { margin-bottom: 5px; line-height: 1.4; 

}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 4px; }

.footer-col a { color: #bbb; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: #ffcc00; }

.footer-logo { height: 35px; margin-bottom: 10px; filter: brightness(1.2); }

.footer-bottom {
    margin-top: 15px;
    padding-top: 8px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 11px;
    color: #777;
}

/* --- MAIN CONTENT AREA (Scrollable Zone) --- */
main {
    flex: 1;
    margin-top: 70px;    /* Match header height */
    margin-bottom: 200px; /* Space above footer */
    overflow-y: auto;    
    padding: 30px 20px;
}

/* --- PAGE HERO & INTRODUCTION --- */
.page-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.sub-header-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    display: block;
}

/* --- ADJUSTMENT FOR SHORT PAGES --- */
.services-page main, .about-page main, .thank-you-page main {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
}

/* --- NAVIGATION --- */
.desktop-nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.desktop-nav a.active { color: #ffcc00; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span { width: 25px; height: 3px; background: white; border-radius: 2px; }

/* --- GRIDS & CARDS --- */
.why-grid, .testimonial-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* Updated Gallery Grid (Bigger Cards & Centered) */
.gallery-grid {
    display: grid;
    /* Cards are now 320px minimum width */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px; /* Constrain width for better 3-column layout */
    margin: auto;
    justify-content: center; /* Centers items in incomplete rows */
}

/* Custom rule for large screens to ensure 3-per-row */
@media (min-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-box, .service-box, .testimonial-box, .project-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.project-box { padding: 0; overflow: hidden; cursor: pointer; }
.project-box img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* --- CTA SECTION (Increased Lower Spacing) --- */
.cta-section {
    padding: 60px 20px; /* Increased vertical padding pushes this lower */
    text-align: center;
    color: white;
    border-radius: 8px;
    margin: 40px auto 0 auto;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.cta-section h2 { font-size: 32px; margin-bottom: 10px; }
.cta-section p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; }

/* --- HERO & BUTTONS --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero::before, .cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Overlay */
    border-radius: 8px;
    z-index: -1;
}

.hero-content { position: relative; z-index: 1; }

.btn-primary {
    background: #ffcc00;
    padding: 12px 24px;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
    border: none;
    font-family: inherit;
    font-size: 16px;
}

.btn-primary:hover { background: #e0b800; transform: translateY(-2px); }

/* --- CONTACT FORM PAGE --- */
.contact-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    text-align: left;
    margin: auto;
}

.contact-details, .contact-form { flex: 1; min-width: 320px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.contact-form textarea { height: 100px; resize: none; }

/* --- LIGHTBOX/SLIDER --- */
.slider-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.slider-image { max-width: 90%; max-height: 80vh; border-radius: 4px; }
.slider-arrow { position: absolute; top: 50%; font-size: 40px; color: white; cursor: pointer; padding: 20px; }
.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }
.close-btn { position: absolute; top: 20px; right: 30px; font-size: 40px; color: white; cursor: pointer; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container { padding: 0 10px; }
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; color: white; font-size: 24px; background: none; border: none; }
    
    .footer-container { grid-template-columns: 1fr 1fr; gap: 15px; }
    .footer-col:first-child { grid-column: span 2; text-align: center; }
    .footer-logo { margin: 0 auto 10px auto; }
    main { margin-bottom: 450px; } /* Space for wrapped mobile footer */
}a/* --- GLOBAL & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #fcfcfc;
    color: #222;
    line-height: 1.6;
    overflow: hidden; 
}

body {
    display: flex;
    flex-direction: column;
}

/* --- PROFESSIONAL FIXED HEADER --- */
header {
    background: #1a1a1a;
    padding: 0 30px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 85px; /* Slightly taller for a premium feel */
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    border-bottom: 2px solid #ffcc00;
}

.header-container {
    max-width: 1300px;
    margin: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 15px; }
.logo { height: 55px; border-radius: 4px; border: 1px solid #444; }

.brand-text h1 { 
    color: #fff; 
    font-size: 20px; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tagline { 
    color: #ffcc00; 
    font-size: 11px; 
    font-weight: 600; 
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- NAVIGATION --- */
.desktop-nav { display: flex; align-items: center; gap: 25px; }

.desktop-nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.desktop-nav a:hover, .desktop-nav a.active { color: #ffcc00; }

/* The Header "Get a Quote" Button */
.nav-btn {
    background: #ffcc00;
    color: #1a1a1a !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px !important;
    transition: transform 0.2s, background 0.3s !important;
}

.nav-btn:hover {
    background: #fff !important;
    transform: translateY(-2px);
}

/* --- SLIM FOOTER --- */
footer {
    background: #111;
    color: #999;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    font-size: 13px;
    padding: 25px 20px 10px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 5px; }
.footer-col a { color: #999; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: #ffcc00; }

.footer-bottom {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 11px;
}

/* --- MAIN CONTENT AREA --- */
main {
    flex: 1;
    margin-top: 85px;    
    margin-bottom: 180px; 
    overflow-y: auto;    
    padding: 40px 20px;
}

/* --- GALLERY GRID (3-per-row, Centered) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    justify-content: center;
}

@media (min-width: 1100px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.project-box:hover { transform: translateY(-5px); }
.project-box img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* --- BUTTONS & HERO --- */
.btn-primary {
    background: #ffcc00;
    padding: 15px 30px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover { background: #e0b800; }

/* --- MOBILE --- */
.menu-toggle { display: none; }

@media (max-width: 850px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; }
    .menu-toggle span { width: 25px; height: 3px; background: #fff; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    main { margin-bottom: 400px; }
}
.who {
    padding-top: 80px;
     font-size: 42px;
    font-weight: 900;
    text-align: left; /* Shifted to left for a modern, structured look */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a; /* Deep charcoal/black */
    
    /* Matches the header height spacing without a huge gap */
    margin: 15px auto 35px 50px; 
    padding-left: 20px;
    
    /* This creates a thick yellow "Curb" or "Pillar" to the left of the text */
    border-left: 12px solid #ffcc00;
    
    /* Subtle shadow to make it look like a 3D block of stone */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    
    display: block;
    max-width: fit-content;
}
.our-services, .our-projects {
    /* ... keep your other code ... */

    margin-left: -500px; /* Pulls the yellow bar to the absolute edge if main has 20px padding */
    padding-left: 20px; /* Keeps the text itself spaced from the yellow bar */
    
    /* Ensure no other centering rules are fighting this */
    margin-right: auto;
    display: block; 
    width: 100%;
}
.our-services {
    font-size: 42px;
    font-weight: 900;
    text-align: left; /* Shifted to left for a modern, structured look */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a; /* Deep charcoal/black */
    padding-top: 80px;
    /* Matches the header height spacing without a huge gap */
   

    
    /* This creates a thick yellow "Curb" or "Pillar" to the left of the text */
    border-left: 12px solid #ffcc00;
    
    /* Subtle shadow to make it look like a 3D block of stone */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    
    display: block;
    max-width: fit-content;
}

/* Landscaping & Hardscaping Industrial-Fancy Style */
.our-projects {
    font-size: 42px;
    font-weight: 900;
    text-align: left; /* Shifted to left for a modern, structured look */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a; /* Deep charcoal/black */
    
    /* Matches the header height spacing without a huge gap */
    margin: 15px auto 35px 50px; 
    padding-left: 20px;
    
    /* This creates a thick yellow "Curb" or "Pillar" to the left of the text */
    border-left: 12px solid #ffcc00;
    
    /* Subtle shadow to make it look like a 3D block of stone */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    
    display: block;
    max-width: fit-content;
}
