/* ================================
   Content & Container
================================ */
.content {
  min-height: 200vh; /* Placeholder for scroll testing */
}

.container {
  max-width: var(--wrap);
  margin: 3rem auto;
  padding: 0 1rem;
}

/* ================================
   Features Section
================================ */
.features {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature {
  background-color: var(--white);
  border-left: 4px solid var(--copper);
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ================================
   Call to Action
================================ */
.cta {
  background-color: var(--copper);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  border-radius: 4px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.5rem;
}

.cta a {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta a:hover {
  background-color: #333;
}

/* ================================
   Footer
================================ */
footer {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
}
/* ================================
   Root Variables
================================ */
:root {
  --black: #1c1c1c;
  --copper: #c46a2b;
  --white: #faf9f7;
  --grey: #8a8a8a;
  --wrap: 960px;
}

/* ================================
   Base Reset
================================ */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Base link styling */
main a {
  color: var(--copper);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Hover state */
main a:hover {
  color: var(--black);
  text-decoration: underline;
}

/* ================================
   Header & Navigation
================================ */
header.site-header {
  background-color: var(--black);
  color: var(--white);
  position: relative;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  flex: 0 0 auto;
  max-width: none;
}

nav {
  flex: 1;
  min-width: 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul.main-menu {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2rem);
}

nav li {
  position: relative;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--copper);
}

/* ================================
   Submenu (Desktop)
================================ */
nav ul.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85); /* Slightly lighter than solid black */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Adds depth */
  border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle edge definition */
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  min-width: 180px;
  white-space: nowrap;
  z-index: 1100;
}

nav li:hover .submenu {
  display: flex;
}

nav ul.submenu li a {
  padding: 0.5rem 1rem;
  color: var(--white);
  font-weight: normal;
  text-transform: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul.submenu li a:hover {
  background-color: var(--copper);
  color: var(--black);
}

/* ================================
   Hamburger (Mobile)
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2001;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
}

/* ================================
   Mobile Navigation
================================ */
@media (max-width: 768px) {
  .header-inner {
    padding: 1rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--black);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
  }

  nav.menu-open {
    display: flex;
  }

  body.no-scroll {
    overflow: hidden;
  }

  nav ul.main-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  nav ul.main-menu li {
    width: 100%;
    text-align: center;
  }

  nav a {
    padding: 0.75rem 1rem;
    justify-content: center;
    font-size: 1.1rem;
  }

  /* ✅ Rectangular Submenu Styling */
  nav ul.submenu {
    position: static;
    display: none;
    background-color: var(--white);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: center;
    width: fit-content;
    min-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  nav li.submenu-open .submenu {
    display: flex;
  }

  nav ul.submenu li {
    width: 100%;
  }

  nav ul.submenu li a {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    color: var(--black);
    background-color: var(--white);
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease,
      border-color 0.3s ease;
  }

  nav ul.submenu li a:hover {
    background-color: var(--copper);
    color: var(--white);
    border-color: var(--copper);
  }
}

/* ================================
   Hero Section
================================ */
.page-header {
  background: radial-gradient(circle at 30% 40%, #fff 0%, #f7e9df 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  min-width: 0;
}

.hero-illustration {
  position: relative;
}

.hero-illustration img {
  max-width: 100%;
  height: auto;
}

.hero-heading {
  font-size: clamp(2.5rem, 4vw + 1rem, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--black);
  position: relative;
  margin-top: 0;
}

.hero-heading .accent {
  color: var(--copper);
  position: relative;
  display: inline-block;
  will-change: transform, opacity;
}

.hero-heading .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25em;
  width: 0%;
  height: 4px;
  background-color: var(--copper);
  transition: width 1.2s ease-out;
}

.hero-heading .accent.reveal::after {
  width: 100%;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-illustration {
    max-width: 180px;
    margin: 1rem auto 0;
  }
}

/* ================================
   Layout & Sections
================================ */
.container {
  max-width: var(--wrap);
  margin: 3rem auto;
  padding: 0 1rem;
}

.features {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature {
  background-color: var(--white);
  border-left: 4px solid var(--copper);
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cta {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 3rem 0;
}

.cta h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #222;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta a {
  display: inline-block;
  background-color: #c2a97e; /* Your brand accent */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.cta a:hover {
  background-color: #a88c63;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 2.5rem;
  background-color: #f5f5f5;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.85); /* Soft overlay */
  z-index: 0; /* Pushes it behind the content */
  pointer-events: none;
  border-radius: 12px;
}

/* Ensure all child elements sit above the overlay */
.cta > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 1rem;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 0;
  color: var(--white);
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.social-links,
.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li,
.contact-links li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  word-break: break-word;
}

.footer-col a:hover {
  color: var(--copper);
}

.icon {
  width: 20px;
  height: 20px;
  fill: var(--white);
  transition: fill 0.3s ease;
}

.footer-col a:hover .icon {
  fill: var(--copper);
}

/* Responsive stack */
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col a {
    justify-content: center;
  }
}

/* ========================
Cards on Home Page

===========================*/
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
}

.feature {
  position: relative;
  z-index: 0;
  background: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px; /* Slimmer bar */
  width: 100%;
  /* background-color: #c2a97e;  Example: warm neutral or brand accent */
  background: linear-gradient(to right, #c2a97e, #e0d4b8);
  z-index: 1;
}

.feature strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

/* PAGE HEADINGS */

.page-heading {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--copper);
  margin-top: 0;
  margin-bottom: 2rem;
  position: relative;
}

.page-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25em;
  width: 60px;
  height: 4px;
  background-color: var(--copper);
}

.section-heading {
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
  color: var(--black);
  margin-top: 3rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--copper);
  margin-top: 0.5rem;
}

/* Form styling*/

.quote-form {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.quote-form input,
.quote-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--copper);
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  color: var(--black);
  transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--black);
}

.button {
  background-color: var(--copper);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--black);
}

/* Contact Info Sytling */

.contact-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 300px;
}

.icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.icon {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.contact-text {
  font-size: 1.125rem;
  color: var(--black);
}

.contact-text a {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
}

.contact-text a:hover {
  color: var(--copper);
}

/* Booking form container */
.booking-frame {
  max-width: 800px;
  margin: 4rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--copper);
}

.booking-frame iframe {
  width: 100%;
  height: 800px;
  border: none;
}

@media (max-width: 600px) {
  .booking-frame iframe {
    height: 600px;
  }
}

/* Fade Styles */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.4s ease-out forwards;
  animation-delay: 0.1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Compact Call to Action */

.support-cta {
  margin-top: 4rem;
  text-align: left;
}

.support-cta .section-heading {
  margin-bottom: 1rem;
}

.support-cta p {
  margin-bottom: 1.5rem;
  color: var(--black);
}

.small-button {
  background-color: var(--copper);
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.small-button:hover {
  background-color: var(--black);
  color: var(--copper); /* ← ensures visibility on dark background */
  text-decoration: none;
  box-shadow: 0 0 0 2px var(--copper);
}

/*service area*/

.service-areas .section-heading {
  margin-top: 0; /* remove default top margin */
}

.service-areas {
  background-color: rgba(184, 115, 51, 0.05); /* light copper tint */
  border: 2px solid var(--copper);
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 8px;
}

.map-container iframe {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Urgent Help Box */

.urgent-help-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: rgba(184, 115, 51, 0.08);
  border: 2px solid var(--copper);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  flex-wrap: nowrap; /* force single row on desktop */
}

.urgent-icon {
  flex: 0 0 auto;
}

.urgent-icon svg {
  width: 3rem;
  height: 3rem;
}

.urgent-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 600px; /* keeps text from pushing button off-screen */
}

.urgent-text h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.urgent-text p {
  margin: 0;
  font-size: 1rem;
  color: var(--black);
}

.urgent-cta {
  flex: 0 0 auto;
}

.urgent-cta .small-button {
  white-space: nowrap;
}

/* Mobile stacking */
@media (max-width: 600px) {
  .urgent-help-box {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .urgent-icon svg {
    width: 2rem;
    height: 2rem;
  }
  .urgent-cta {
    margin-top: 0.75rem;
  }
}

/* Modified Support Page Styling */
.hero-support {
  background: #fdfaf7;
  padding: 2rem;
  text-align: center;
}
.cta-btn {
  background: #b87333;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}
.cta-btn.small { padding: 0.5rem 1rem; font-size: 0.9rem; }
.urgent-help {
  border: 2px solid #b87333;
  padding: 1rem;
  margin: 2rem 0;
  text-align: center;
}
.service-areas {
  background: #fafafa;
  padding: 1.5rem;
}

.areas-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* space between columns */
}

.areas-columns ul {
  flex: 1 1 200px; /* grow/shrink, min width 200px */
  list-style: none;
  padding: 0;
  margin: 0;
}

.areas-columns li {
  margin-bottom: 0.5rem;
}

/* Highlight for important info */
.highlight-box {
  background-color: rgba(184, 115, 51, 0.06); /* subtle copper tint */
  border-left: 4px solid var(--copper);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 6px;
}


/* ─────────────────────────────────────────────
   Inline SVGs for Content Areas
─────────────────────────────────────────────── */

.icon-inline {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: text-bottom;
  stroke: currentColor;
  fill: none;
  margin-right: 0.5rem;
}

.icon-32 {
  width: 32px;
  height: 32px;
}

.icon-accent {
  color: var(--copper);
}

.icon-muted {
  color: var(--grey);
}

/* ─────────────────────────────────────────────
   Icon Bullets for Feature Lists
─────────────────────────────────────────────── */

.icon-bullet {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  stroke: currentColor;
  fill: none;
  margin-right: 0.5rem;
}

/* ─────────────────────────────────────────────
   Lists with Icons
─────────────────────────────────────────────── */

.with-icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 1.5rem;
}

/* ─────────────────────────────────────────────
   Icon Entrance Animation
─────────────────────────────────────────────── */

.icon-fade-up {
  opacity: 0;
  transform: translateY(6px);
  animation: iconUp 220ms ease-out forwards;
}

@keyframes iconUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────────
   Urgent Help Box
─────────────────────────────────────────────── */

.urgent-help-box {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────────
   Testimonials Block
─────────────────────────────────────────────── */

.testimonials {
  display: block;
  position: static;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-left: 4px solid var(--copper);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  max-width: 100%;
  overflow: hidden;
}

.testimonials blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--copper);
  font-style: italic;
}

.testimonials cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--copper);
}


/* Reset any flex inheritance inside testimonials */
.testimonials ul,
.testimonials li {
  display: block !important;
  gap: 0 !important;
  align-items: initial !important;
}

/* ─────────────────────────────────────────────
   Service Area and Map Layout
─────────────────────────────────────────────── */

.service-areas,
.map-container,
.support-cta {
  clear: both;
  position: relative;
  margin-top: 2rem;
}


.map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}


.testimonials {
  background: rgba(255, 230, 200, 0.3);
}

/* Call to Action wrapper */
.cta-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fdfaf7;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  margin-top: 3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cta-wrapper .support-cta {
  margin: 0;
}
