/* ====================================================
   GLOBAL LAYOUT & TYPOGRAPHY
==================================================== */

body {
    background-color: #F4F7F8;
    color: #1F2A30;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-top: 0;
}

h2 {
    color: #3A5A6A;
}

/* Section intro above Build/Use */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 20px auto;
    font-size: 20px;
    color: #3A5A6A;
}


/* ====================================================
   BANNER + NAVIGATION
==================================================== */

.banner {
    position: relative;
    background-image: url('assets/images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    text-align: center;
    color: white;
}

/* Overlay */
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 50, 70, 0.55);
    z-index: 0;
}

/* Keep content above overlay */
.banner * {
    position: relative;
    z-index: 1;
}

/* Logo */
.banner img.logo {
    height: 300px;
    margin-bottom: 0;
}

/* Tagline */
.banner .tagline {
    font-size: 18px;
    margin-top: 10px;
    color: #E8F1F5;
}

/* Navigation */
.banner-nav {
    margin-top: 20px;
}

.banner-nav a {
    color: #E8F1F5;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
}

.banner-nav a:hover {
    text-decoration: underline;
}


/* ====================================================
   GALLERY + LIGHTBOX
==================================================== */

/* Gallery grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Updated gallery styling */
.gallery img {
    width: 100%;
    height: 250px; /* Uniform thumbnail height */
    object-fit: cover; /* Clean cropping */
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* Subtle base shadow */
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25); /* Premium hover shadow */
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
}

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


/* ====================================================
   CTA + FOOTER
==================================================== */

.cta-banner {
    background-color: #3A5A6A;
    color: #E8F1F5;
    text-align: center;
    padding: 10px 5px;
    margin: 60px auto 40px auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-banner a {
    color: #E8F1F5;
    font-weight: bold;
    text-decoration: underline;
}

.cta-banner a:hover {
    opacity: 0.85;
}

footer {
    background-color: #143246;
    color: #E8F1F5;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}


/* ====================================================
   SERVICE AREA MAP
==================================================== */

.service-area {
    text-align: center;
    margin: 60px auto;
    max-width: 900px;
}


/* ====================================================
   CONTENT SECTIONS (Build / Materials / Delivery)
==================================================== */

.materials-section,
.build-section,
.delivery-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 50px 40px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Text blocks */
.materials-text,
.build-text,
.delivery-text {
    flex: 1;
    max-width: 700px;
}

/* Photos */
.materials-photo,
.build-photo {
    width: 38%;
    border-radius: 8px;
    object-fit: cover;
}


/* ====================================================
   MOBILE RESPONSIVE
==================================================== */

@media (max-width: 700px) {

    .materials-section,
    .build-section,
    .delivery-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .materials-photo,
    .build-photo {
        width: 80%;
    }
}

.build-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 38%;
}

.build-photos img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.build-left,
.build-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Left photo under text */
.build-photo-left {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Right photo alone */
.build-photo-right {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}


/* ====================================================
   PAGE INTRO (Intake + Contact)
==================================================== */

.page-intro {
    text-align: center;
    margin-bottom: 30px;
}
