/* Block Solid Construction - Custom Styles */

:root {
  --sky: #54bef0;
  --sky-dark: #2a9fd0;
  --navy: #0d2d5e;
  --navy-mid: #153870;
  --gold: #c9a84c;
  --charcoal: #2c2c2c;
  --light-gray: #f4f6f9;
  --body-text: #2c2c2c;
  --muted-text: #6b7280;
  --footer-text: #c8d6e5;
}

/* ========== GLOBAL ========== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--body-text);
}

a {
  text-decoration: none;
}

/* ========== NAVBAR ========== */
.navbar {
  background-color: var(--navy) !important;
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 55px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  margin: 0 0.25rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--sky) !important;
}

.btn-estimate {
  background-color: var(--sky);
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.45rem 1.2rem;
  transition: background 0.2s;
}

.btn-estimate:hover {
  background-color: var(--sky-dark);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ========== HERO ========== */
/* Old static .hero rule — overridden by .hero-video below */
.hero {
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 1;
}

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

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  color: var(--sky);
}

.hero p.lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.btn-primary-accent {
  background-color: var(--sky);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary-accent:hover {
  background-color: var(--sky-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-light-custom {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ========== SECTION TITLES ========== */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-title .accent {
  color: var(--sky);
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--sky);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-divider.left {
  margin: 0 0 1.5rem;
}

/* ========== SERVICES ========== */
.services-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  border-top: 4px solid var(--sky);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted-text);
  font-size: 0.95rem;
  margin: 0;
}

/* ========== WHY CHOOSE US STRIP ========== */
.why-strip {
  padding: 3rem 0;
  background-color: #fff;
}

.why-box {
  background: var(--navy);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,45,94,0.25);
}

.why-icon {
  font-size: 2.5rem;
  color: var(--sky);
  display: block;
  margin-bottom: 0.75rem;
}

.why-box h5 {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.why-box p {
  color: var(--footer-text);
  font-size: 0.88rem;
  margin: 0;
}

/* ========== FAQ ========== */
.faq-section {
  padding: 5rem 0;
  background: #fff;
}

.accordion-button {
  font-weight: 600;
  color: #ffffff;
  background-color: var(--navy);
}

.accordion-button:not(.collapsed) {
  background-color: var(--navy-mid);
  color: #ffffff;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(84,190,240,0.25);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--sky);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(13,45,94,0.8);
  margin-bottom: 2rem;
}

.cta-banner .btn-primary-accent {
  background-color: var(--navy);
  color: #fff;
}

.cta-banner .btn-primary-accent:hover {
  background-color: var(--navy-mid);
  color: #fff;
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--navy);
  color: var(--footer-text);
  padding: 3.5rem 0 0;
  border-top: 4px solid var(--gold);
}

footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer p, footer a {
  color: var(--footer-text);
  font-size: 0.93rem;
}

footer a:hover {
  color: var(--sky);
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: 0.5rem;
  color: var(--footer-text);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

footer .social-links a:hover {
  background: var(--sky);
  color: #ffffff;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(200,214,229,0.5);
}

footer .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.6rem;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a8a 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.page-hero p.lead {
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.page-hero .accent-line {
  width: 70px;
  height: 4px;
  background: var(--sky);
  margin: 1rem auto 0;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

/* ========== ABOUT PAGE ========== */
.about-section {
  padding: 5rem 0;
}

.about-section .about-text p {
  font-size: 1.08rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.mission-callout {
  background: var(--sky);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #ffffff;
}

.mission-callout .mission-icon {
  font-size: 4rem;
  color: #ffffff;
  display: block;
  margin-bottom: 1rem;
}

.mission-callout h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.mission-callout p {
  color: rgba(13,45,94,0.8);
  font-size: 1rem;
  margin: 0;
}

.values-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.value-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s;
  height: 100%;
  border-top: 4px solid var(--sky);
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-card p {
  color: var(--muted-text);
  font-size: 0.95rem;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 5rem 0;
}

.contact-form-card {
  background: #fff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.92rem;
}

.form-control, .form-select {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 0.2rem rgba(84,190,240,0.2);
}

.btn-submit {
  background-color: var(--sky);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  width: 100%;
  transition: background 0.2s;
}

.btn-submit:hover {
  background-color: var(--sky-dark);
  color: #fff;
}

.contact-info-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 2.5rem;
  color: #fff;
  height: 100%;
}

.contact-info-card h3 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--sky);
  margin-top: 0.1rem;
}

.contact-detail h6 {
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  margin: 0;
  font-size: 0.97rem;
  color: #fff;
}

.contact-detail a {
  color: #fff;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--sky);
}

.response-note {
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  border-left: 3px solid var(--sky);
}

/* ========== GALLERY ========== */
.gallery-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a8a 100%);
  padding: 100px 0 60px;
  text-align: center;
}

.gallery-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.gallery-hero .subtitle {
  color: var(--sky);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-section {
  padding: 70px 0 40px;
  background: var(--navy);
}
.gallery-section .text-muted {
  color: rgba(255,255,255,0.55) !important;
}
.gallery-section .section-divider {
  background: var(--sky);
}

.project-group {
  margin-bottom: 3.5rem;
}

.project-label {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--sky);
  display: inline-block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

/* Video section */
.video-section {
  padding: 60px 0 80px;
  background: var(--navy);
}

.video-section h2 {
  color: #fff;
}

.video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA section in gallery */
.cta-section {
  padding: 5rem 0;
  background: var(--sky);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section h2 .accent {
  color: #ffffff;
}

.cta-section p.lead {
  color: rgba(13,45,94,0.8);
  margin-bottom: 2rem;
}

.cta-section .btn-primary-accent {
  background-color: var(--navy);
  color: #fff;
}

.cta-section .btn-primary-accent:hover {
  background-color: var(--navy-mid);
  color: #fff;
}

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lb-overlay.active { display: flex; }

.lb-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(0,0,0,0.7);
}

.lb-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
}

.lb-close:hover { opacity: 1; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

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

/* ========== QUICK-WIN ADDITIONS v3 ========== */

/* Nav phone */
.nav-phone { color: rgba(255,255,255,0.9) !important; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-phone:hover { color: var(--sky) !important; }

/* Estimate strip */
.estimate-strip { background: var(--light-gray); padding: 2.5rem 0; border-top: 3px solid var(--sky); }
.estimate-strip h3 { font-weight: 700; color: #ffffff; margin-bottom: 0.25rem; }

/* Display call link */
.display-call-link { font-size: 2rem; font-weight: 800; color: var(--sky); text-decoration: none; }
.display-call-link:hover { color: var(--sky); }

/* Service area callout */
.service-area-callout { border-left: 4px solid var(--sky); background: var(--light-gray); padding: 1rem 1.5rem; border-radius: 0 8px 8px 0; margin-top: 2rem; font-weight: 500; color: #ffffff; }


/* ========== VIDEO HERO ========== */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,45,94,0.82) 0%, rgba(13,45,94,0.55) 60%, rgba(0,0,0,0.3) 100%);
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4rem;
}

.hero-video h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 1.25rem;
}

.hero-video .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 2rem;
}

/* Mobile: hide video, show poster */
@media (max-width: 768px) {
  .hero-video {
    min-height: 80vh;
    background: url('/img/hero-poster.jpg') center/cover no-repeat;
  }
  .hero-video-bg {
    display: none;
  }
  .hero-overlay {
    display: block !important;
    background: linear-gradient(135deg, rgba(13,45,94,0.85) 0%, rgba(13,45,94,0.6) 100%);
  }
}

/* ===== Bootstrap 5 Carousel Gallery (added 2026-05-22) ===== */
.project-carousel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next {
  width: 50px;
  background: rgba(0,0,0,0.4);
  border-radius: 0;
  opacity: 0.8;
}
.project-carousel .carousel-control-prev:hover,
.project-carousel .carousel-control-next:hover {
  opacity: 1;
  background: rgba(0,0,0,0.6);
}
.carousel-caption-below {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(10,22,40,0.85);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  margin-top: -4px;
}
.caption-project { font-weight: 500; letter-spacing: 0.02em; }
.caption-counter { color: #aaa; font-size: 0.8rem; }

/* ========== PORTFOLIO HUB ========== */
.portfolio-hub-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s;
  overflow: hidden;
  border-top: 4px solid var(--sky);
}
.portfolio-hub-card:hover {
  transform: translateY(-4px);
}
.portfolio-hub-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
