body{
    font-family: 'Work Sans', sans-serif;
}

.hero-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;   /* fallback for browsers without dvh support */
    max-height: 70dvh;  /* modern browsers: tracks real, current viewport height */
    object-fit: cover;
}

/* ============================================================
   NAVBAR
   ============================================================ */

section[id] {
  scroll-margin-top: 70px; /* match your navbar's actual rendered height */
}

.navbar {
    padding: 0.8rem 0rem;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.navbar .container-fluid {
  position: relative;
}

@media (min-width: 992px) {
  .navbar .container-fluid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .navbar-contact {
    justify-self: start;
  }

  .offcanvas {
    justify-self: end;
  }
}

@media (min-width: 992px) and (max-width: 1137px) {
  .navbar-contact-link span {
    font-size: 0.8rem;
  }

  .navbar-contact {
    gap: 0.5rem;
  }

  .navbar-nav {
    gap: 0.5rem !important;
  }

  .navbar .nav-link {
    font-size: 0.9rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    line-height: 1.5rem;   /* fixed — prevents toggle height shifting when font-size changes at narrower widths */
  }
}

/* Logo wordmark — Fraunces */
.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: normal;
    min-width: 0;
}

@media (min-width: 992px) {
  .navbar-brand {
    justify-self: center;
  }
}

.logo-main {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
}

.logo-sub {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

/* Contact links (desktop bar + mobile offcanvas) */
.navbar-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

@media (hover: hover) {
    .navbar-contact-link:hover {
        color: #f0f0f0;
        text-decoration: underline;
    }
}

.navbar-contact-link i {
    font-size: 1rem;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link.active {
    color: #f0f0f0;
}

@media (hover: hover) {
    .navbar-nav .nav-link:hover {
        color: #f0f0f0;
    }
}

@media (max-width: 991.98px) {
  .navbar.fixed-top {
    position: sticky;
    top: 0;
    z-index: 1030; /* keeps it above page content once stuck, matches Bootstrap's own fixed-top z-index */
    background-color: #000000;
  }
}

/* Dropdown menus — desktop nav */
.navbar .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0;
    margin-top: 1.12rem;
}

.navbar .dropdown-item {
    color: #fff;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
    transition: all 0.15s ease;
}

@media (hover: hover) and (min-width: 992px) {
    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        transform: scale(1.08);
        transform-origin: left center;
        background-color: transparent;
    }
}

.navbar.navbar-scrolled {
  background-color: #000000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.navbar.navbar-scrolled .logo-main,
.navbar.navbar-scrolled .logo-sub {
  color: #c62828; /* placeholder red — swap once brand hex confirmed */
}

/* Add a transition so the logo color change is smooth, matching the background */
.logo-main,
.logo-sub {
  transition: color 0.3s ease;
}

/* Keyboard accessibility */
.navbar-nav .nav-link:focus-visible,
.navbar-contact-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 2px;
}

/* ============================================================
   COMPACT MOBILE DROPDOWN PANEL
   Auto-height card near the toggle, not a full-screen drawer
   ============================================================ */

@media (max-width: 991.98px) {
    .navbar .offcanvas {
        top: 4.5rem;
        right: 1rem;
        left: auto;
        bottom: auto;
        width: min(320px, calc(100vw - 2rem));
        max-width: none;
        height: auto;
        max-height: calc(100vh - 5.5rem);
        overflow-y: auto;
        border-radius: 16px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
        background-color: rgba(250, 247, 242, 0.97);
        border-top: 4px solid #212529;
        transition-duration: 0.35s;
    }

    .navbar .offcanvas-header {
        padding: 1rem 1.25rem 0.5rem;
        border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    }

    .navbar .offcanvas-body {
        padding: 0.75rem 1.25rem 1.25rem;
    }
}

.navbar.navbar-scrolled .dropdown-menu {
  background-color: #000000; /* match whatever black you're using for navbar-scrolled */
}

@media (max-width: 992px) {
  .navbar.navbar-scrolled .dropdown-menu {
    background-color: initial;
  }
}

/* Link colors — mobile only */
@media (max-width: 991.98px) {
    .offcanvas .navbar-contact-link,
    .offcanvas .navbar-nav .nav-link,
    .offcanvas .dropdown-toggle {
        color: #212529;
        white-space: normal;
        word-break: break-word;
    }

    /* Divider between top-level items */
    .offcanvas .navbar-nav > .nav-item {
        border-bottom: 1px solid rgba(33, 37, 41, 0.08);
        padding: 0.4rem 0;
    }

    .offcanvas .navbar-nav > .nav-item:last-child {
        border-bottom: none;
    }

    /* Chevron rotates + toggle darkens when open */
    .offcanvas .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }

    .offcanvas .dropdown-toggle[aria-expanded="true"] {
        color: #000;
    }

    .offcanvas .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
}

/* Accordion — smooth expand/collapse via max-height,
   using Bootstrap's own .show class, no JS changes needed */
@media (max-width: 991.98px) {
    .offcanvas .dropdown-menu {
        display: block;
        position: static;
        border: none;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease;
    }

    .offcanvas .dropdown-menu.show {
        max-height: 300px;
        opacity: 1;
    }

    .offcanvas .dropdown-item {
        color: #313131;
        font-size: 1.05rem;
        padding: 0.6rem;
    }
}

/* ============================================================
   Home section
   ============================================================ */

.home-section {
  background-color: #f5f5f5;
  color: #212529;
}

.home-section i {
  color: #1a1a1a;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.home-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
}

.home-section .lead {
  color: #4a4a4a;
}

.home-section h2.h5 {
  color: #1a1a1a;
  font-weight: 600;
}

/* Scroll-triggered float-in animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each pillar slightly so they don't all pop at once */
.fade-in-up:nth-child(1) { transition-delay: 0s; }
.fade-in-up:nth-child(2) { transition-delay: 0.15s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }

.slogan-divider {
  background-color: #f5f5f5;
}

.slogan-text {
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
}

.text-brand-red {
  color: #c62828; /* placeholder red — swap once client confirms exact brand hex */
  font-family: 'Fraunces', sans-serif;
  font-weight: 600;
}

.slogan-text.fade-in-up {
    transform: scale(0.9);
  }
  .slogan-text.fade-in-up.is-visible {
    transform: scale(1);
  }

  /* ============================================================
   Digger Loader section
   ============================================================ */

.digger-section {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #ffffff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.digger-section h3 {
  color: #ffffff;
}

.digger-section p {
  color: #cfd2d6;
}

.service-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Rubble Removal section
   ============================================================ */

.rubble-section {
  background-color: #f7f6f4;
  color: #212529;
}

.rubble-section .section-title {
  color: #1a1a1a;
}

.rubble-section h3 {
  color: #1a1a1a;
}

.rubble-section p {
  color: #4a4a4a;
}

/* ============================================================
   Skips section
   ============================================================ */

.skips-section {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

.skips-section .section-title {
  color: #ffffff;
}

.skips-section h3 {
  color: #ffffff;
}

.skips-section p {
  color: #cfd2d6;
}

/* ============================================================
   Bins & Huts section
   ============================================================ */

.bins-huts-section {
  background-color: #ffffff;
  color: #212529;
}

.bins-huts-section .section-title {
  color: #1a1a1a;
}

.bins-huts-section h3 {
  color: #1a1a1a;
}

.bins-huts-section p {
  color: #4a4a4a;
}

/* ============================================================
   Delivery Range divider
   ============================================================ */

.delivery-divider {
  background-color: #1a1a1a;
}

.delivery-divider-text {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  color: #f1f1f1;
  letter-spacing: 0.02em;
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
}

.delivery-divider-text .text-brand-red {
  color: #c62828; /* placeholder red — swap once brand hex confirmed */
}

.delivery-divider-text.fade-in-up {
  transform: scale(0.9);
  transition-duration: 1s;
}

.text-brand-red-delivery {
  color: #f1f1f1;
  font-family: 'Fraunces', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   Sand section
   ============================================================ */

.sand-section {
  background-color: #ffffff;
  color: #212529;
}

.sand-section .section-title {
  color: #1a1a1a;
}

.sand-section h3 {
  color: #1a1a1a;
}

.sand-section p {
  color: #4a4a4a;
}

/* ============================================================
   Stone section
   ============================================================ */

.stone-section {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

.stone-section .section-title {
  color: #ffffff;
}

.stone-section h3 {
  color: #f1f1f1;
  font-weight: 600;
}

.stone-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Filling section
   ============================================================ */

.filling-section {
  background-color: #ffffff;
  color: #212529;
}

.filling-section .section-title {
  color: #1a1a1a;
}

.filling-section h3 {
  color: #1a1a1a;
}

.filling-section p {
  color: #4a4a4a;
}

/* ============================================================
   Other section
   ============================================================ */

.other-section {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

.other-section .section-title {
  color: #ffffff;
}

.other-section h3 {
  color: #f1f1f1;
  font-weight: 600;
}

.other-section p {
  color: #cfd2d6;
}

/* ============================================================
   Trust / Google Reviews section
   ============================================================ */

.trust-section {
  background-color: #ffffff;
  color: #212529;
}

.trust-intro {
  font-size: 1.1rem;
  color: #4a4a4a;
  font-style: italic;
}

.trust-card {
  background-color: #f7f6f4;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
}

.trust-stat-block {
  border-right: none;
}

@media (min-width: 768px) {
  .trust-stat-block:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.trust-google-icon {
  font-size: 1.5rem;
  color: #4a4a4a;
}

.trust-stars {
  font-size: 1.25rem;
  color: #f5b301;
  margin-bottom: 0.5rem;
}

.trust-stat-number {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2.25rem;
  color: #1a1a1a;
}

.trust-stat-label {
  font-size: 0.95rem;
  color: #6a6a6a;
}

.trust-link {
  background-color: #4a4a4a;
  color: #ffffff;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.75rem;
  font-weight: 600;
  transition: background-color 0.25s ease;
}

@media (hover: hover) {
  .trust-link:hover {
    background-color: #333333;
    color: #ffffff;
  }
}

.trust-link:focus {
  background-color: #333333;
  color: #ffffff;
  outline: 2px solid #333333;
  outline-offset: 2px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background-color: #1a1a1a;
  color: #cfd2d6;
}

.footer-logo .logo-main {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.footer-logo .logo-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  color: #a3a7ad;
}

.footer-tagline {
  color: #a3a7ad;
  font-size: 0.95rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 1.1rem;
  transition: background-color 0.25s ease;
}

@media (hover: hover) {
  .footer-social-link:hover {
    background-color: #333333;
  }
}

.footer-social-link:focus {
  background-color: #333333;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-link {
  color: #cfd2d6;
  text-decoration: none;
}

@media (hover: hover) {
  .footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }
}

.footer-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
}

.footer-hours {
  font-size: 0.95rem;
}

.footer-hours li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-hours li:last-child {
  border-bottom: none;
}

.footer-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
}

.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 3rem 0 1.5rem;
}

.footer-bottom {
  color: #6a6a6a;
  font-size: 0.85rem;
}

/* my logo and info styling */

.dev-credit {
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: #6a6a6a;
  font-size: 0.85rem;
}

.dev-credit img {
  border-radius: 20px;
}

.dev-credit a {
  color: #a3a7ad;
  text-decoration: none;
}

.dev-credit a:hover,
.dev-credit a:focus {
  color: #ffffff;
  text-decoration: underline;
}
  

