@charset "UTF-8";
/* CSS Document */

/* ----------------------------------
   HydroHoist of Discovery Bay Styles
---------------------------------- */

:root {
  --hhod-navy: #062b5f;
  --hhod-blue: #1196d4;
  --hhod-light-blue: #eaf7fc;
  --hhod-gray: #f5f7fa;
  --hhod-dark: #1d1d1d;
  --hhod-white: #ffffff;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--hhod-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.navbar-nav .nav-link,
.btn {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: .03em;
}

a {
  color: var(--hhod-blue);
  text-decoration: none;
}

a:hover {
  color: var(--hhod-navy);
}

/* TOP BAR */

.top-bar {
  background-color: var(--hhod-navy);
  color: var(--hhod-white);
  font-size: .9rem;
  padding: .45rem 0;
}

.top-bar a {
  color: var(--hhod-white);
  font-weight: 500;
}

.top-bar a:hover {
  color: #cfefff;
}

/* HEADER */

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo {
  max-width: 280px;
  height: auto;
}

.navbar {
  padding: .8rem 0;
}

.navbar-nav .nav-link {
  color: var(--hhod-navy);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: .75rem;
  padding-right: .75rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--hhod-blue);
}

.btn-quote {
  background-color: var(--hhod-blue);
  color: #ffffff;
  border: 2px solid var(--hhod-blue);
  text-transform: uppercase;
  padding: .55rem 1.1rem;
  border-radius: 30px;
  font-weight: 600;
}

.btn-quote:hover {
  background-color: var(--hhod-navy);
  border-color: var(--hhod-navy);
  color: #ffffff;
}

/* GENERAL SECTIONS */

.section-padding {
  padding: 80px 0;
}

.section-light {
  background-color: var(--hhod-gray);
}

.section-blue {
  background-color: var(--hhod-light-blue);
}

.section-title {
  color: var(--hhod-navy);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  max-width: 760px;
  margin-bottom: 2rem;
}

/* IMAGE PLACEHOLDERS */

.image-placeholder {
  background-color: #d9e5ef;
  border: 2px dashed #8ca9bf;
  color: #4c6475;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* CARDS */

.hhod-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.hhod-card h3 {
  color: var(--hhod-navy);
  font-size: 1.5rem;
}

/* FOOTER CTA */

.footer-cta {
  background: linear-gradient(135deg, var(--hhod-navy), var(--hhod-blue));
  color: #ffffff;
  padding: 70px 0;
}

.footer-cta h2 {
  font-size: 2.3rem;
  margin-bottom: .75rem;
}

.footer-cta p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

/* FOOTER */

.site-footer {
  background-color: #061d3d;
  color: #d9e9f5;
  padding: 60px 0 25px;
}

.footer-logo {
  max-width: 250px;
  background: #ffffff;
  padding: 10px;
  border-radius: 6px;
}

.site-footer h5 {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #d9e9f5;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: .45rem;
}

.btn-footer {
  background-color: var(--hhod-blue);
  color: #ffffff;
  border-radius: 30px;
  padding: .55rem 1.1rem;
  text-transform: uppercase;
}

.btn-footer:hover {
  background-color: #ffffff;
  color: var(--hhod-navy);
}

.site-footer hr {
  border-color: rgba(255,255,255,.2);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  font-size: .9rem;
  color: #bfd5e6;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .site-logo {
    max-width: 230px;
  }

  .navbar-nav {
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    padding: .6rem 0;
  }

  .btn-quote {
    display: inline-block;
    margin-top: .5rem;
  }
}

@media (max-width: 575px) {
  .top-bar {
    text-align: center;
    font-size: .8rem;
  }

  .site-logo {
    max-width: 210px;
  }

  .section-padding {
    padding: 55px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-cta h2 {
    font-size: 1.9rem;
  }
}
/* ----------------------------------
   Home Page
---------------------------------- */

.eyebrow {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hhod-blue);
  font-weight: 700;
  font-size: 1.rem;
  margin-bottom: .75rem;
}


.hero-lead {
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-area-note {
  font-weight: 700;
  color: var(--hhod-navy);
  margin-bottom: 0;
}

.btn-outline-hhod {
  color: var(--hhod-navy);
  border: 2px solid var(--hhod-navy);
  background: transparent;
  text-transform: uppercase;
  border-radius: 30px;
  padding: .55rem 1.1rem;
  font-weight: 600;
}

.btn-outline-hhod:hover {
  background: var(--hhod-navy);
  color: #ffffff;
}

.mini-feature {
  background: #ffffff;
  border-left: 5px solid var(--hhod-blue);
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.mini-feature h4 {
  color: var(--hhod-navy);
  font-size: 1.25rem;
  margin-bottom: .4rem;
}

.mini-feature p {
  margin-bottom: 0;
}

.portfolio-preview h3 {
  color: var(--hhod-navy);
  font-size: 1.35rem;
  margin-top: 1rem;
  margin-bottom: .35rem;
}

.quote-section {
  background: linear-gradient(135deg, var(--hhod-navy), #074b88);
  color: #ffffff;
  padding: 80px 0;
}

.quote-section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 1rem;
}

.quote-section p {
  font-size: 1.15rem;
  max-width: 720px;
}

.quote-box {
  background: #ffffff;
  color: var(--hhod-dark);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.quote-box h3 {
  color: var(--hhod-navy);
  font-size: 1.5rem;
}

.quote-box ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.quote-box li {
  margin-bottom: .45rem;
}

/* ----------------------------------
   Sized Image Placeholders
---------------------------------- */

.image-placeholder {
  background-color: #d9e5ef;
  border: 2px dashed #8ca9bf;
  color: #4c6475;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  width: 100%;
  border-radius: 8px;
  padding: 20px;
}

.image-placeholder span {
  line-height: 1.45;
}

.hero-placeholder {
  min-height: 425px;
}

.section-placeholder {
  min-height: 600px;
  max-width: 800px;
}

.card-placeholder {
  min-height: 300px;
  max-width: 400px;
}

.gallery-placeholder {
  min-height: 450px;
  max-width: 600px;
}

.why-placeholder {
  min-height: 500px;
  max-width: 700px;
}

/* ----------------------------------
   Responsive Home Adjustments
---------------------------------- */

  .hero-placeholder {
    min-height: 350px;
  }

  .section-placeholder {
    min-height: 420px;
  }

  .why-placeholder {
    min-height: 380px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-placeholder {
    min-height: 260px;
  }

  .section-placeholder,
  .gallery-placeholder,
  .why-placeholder {
    min-height: 280px;
  }

  .card-placeholder {
    min-height: 230px;
  }

  .quote-section {
    padding: 55px 0;
  }

/* ----------------------------------
   Full Width Hero Video
---------------------------------- */

.home-hero-video {
  position: relative;
  min-height: 680px;
  display: block;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--hhod-navy);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-color: var(--hhod-navy);
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(6, 43, 95, 0.90) 0%,
    rgba(6, 43, 95, 0.76) 45%,
    rgba(6, 43, 95, 0.35) 100%
  );
}

.home-hero-video .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 720px;
  padding: 95px 0 105px;
}

.home-hero-video h1 {
  color: #ffffff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 14px rgba(0,0,0,.35);
}

.home-hero-video .hero-lead {
  color: #ffffff;
  font-size: 1.15rem;
  max-width: 650px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.home-hero-video .service-area-note {
  color: #ffffff;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.home-hero-video .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-hero-video .btn-quote {
  background-color: var(--hhod-blue);
  border-color: var(--hhod-blue);
  color: #ffffff !important;
}

.home-hero-video .btn-quote:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--hhod-navy) !important;
}

.home-hero-video .btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
  text-transform: uppercase;
  border-radius: 30px;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
}

.home-hero-video .btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--hhod-navy);
}

@media (max-width: 991px) {
  .home-hero-video {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0 85px;
  }

  .home-hero-video h1 {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .hero-overlay {
    background: rgba(6, 43, 95, 0.82);
  }
}

@media (max-width: 575px) {
  .hero-content {
    padding: 65px 0 70px;
  }

  .home-hero-video h1 {
    font-size: 2.8rem;
  }

  .home-hero-video .hero-buttons .btn {
    width: 100%;
  }
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Replaces placeholder boxes when using real images */
.home-img-box {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.home-img-800x600 {
  aspect-ratio: 4 / 3;
}

.home-img-700x500 {
  aspect-ratio: 7 / 5;
}

.home-img-600x450 {
  aspect-ratio: 4 / 3;
}

.home-img-400x300 {
  aspect-ratio: 4 / 3;
}

.hhod-card .home-img-box {
  margin-bottom: 1rem;
  box-shadow: none;
  border-radius: 10px;
}
.home-hero-video {
  position: relative;
  min-height: 680px;
  display: block;
  overflow: hidden;
  color: #ffffff;
  background-color: #062b5f;
}

/* Poster image stays visible first */
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 43, 95, 0.90) 0%,
      rgba(6, 43, 95, 0.72) 45%,
      rgba(6, 43, 95, 0.25) 100%
    ),
    url("../images/hhod-hero.jpg") center center / cover no-repeat;
  opacity: 1;
  transition: opacity 1.2s ease;
}

/* Video loads behind poster */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
}

/* Only fade poster after video has had time to start */
.home-hero-video.video-ready .hero-poster {
  opacity: 0;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(6, 43, 95, 0.82) 0%,
    rgba(6, 43, 95, 0.65) 45%,
    rgba(6, 43, 95, 0.20) 100%
  );
}

.home-hero-video .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 720px;
  padding: 95px 0 105px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-social-link:hover {
  color: #8fd4ff;
}

.footer-social-icon {
  width: 30px;
  height: 30px;
  background: #1877f2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-social-icon svg {
  width: 13px;
  height: 20px;
  fill: #ffffff;
}