/* ========================= */
/* COLOR VARIABLES           */
/* ========================= */

:root {
    --green: #1A1A1A;          /* charcoal */
    --cream: #f2f2f2;          /* light gray */
    --sage: #D9D9D9;           /* light gray */
    --light-sage: #E5E5E5;     /* lighter gray */
    --accent-green: #2C3E50;   /* slate blue */
    --slate-blue: #2C3E50;     /* keep */
    --steel-blue: #4A6FA5;     /* keep */
}


/* ========================= */
/* SECTION 1 — HERO BANNER   */
/* ========================= */

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    background-image: url('../images/mattdeck17.jpg'); /* full-screen hero image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Charcoal overlay — clean, modern, construction-focused */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.top-nav {
    position: absolute;
    top: 0;
    width: 100%;
    height: 140px; /* increased to fit larger logo */
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    z-index: 10;

    /* FIXED — remove all green */
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

/* Stronger glow + larger size so logo is readable on any photo */
.logo-area img {
    height: 110px;
    display: block;
    filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 8px #000);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.nav-social svg {
    width: 28px;
    fill: var(--cream);
    transition: 0.3s ease;
}

.nav-social svg:hover {
    fill: var(--steel-blue);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-btn {
    background: var(--accent-green);
    color: var(--cream);
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: var(--steel-blue);
}

.hero-content h1,
.hero-content h2 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* ========================= */
/* SECTION 2 — ABOUT US      */
/* ========================= */

.about {
    padding: 90px 40px;
    background: var(--sage);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.4rem;
    color: var(--green);
    margin-bottom: 10px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent-green);
    margin-bottom: 25px;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--slate-blue);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-btn {
    display: inline-block;
    background: var(--green);
    color: var(--cream);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.about-btn:hover {
    background: var(--steel-blue);
}
/* ========================= */
/* SECTION 3 — PORTFOLIO     */
/* ========================= */

.portfolio {
    padding: 90px 40px;
    background: white;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-btn {
    display: inline-block;
    margin-top: 40px;
    background: var(--green);
    color: var(--cream);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s ease;
}

.portfolio-btn:hover {
    background: var(--steel-blue);
}


/* ========================= */
/* SECTION 4 — TESTIMONIALS  */
/* ========================= */

.testimonials {
    padding: 90px 40px;
    background: var(--cream);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.testimonial-card {
    background: white;
    border: 2px solid var(--light-sage);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-green);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--slate-blue);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-name {
    font-size: 1rem;
    color: var(--green);
    font-weight: 600;
}

/* ========================= */
/* SECTION 5 — SERVICES GRID */
/* ========================= */

.services {
    padding: 80px 40px;
    background: var(--cream);
    text-align: center;
}

.section-title {
    font-size: 2.6rem;
    color: var(--green);
    margin-bottom: 50px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 2px solid var(--light-sage);
    padding: 30px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-green);
}

.icon-area img {
    width: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--green);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--slate-blue);
    font-size: 1rem;
}

/* ========================= */
/* SECTION 6 — CONTACT CTA   */
/* ========================= */

.contact-cta {
    padding: 100px 40px;
    background: var(--green);
    color: var(--cream);
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: auto;
}

.contact-cta h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-subtext {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light-sage);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--cream);
    text-decoration: underline;
}

.contact-btn {
    display: inline-block;
    margin-top: 30px;
    background: var(--accent-green);
    color: var(--cream);
    padding: 16px 36px;
    border-radius: 6px;
    font-size: 1.3rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: var(--steel-blue);
}

/* ========================= */
/* SECTION 7 — FOOTER        */
/* ========================= */

.footer {
    background: var(--slate-blue);
    color: var(--cream);
    padding: 60px 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1rem;
    color: var(--light-sage);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #D4C48A; /* Soft gold hover */
}

.footer-social svg {
    width: 32px;
    fill: var(--cream);
    transition: 0.3s ease;
}

.footer-social svg:hover {
    fill: #D4C48A; /* Soft gold hover */
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--light-sage);
}

/* ========================= */
/* NAVIGATION BAR            */
/* ========================= */

.main-nav {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    backdrop-filter: blur(6px);
}


.nav-container {
    max-width: 1300px;
    margin: auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #D4C48A; /* Soft gold hover */
}

/* MOBILE MENU TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--cream);
    border-radius: 3px;
}

/* MOBILE MENU */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        background: var(--green);
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        display: none;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
}
/* GALLERY PAGE HEADER */
.gallery-header {
    padding: 140px 40px 60px;
    background: var(--sage);
    text-align: center;
    color: var(--green);
}

.gallery-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--slate-blue);
}

/* FULL GALLERY GRID */
.full-gallery {
    padding: 60px 40px;
    background: var(--cream);
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* SERVICES PAGE HEADER */
.services-header {
    padding: 140px 40px 60px;
    background: var(--sage);
    text-align: center;
    color: var(--green);
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.services-header p {
    font-size: 1.2rem;
    color: var(--slate-blue);
}

/* SERVICES LIST */
.services-list {
    padding: 60px 40px;
    max-width: 900px;
    margin: auto;
}

.service-block {
    background: white;
    border: 2px solid var(--light-sage);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-block h2 {
    color: var(--green);
    margin-bottom: 10px;
}

.service-block p {
    color: var(--slate-blue);
    line-height: 1.6;
}

/* CONTACT PAGE HEADER */
.contact-header {
    padding: 140px 40px 60px;
    background: var(--sage);
    text-align: center;
    color: var(--green);
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--slate-blue);
}

/* CONTACT PAGE LAYOUT */
.contact-page {
    padding: 60px 40px;
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.contact-info-box,
.contact-form-box {
    background: white;
    border: 2px solid var(--light-sage);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.contact-info-box h2,
.contact-form-box h2 {
    color: var(--green);
    margin-bottom: 20px;
}

.contact-info-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--slate-blue);
}

.contact-info-box a {
    color: var(--green);
    text-decoration: underline;
}

/* CONTACT FORM */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--light-sage);
    font-size: 1rem;
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-form button {
    background: var(--green);
    color: var(--cream);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: var(--steel-blue);
}

/* LIGHTBOX OVERLAY */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    text-align: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    color: var(--accent-green);
}
/* ============================
   GALLERY HERO (Matches Homepage)
   ============================ */
.gallery-hero {
    height: 400px;
    background-image: url("../images/mattdeck17.jpg"); /* Change if needed */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark blue overlay */
.gallery-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* MATCHES HOMEPAGE OVERLAY */
    z-index: 1;
}

/* Hero text */
.gallery-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
}

.gallery-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.gallery-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* ============================
   FULL GALLERY SECTION
   ============================ */
.full-gallery {
    background: #f2f2f2; /* matches homepage gray */
    padding: 60px 0;
}

/* Gallery grid */
.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* Gallery images */
.gallery-item img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* matches homepage card shadow */
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* ============================
   LIGHTBOX (Matches Brand)
   ============================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.9); /* charcoal overlay */
}

.lightbox-img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
}

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

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    user-select: none;
    transform: translateY(-50%);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

}
/* SERVICE GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.service-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  opacity: 0.85;
  transition: 0.25s ease;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.service-card:hover img {
  opacity: 1;
  transform: scale(1.08);
}

.service-card:hover {
  background: #f5f5f5;
}

.services {
  background: #ffffff;
}

header .logo img {
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.55));
}

/* Mobile social icon size fix */
@media (max-width: 768px) {
  .social-icon-mobile {
    font-size: 18px !important;
  }

  .tiktok-icon-mobile svg {
    width: 18px !important;
    height: 18px !important;
  }
}

