/* === Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f0f0f;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 0;
}

/* === Header Bar Background Behavior === */
.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 10000; /* highest to ensure header sits above everything */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease;
}

/* Transparent background after scrolling */
.header-bar.scrolled {
  background-color: transparent;
}

/* Darker background before scrolling */
.header-bar.start {
  background-color: rgba(0, 0, 0, 0.85);
}

/* === Hero Section / Header === */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  gap: 1rem;
}

.header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

/* Logo styles */
.site-logo {
  height: 100px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Nav Links Container */
.header-links {
  display: flex;
  flex: 1;
  height: 100px;
  justify-content: center;
  gap: 2rem;
  margin-left: 2rem;
}

/* Navigation Links */
.header-links a {
  color: #74e4a3;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 1.5;
  padding: 0 0.75rem;
  font-family: inherit;
}

.header-links a:hover {
  color: #a8f2cb;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta-buttons .btn-primary {
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

/* Quote Button in Header */
.header-links .btn-primary {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background-color: #74e4a3;
  color: #0f0f0f;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  height: 40px;
  line-height: 1.5;
  font-family: inherit;
  transition: background 0.3s ease;
  align-self: center;
}

.header-links .btn-primary:hover,
.header-links .btn-primary:focus {
  background-color: #a8f2cb;
  outline: none;
}

/* === Hamburger Menu Defaults === */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

/* === Hero Text Overlay === */
.header-content {
  position: relative;
  padding: 2rem;
  max-width: 90%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out forwards;
}

.header-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards ease-out;
  text-align: center;
}

.header-content p {
  font-size: 1.3rem;
  font-weight: 400;
  color: #f0f0f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  height: 50px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.5s forwards ease-out;
  text-align: center;
}

/* === Generic Section Styling === */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #74e4a3;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* === Card Blocks === */
.card {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  background: #222;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background: #111;
  color: #aaa;
}

.service-icon {
  font-size: 2.5rem;
  color: #74e4a3;
  margin-bottom: 0.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center icon and heading */
  text-align: center;
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Already in your CSS but ensuring */
.card:hover {
  transform: translateY(-10px);
  background: #222;
}

.card h3 {
  margin-top: 0.5rem;
}
/* === Fade In Animation Keyframe === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Images in Sections === */
section img {
  width: 500px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

section p {
  margin-top: 20px;
}

/* === Contact Links Styling === */
.contact-link {
  color: #74e4a3;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer; /* adds pointer cursor for clarity */
}

.contact-link:hover,
.contact-link:focus {
  color: #a8f2cb;
  outline: none;
  text-decoration: underline;
}


/* === Mobile Responsive Styles === */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  header {
    height: auto;
    min-height: 100dvh;
    padding-top: 64px;
  }

  .header-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.5);
  }

  .site-logo {
    max-height: 40px;
    width: auto;
    margin: 0;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    margin: 0;
  }

  .header-links {
    display: none;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 1rem;
  }

  section img {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .header-video,
  .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    display: block;
  }

  .header-content {
    padding: 1rem;
    margin-top: -260px;
    text-align: center;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    header {
      height: auto;
      min-height: 100vh;
    }

    .header-video,
    .background-video {
      min-height: 100vh;
    }
  }
}

/* ✅ Add new mobile stacking + responsive font rules below: */
@media (max-width: 480px) {
  .review-page li {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-page .left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }

  .review-page .service-name {
    font-size: clamp(0.85rem, 3vw, 1rem);
    line-height: 1.4;
  }

  .review-page .service-price {
    font-size: 1rem;
    width: fit-content;
    min-width: 70px;
    text-align: left;
    margin-top: 0.25rem;
  }

  .review-page button.remove-btn {
    margin-left: 0;
    margin-top: 0.5rem;
    width: fit-content;
  }
}


/* === Quote Form Styles === */
#quoteFormContainer {
  scroll-margin-top: 150px;
}

.quote-form {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  scroll-margin-top: 100px;
  margin: 0 auto;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 150, 0.3);
  font-size: 1rem;
}

.quote-form h3 {
  color: #74e4a3;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.quote-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="number"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #eee;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.quote-form input[type="text"]:focus,
.quote-form input[type="email"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form input[type="number"]:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  background: #444;
  outline: none;
}

.btn-primary {
  padding: 0.5rem 1rem;
  background-color: #74e4a3;
  color: #0f0f0f;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-block; /* <- CHANGED from inline-flex */
  font-family: inherit;
  transition: background 0.3s ease;
  text-align: center;
  white-space: nowrap; /* prevents wrapping to second line */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #a8f2cb;
  outline: none;
  text-decoration: none;
}

button,
.btn-primary,
.mobile-nav button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* already good */
}


/* Pricing Page Specific Styles */

body.pricing-page {
  padding: 130px 1.5rem 3rem; /* top padding to offset fixed header, horizontal padding, bottom padding */
  max-width: 1200px;
  margin: auto;
  background-color: #0f0f0f; /* matches your global background */
  color: #fff;
}

h1, h2 {
  text-align: center;
  margin-bottom: 1rem;
}

h1 {
  text-decoration: underline;
  color: #80fa98;
  font-size: 2.75rem;
  margin-top: 0; /* avoid default margin pushing text under header */
  scroll-margin-top: 130px; /* if you want smooth scrolling offset */
}

h2 {
  text-decoration: underline;
  color: #d6e0d8;
  font-size: 2rem;
  margin-top: 3rem;
}

p, li {
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 150, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  color: #a8f2cb;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.5rem;
  color: #74e4a3;
  margin-bottom: 1rem;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  background: #74e4a3;
  color: #0f0f0f;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: inline-block;
  text-decoration: none; /* Removes underline */
  font-family: inherit;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #a8f2cb;
  outline: none;
  text-decoration: none; /* Ensures no underline appears on hover */
}

.btn-primary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.small-quote-btn {
  background-color: #74e4a3;
  color: #0f0f0f;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  white-space: nowrap; /* prevents line break */
  margin: 1rem auto 0;
  text-align: center;
}

.small-quote-btn:hover {
  background-color: #a8f2cb;
}

button.btn-primary.added {
  background-color: #4caf50;
  color: white;
}

.note {
  text-align: center;
  margin-top: 2rem;
  color: #ccc;
  font-size: 1rem;
}

.review-btn-container {
  text-align: center;
  margin-top: 3rem;
}

a.btn-review {
  background-color: #74e4a3;
  color: #0f0f0f;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

a.btn-review:hover {
  background-color: #a8f2cb;
}

.pricing-page .btn-review {
  background-color: #74e4a3;
  color: #0f0f0f;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  cursor: pointer;
}

.pricing-page .btn-review:hover {
  background-color: #a8f2cb;
}

/* === Review Page Specific Styles === */
body.review-page {
  padding-top: 130px;
  max-width: 900px;
  margin: auto;
  background-color: #0f0f0f;
  color: #fff;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.review-page h1 {
  color: #d4e1da;
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.review-page .tagline {
  text-align: center;
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.review-page ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.review-page li {
  background: #1c1c1c;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 255, 150, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.review-page .left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.review-page .checkmark {
  color: #69dc99;
  font-size: 1.3rem;
}

.review-page .service-name {
  font-weight: 600;
  color: #c3d8cd;
  word-break: break-word;
}

.review-page .service-price {
  color: #74e4a3;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: right;
  width: 100px;
  flex-shrink: 0;
}

.review-page button.remove-btn {
  background: #e74c3c;
  border: none;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  margin-left: 1rem;
  transition: background 0.3s ease;
}

.review-page button.remove-btn:hover {
  background: #c0392b;
}

.review-page .total {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: right;
  color: #74e4a3;
  margin-bottom: 2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

.review-page .checkout-btn {
  display: block;
  width: 100%;
  background-color: #0cce5d;
  color: #0f0f0f;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  transition: background 0.3s ease;
}

.review-page .checkout-btn:hover {
  background-color: #a8f2cb;
}

.review-page .secure-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #999;
  text-align: center;
}

.review-page .trust-message {
  text-align: center;
  font-size: 1.2rem;
  color: #c4f2e2;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.review-page .empty-msg {
  text-align: center;
  font-size: 1.25rem;
  color: #ccc;
  margin-top: 4rem;
}

/* === Improved word wrapping for full service names without cutting words === */
.review-page li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 255, 150, 0.2);
  background: #1c1c1c;
  font-size: 1.1rem;
  word-break: normal;       /* Prevent mid-word breaks */
  white-space: normal;      /* Allow wrapping */
}

.review-page .left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.review-page .service-name {
  font-weight: 300;
  color: #c3d8cd;
  white-space: normal;      /* Allow line breaks */
  word-wrap: break-word;    /* Break lines only at word boundaries */
  overflow-wrap: anywhere;  /* Helps to break long words if necessary */
  hyphens: auto;            /* Adds hyphenation where appropriate */
  line-height: 1.3;
}

.review-page .service-price {
  color: #74e4a3;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: right;
  width: 100px;
  flex-shrink: 0;
  white-space: nowrap;
}

.review-page button.remove-btn {
  margin-left: 1rem;
  flex-shrink: 0;
}

.custom-confirm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-confirm.hidden {
  display: none;
}

.confirm-box {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 150, 0.3);
  text-align: center;
  max-width: 90%;
  width: 300px;
}

.confirm-box p {
  margin-bottom: 1.5rem;
  color: #fff;
}

.confirm-buttons button {
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

#confirmYes {
  background-color: #4caf50;
  color: white;
}

#confirmNo {
  background-color: #e74c3c;
  color: white;
}

.custom-confirm {
  pointer-events: auto;
}

.custom-confirm.hidden {
  display: none;
  pointer-events: none;
}

#removalPopup .confirm-box button.confirm-ok {
  background-color: #4caf50; /* same green as #confirmYes */
  color: white;
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#removalPopup .confirm-box button.confirm-ok:hover {
  background-color: #45a049; /* slightly darker on hover */
}
#nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
  pointer-events: auto ;
}

#nav-backdrop.active {
  display: block;
}

/* === Learn More Links inside Cards === */
.card a {
  color: #74e4a3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card a:hover {
  color: #a8f2cb;
  text-decoration: underline;
}



.feature-list {
  text-align: left;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.15;
}

.feature-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  color: #74e4a3;
}
