/* BoatCanyon – CarServ-style theme */
:root {
  --primary: #d9231d;
  --primary-dark: #b51c17;
  --navy: #1c2840;
  --navy-dark: #121a2b;
  --text: #555;
  --text-dark: #222;
  --light: #f6f6f6;
  --white: #ffffff;
  --border: #e8e8e8;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.section-title p {
  margin: 20px 0 0;
  max-width: 720px;
}

.btn-primary-bc {
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border: 2px solid var(--primary);
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary-bc:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white) !important;
}

.btn-outline-bc {
  display: inline-block;
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 26px;
  text-transform: uppercase;
}

.btn-outline-bc:hover {
  background: var(--white);
  color: var(--primary) !important;
}

/* Top bar */
.top-bar {
  background: var(--navy-dark);
  color: #ccc;
  font-size: 13px;
  padding: 10px 0;
}

.top-bar a {
  color: #ddd;
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar i {
  color: var(--primary);
  margin-right: 8px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-bc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.navbar-bc .logo img,
.navbar-bc .logo svg {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 4px 0;
  justify-content: center;
}

.nav-menu li a {
  color: var(--text-dark);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 14px;
  display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
  min-height: 520px;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(18, 26, 43, 0.88) 0%, rgba(18, 26, 43, 0.45) 55%, transparent 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  color: var(--white);
  padding: 60px 0;
}

.hero-content h1 {
  color: var(--white);
  font-size: 42px;
  margin: 0 0 20px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 28px;
}

.hero-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(217, 35, 29, 0.85);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
}

.hero-arrows .prev {
  left: 20px;
}

.hero-arrows .next {
  right: 20px;
}

/* About home */
.about-images {
  position: relative;
}

.about-images img:first-child {
  border-radius: 4px;
  width: 85%;
}

.about-images img:last-child {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 55%;
  border: 6px solid var(--white);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.experience-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  z-index: 2;
}

.experience-badge span {
  display: block;
  font-size: 28px;
}

/* Service cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 35px 25px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(217, 35, 29, 0.1);
}

.service-card .icon {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 18px;
}

.service-card h4 {
  font-size: 17px;
  margin: 0 0 12px;
}

.service-card .read-more {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
}

/* Red banner */
.banner-red {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
}

.banner-red h2 {
  color: var(--white);
  font-size: 30px;
  margin: 0 0 15px;
}

.banner-red p {
  opacity: 0.95;
  margin: 0;
}

/* Why choose */
.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-item .icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(217, 35, 29, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 4px;
}

.feature-item h5 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Video CTA */
.video-section {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 380px;
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 43, 0.75);
}

.video-section .container {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  margin-right: 24px;
  flex-shrink: 0;
}

.video-text h2 {
  color: var(--white);
  margin: 0 0 10px;
}

.video-text p {
  color: #ddd;
  margin: 0;
}

/* Team */
.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 18px;
}

.team-card h5 {
  margin: 0 0 4px;
}

.team-card span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

/* Testimonials */
.testimonial-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 35px;
  border-left: 4px solid var(--primary);
}

.testimonial-section .testimonial-card p {
  font-style: italic;
  color: #f5f5f5;
  font-size: 15px;
  line-height: 1.75;
}

.testimonial-section .testimonial-author strong {
  color: var(--white);
  font-weight: 600;
}

.testimonial-section .testimonial-author small {
  color: #c8d0dc;
}

/* Testimonial page / light background cards */
.bg-light-section .testimonial-card,
.testimonial-page .testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.bg-light-section .testimonial-card p,
.testimonial-page .testimonial-card p {
  font-style: italic;
  color: var(--text);
}

.bg-light-section .testimonial-card strong,
.testimonial-page .testimonial-card strong {
  color: var(--text-dark);
  font-weight: 600;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Estimate bar */
.estimate-bar {
  background: var(--primary);
  padding: 40px 0;
}

.estimate-bar label {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.estimate-bar select,
.estimate-bar input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  font-size: 14px;
}

/* Guarantees */
.guarantee-box {
  text-align: center;
  padding: 20px;
}

.guarantee-box .icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 12px;
}

.guarantee-box h5 {
  margin: 0 0 8px;
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .body {
  padding: 22px;
}

.blog-card .date {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.blog-card h4 {
  font-size: 17px;
  margin: 10px 0 16px;
}

.blog-card .round-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Pre-footer CTA */
.pre-footer-cta {
  background: var(--primary);
  color: var(--white);
  padding: 28px 0;
}

.pre-footer-cta h3 {
  color: var(--white);
  margin: 0;
  font-size: 22px;
  text-transform: uppercase;
}

/* Info strip */
.info-strip {
  background: var(--navy);
  color: #ccc;
  padding: 28px 0;
}

.info-strip .item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-strip .icon {
  color: var(--primary);
  font-size: 28px;
}

.info-strip h5 {
  color: var(--white);
  margin: 0 0 4px;
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #aaa;
  padding: 70px 0 0;
}

.site-footer h4 {
  color: var(--white);
  font-size: 17px;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-about .footer-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  margin-bottom: 10px;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 16px;
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: #ccc;
  margin: 0 8px;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Page banner */
.page-banner {
  background: var(--navy);
  padding: 50px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  margin: 0;
  font-size: 36px;
}

.breadcrumb-bc {
  color: #aaa;
  font-size: 14px;
  margin-top: 10px;
}

.breadcrumb-bc a {
  color: #ccc;
}

/* Forms */
.form-bc .form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.form-bc .form-control,
.form-bc .form-select,
.form-bc textarea {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 14px;
}

.form-bc .form-control:focus,
.form-bc .form-select:focus,
.form-bc textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(217, 35, 29, 0.15);
}

.form-bc .invalid-feedback {
  display: none;
  color: var(--primary);
  font-size: 13px;
  margin-top: 4px;
}

.form-bc .was-validated .form-control:invalid ~ .invalid-feedback,
.form-bc .was-validated .form-select:invalid ~ .invalid-feedback,
.form-bc .was-validated textarea:invalid ~ .invalid-feedback,
.form-bc .was-validated .checkbox-group:invalid ~ .invalid-feedback {
  display: block;
}

.form-bc .was-validated .form-control:invalid,
.form-bc .was-validated .form-select:invalid,
.form-bc .was-validated textarea:invalid {
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 14px;
  background: var(--light);
  border: 1px solid var(--border);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.form-bc.was-validated .checkbox-group input[type="checkbox"]:invalid,
.form-bc .was-validated .checkbox-group input[type="checkbox"]:invalid {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-bc .was-validated .checkbox-group:has(input:invalid) {
  border-color: var(--primary);
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 20px 24px;
  margin-bottom: 24px;
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* Pricing */
.pricing-card {
  border: 1px solid var(--border);
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(217, 35, 29, 0.12);
  transform: scale(1.02);
}

.pricing-card .price {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-head);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
}

.pricing-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Projects grid */
.project-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 40, 64, 0.92) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

.project-overlay h5 {
  color: var(--white);
  margin: 0;
}

/* Legal long content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 28px;
}

/* Counter stats */
.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-box h3 {
  font-size: 42px;
  color: var(--primary);
  margin: 0;
}

.stat-box p {
  margin: 4px 0 0;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.bg-light-section {
  background: var(--light);
}

@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu-wrap {
    display: none;
    width: 100%;
    order: 3;
  }

  .nav-menu-wrap.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    background: var(--white);
    padding: 10px 0;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }

  .about-images img:last-child {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .experience-badge {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
  }
}