.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
body {
  background: #F0EFE7 !important;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

section {
  padding: 50px 0;
}

html, body {
  overflow-x: hidden;
}

/* 
Darkest Teal: #354545
Lighter Teal: #3b646b
Mint Yellow: #cbfcc5
Pale Yellow: #fffcd4 */

/* =========================
   HERO SECTION
   ========================= */

.hero {
  height: clamp(560px, 80vh, 650px);
  background-image: url("/assets/graphics/IMG_2505.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 65% 100%;

  display: flex;
  align-items: flex-start;
  padding-top: 50px;
}

.hero-inner {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-copy {
  max-width: 520px;
  padding: 25px;
  margin-right: 2px;
  text-align: right;
}

  .hero-copy h1 { color: #fffcd4; }
  .hero-copy p { color: #cbfcc5; }

/* Tablet */
@media (max-width: 900px) {
  .hero {
    background-position: 18% 100%;
    align-items: flex-start;
  }

  .hero-inner {
    justify-content: center;
  }

  .hero-copy {
    margin-top: 80px;
    margin-right: 0;
    max-width: 90%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    background-position: 10% 40%;
  }

  .hero-copy {
    margin-top: 1px;
    text-align: center;
  }
}

/* =========================
   HEADER / NAV
   ========================= */

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
}

.site-header {
  background: #354445;
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Desktop */
@media (min-width: 1024px) {
  .logo img {
    height: 64px;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .logo img {
    height: 44px;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 56px;     
  width: auto;
  max-width: 240px; 
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #fffcd4;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* =========================
   FEATURE ROW
   ========================= */

.features {
  margin-top: 20px;
}

.feature-text {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;                 
  align-items: start;
  align-items: center;
}

/* each card */
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* icon */
.feature-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* text */
.feature-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.feature-text p {
  margin: 0;
  line-height: 1.4;
}

/* learn more link */
.feature-link {
  display: inline-block;           /* makes padding work */
  margin-top: 12px;

  padding: 10px 18px;
  border-radius: 999px;            /* pill shape */

  background-color: #cbfcc5;       /* minty accent */
  color: #354545;                  /* dark teal text */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;

  box-shadow: 0 4px 7px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.feature-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  background-color: #b8f5b1;
}

/* Tablet */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================
   SUB PAGE HERO (Split Layout)
   ========================= */

.subhero {
  padding: 80px 0 32px;
  background: #3b646b; /* lighter teal */
}

.subhero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Image */
.subhero-media picture,
.subhero-media img {
  width: 100%;
  display: block;
}

.subhero-media {
  position: relative;
}

.subhero-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  background: rgba(0,0,0,0.15);
  filter: blur(40px);
  z-index: 1;
}

.subhero-media img {
  height: auto;
  border-radius: 16px;

  /* separation from teal background */
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2);

  position: relative;
  z-index: 2;
}

/* Text */
.subhero-content {
  max-width: 520px;
}

.subhero-content h1 {
  margin: 0 0 16px 0;
}

.subhero-content p {
  margin-bottom: 24px;
  line-height: 1.6;
}

.subhero .btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #cbfcc5;
  color: #cbfcc5;
  text-decoration: none;
  transition: all 0.2s ease;
}

.subhero .btn:hover {
  background: #cbfcc5;
  color: #354545;
}

/* HERO TEXT COLORS */
.subhero-content h1 {
  color: #cbfcc5; /* mint (same as service titles) */
}

.subhero-content p {
  color: #fffcd4; /* pale yellow */
}

.subhero-list li {
  color: #fffcd4;
}

.subhero-list strong {
  color: #cbfcc5; /* highlight service labels */
}

.subhero-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 32px;
}

.subhero-list li {
  margin-bottom: 12px;
}
/* =========================
   SERVICES OVERVIEW
========================= */

.services-overview {
  padding: 32px 0 100px;
}

.services-overview .section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.services-overview .section-intro h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.services-overview .section-intro p {
  opacity: 0.85;
}

/* --- ROW LAYOUT (desktop) --- */
.services-overview .service-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 110px 0;
  flex-wrap: nowrap;

  justify-content: flex-start; /* default: left column */
}

/* Reverse rows: right column */
.services-overview .service-row.reverse {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* Spread rows to match the subhero 2-col layout */
@media (min-width: 1024px) {
  .services-overview .service-row {
    /* left column start line:
       container padding (24) + half of remaining width after the 64px gap */
    padding-left: calc((1200px - 64px) / 2 - 40px);
    padding-right: 0;
  }

  .services-overview .service-row.reverse {
    padding-left: 0;
    padding-right: calc((1200px - 64px) / 2);
  }
}

/* On smaller screens, don't offset—keep centered stacking */
@media (max-width: 1023px) {
  .services-overview .service-row,
  .services-overview .service-row.reverse {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
  }
}

/* Align service rows to the same 2-column layout as the subhero */
.services-overview .service-row {
  justify-content: center;   /* keep rows centered overall */
  position: relative;
}

/* On desktop, offset rows so they "live" in the left or right hero column */
@media (min-width: 1024px) {
  .services-overview .service-row {
    justify-content: flex-start; /* we’ll control the start line via padding */
    padding-left: calc((600px - 64px) / 2); /* hero left-column width */
  }

  .services-overview .service-row.reverse {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: calc((600px - 64px) / 2); /* hero right-column width */
  }
}

/* --- ROW LAYOUT (desktop) --- */
.services-overview .service-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* <-- anchors left rows under hero image */
  gap: 0;
  margin: 0 0 110px 0;
  flex-wrap: nowrap;
}

.services-overview .service-row.reverse {
  flex-direction: row-reverse;
  justify-content: flex-end; /* <-- anchors reverse rows to the right column */
}
.services-overview .service-row.reverse {
  flex-direction: row-reverse;
}

/* --- BIRD CARD --- */
.services-overview .service-media {
  flex: 0 0 520px;
  max-width: 520px;
  background: #354545;
  padding: 24px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
}

.services-overview .service-media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: contain;
}

/* --- CONTENT CARD (smaller + tucked behind) --- */
.services-overview .service-content {
  flex: 0 0 600px;
  max-width: 600px;
  background: #354545;
  padding: 34px 36px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  margin-left: -30px;
}

.services-overview .service-row.reverse .service-content {
  margin-left: 0;
  margin-right: -30px;
}

.services-overview .service-content {
  overflow: visible;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* --- TEXT COLORS IN CONTENT CARD --- */
.services-overview .service-content h3 {
  color: #cbfcc5 !important;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-overview .service-content ul {
  color: #fffcd4 !important;
  margin-bottom: 30px;
  padding-left: 20px;
}

.services-overview .service-content li {
  color: #fffcd4 !important;
  margin-bottom: 10px;
}

.services-overview .service-content li::marker {
  color: #cbfcc5 !important;
}

/* --- BUTTON --- */
.services-overview .btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #cbfcc5;
  color: #cbfcc5;
  text-decoration: none;
  transition: all 0.2s ease;
}

.services-overview .btn-outline:hover {
  background: #cbfcc5;
  color: #354545;
  transform: translateY(-2px);
}

/* --- MOBILE / TABLET STACK --- */
@media (max-width: 900px) {
  .services-overview .service-row,
  .services-overview .service-row.reverse {
    flex-direction: column;
    align-items: center;
  }

  .services-overview .service-media,
  .services-overview .service-content {
    flex: 1 1 auto;
    max-width: 560px;
    width: 100%;
  }

  .services-overview .service-content {
    margin-left: 0;
    margin-right: 0;
    margin-top: -18px; /* still feels layered */
  }

  .services-overview .service-media img {
    max-height: none;
  }
}
/* MOBILE: services cards should be centered and consistent */
@media (max-width: 900px) {
  .services-overview .service-row,
  .services-overview .service-row.reverse {
    flex-direction: column;
    align-items: center;
  }

  .services-overview .service-media,
  .services-overview .service-content {
    width: 100%;
    max-width: 560px;
  }

  /* Always use the SAME overlap direction on mobile */
  .services-overview .service-content,
  .services-overview .service-row.reverse .service-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -18px;              /* layered tuck */
  }
}
@media (max-width: 768px) {
  .subhero {
    padding: 0 0 40px 0;
  }

  .subhero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }

  /* Full-bleed image banner */
  .subhero-media {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .subhero-media img {
    width: 100%;
    height: 60vh;          /* key: makes it feel like “fills screen” */
    min-height: 420px;     /* prevents it getting tiny */
    object-fit: cover;     /* key: fills the area */
    border-radius: 16;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25)
  }

  /* Text under the banner */
  .subhero-content {
    max-width: 520px;
    text-align: center;
    margin: 0 auto;
    padding: 0 24px;       /* gives breathing room since image is full-bleed */
  }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-info {
  padding: 80px 0;
  text-align: center;        /* center the block */
}

.contact-info p {
  margin: 8px 0;
}

.contact-info a {
  color: #3b646b;            /* lighter teal */
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #354545;        /* dark teal */
  padding: 40px 0;
  color: #fffcd4;             /* pale yellow text */
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: #cbfcc5;             /* mint */
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  opacity: 0.7;
  font-size: 0.8rem;
}
