/* ------------------------------
   RESET
--------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

/* ------------------------------
   NAVBAR
--------------------------------*/
.navbar {
    background: #000;
    color: #fff;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
    z-index: 9999; /* ⬅ highest layer so dropdown sits OVER hero */
}

.logo {
    font-size: 30px;
    font-weight: 800;
}

.logo-img {
    height: 40px;      /* adjust size here */
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
}


nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

nav a:hover {
    color: #D62828;
}

.cta {
    padding: 8px 18px;
    background: #D62828;
    border-radius: 4px;
}

.cta:hover {
    background: #b81f1f;
}

/* ------------------------------
   DROPDOWN
--------------------------------*/
.dropdown {
    position: relative;
    z-index: 9999; /* ensures dropdown sits over everything */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: #111; /* dark menu */
    border-radius: 6px;

    min-width: 200px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);

    z-index: 9999; /* ⬅ absolutely ensures visibility */
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: white;
    background: #111;
    border-bottom: 1px solid #222;
}

.dropdown-content a:hover {
    background: #D62828; /* just the hovered item turns red */
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ------------------------------
   GALLERY STRIP
--------------------------------*/
.image-gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.image-gallery h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap; /* allows mobile-friendly wrapping */
}

.gallery-row img {
    width: 18%;           /* five images fit in a row */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* ------------------------------
   SINGLE IMAGE SECTION (Stormwater)
--------------------------------*/
.single-img-section {
    max-width: 1100px;
    margin: 30px auto;
    text-align: center;
}

.single-img {
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ------------------------------
   STORMWATER RETENTION SECTION
--------------------------------*/
.stormwater-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.stormwater-text {
    text-align: left;
    margin-bottom: 25px;
}

.stormwater-images {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stormwater-images img {
    width: 48%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ------------------------------
   HERO SECTION
--------------------------------*/
.hero {
    height: 65vh;
    background: url("images/hero.jpg") center/cover no-repeat;
    position: relative;
    z-index: 1; /* BELOW navbar */
}

.hero-overlay {
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.55); /* Dark fog */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    text-align: center;

    position: relative;
    z-index: 2; /* below navbar but above background */
}

.hero h1 {
    font-size: 80px;
    font-weight: 900;
    color: white;
}

.hero h2 {
    font-size: 32px;
    color: white;
    margin-top: 10px;
}

.hero p {
    font-size: 20px;
    color: white;
    margin-top: 10px;
}

.hero-btn {
    display: inline-block;
    background: #D62828;
    padding: 12px 26px;
    margin-top: 25px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-btn:hover {
    background: #b81f1f;
}

/* ------------------------------
   PAGE HEADERS
--------------------------------*/
.page-header {
    background: white;
    padding: 60px 20px;
    text-align: center;
}


.page-header h1 {
    font-size: 50px;
    font-weight: 800;
}

.page-header p {
    font-size: 18px;
    margin-top: 8px;
    max-width: 900px;        /* keeps text tight and even */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

/* ------------------------------
   SERVICES GRID
--------------------------------*/
.services {
    padding: 60px 40px;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.service-card {
    background: white;
    padding: 30px;
    width: 300px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 8px 26px rgba(0,0,0,0.12);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-card p {
    margin-bottom: 14px;
    color: #555;
}

.service-card a {
    color: #D62828;
    font-weight: 600;
    text-decoration: none;
}

/* ------------------------------
   SERVICE DETAILS PAGES
--------------------------------*/
.service-section {
    display: flex;
    align-items: center;
    gap: 40px;

    /* 🔥 Subtle faded ALLCON red background */
    background: white;

    padding: 40px;
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 14px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    backdrop-filter: blur(2px);
}

.service-section.reverse {
    flex-direction: row-reverse;
}

.service-img {
    width: 45%;
    border-radius: 12px;
}

.service-text {
    width: 50%;
}

.service-text ul {
    margin-top: 12px;
    margin-left: 20px;
}

.service-text .hero-btn {
    margin-top: 20px;
}

/* ------------------------------
   CONTACT PAGE
--------------------------------*/
.phone-link {
    color: #D62828;
    font-weight: bold;
    text-decoration: none;
}

.content-section {
    max-width: 900px;
    background: white;
    padding: 40px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 2px solid #ddd;
    margin-bottom: 12px;
}

.contact-form button {
    display: inline-block;
    background: #D62828;
    color: white;
    padding: 12px 26px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

/* ------------------------------
   CTA STRIP
--------------------------------*/
.cta-strip {
    background: #D62828;
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.cta-strip h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.strip-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    background: white;
    color: #D62828;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.strip-btn:hover {
    background: #f2f2f2;
}

/* ------------------------------
   MX VIDEO GRID
--------------------------------*/
.video-section {
    text-align: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.video-section h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------
   GOOGLE REVIEWS SECTION
--------------------------------*/
.reviews-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.reviews-section h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
    background: #000;
    color: white;
    padding: 25px;
    text-align: center;
    margin-top: 60px;
}

/* ------------------------------
   MOBILE RESPONSIVE
--------------------------------*/
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

   .stormwater-images {
    flex-direction: column;
   }

   .stormwater-images img {
       width: 100%;
       height: 220px;
   }

   .gallery-row img {
    width: 45%;   /* two per row on mobile */
   }

    .hero {
        height: 55vh;
    }

    .hero-overlay {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    .service-section,
    .service-section.reverse {
        flex-direction: column;
        text-align: center;
    }

    .service-img,
    .service-text {
        width: 100%;
    }
}

