/* ================================================
   COMPONENTS
   Reusable UI pieces used across multiple pages.
   (Per-page tweaks live in pages.css.)
   ================================================ */

/* ────────────────────────────────────────────────
   NAV
   ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 5vw;
  background: rgba(13, 32, 16, 0.97);
  backdrop-filter: blur(1px);
  border-bottom: 1px solid rgba(85, 166, 48, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}
.nav-logo-text .logo-accent { color: var(--sky); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sky-light); }
.nav-links a.active { color: var(--sky); }
.mobile-menu a.active { color: var(--sky); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d2010;
  background: linear-gradient(135deg, var(--sky), var(--sky-light));
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }

/* ────────────────────────────────────────────────
   HAMBURGER
   ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.hamburger:hover { border-color: rgba(85, 166, 48, 0.5); }

.hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              width 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────────────────────────────────────────────
   MOBILE MENU
   ──────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0; right: 0;
  z-index: 199;
  background: rgba(11, 27, 13, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(85, 166, 48, 0.2);
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
}
.mobile-menu.ready { display: flex; }
.mobile-menu.open { max-height: 360px; opacity: 1; }

.mobile-menu-inner { padding: 0.5rem 5vw 1.5rem; }

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(85, 166, 48, 0.1);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.3s ease,
              opacity 0.3s ease,
              color 0.2s,
              padding-left 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-menu a:hover { color: var(--sky-light); padding-left: 4px; }
.mobile-menu a:hover::before { opacity: 1; }

.mobile-menu.open a { transform: translateX(0); opacity: 1; }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }

/* ────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 5vw 6rem;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  background-image: url('backIMG.png');
  background-size: cover;
  background-position: center center;
  opacity: 0.18;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(85, 166, 48, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  width: fit-content;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s ease forwards;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  display: block;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 1.0;
  color: #fff;
  max-width: 14ch;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}
.hero-title em {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}
.hero-title .accent {
  color: var(--sky);
  font-style: normal;
}

.hero-sub {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 48ch;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ────────────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────────────── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--blue), var(--navy-mid));
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(85, 166, 48, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(85, 166, 48, 0.5);
}

.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--sky-light);
  color: var(--sky-light);
}

.btn-gold {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

/* ────────────────────────────────────────────────
   SECTION DIVIDER
   ──────────────────────────────────────────────── */
.section-divider {
  position: relative;
  height: 110px;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--off-white) 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.section-divider svg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 100%;
}

/* Leaf accents (defined for future divider use) */
.divider-leaf {
  position: absolute;
  fill: none;
  stroke: var(--sky);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.18;
  stroke-width: 3;
}
.divider-leaf-l { width: 90px; height: 90px; left: 5%;  bottom: 10px; transform: rotate(25deg); }
.divider-leaf-m { width: 60px; height: 60px; left: 50%; bottom: 20px; transform: translateX(-50%) rotate(-12deg); opacity: 0.12; stroke-width: 2.5; }
.divider-leaf-r { width: 72px; height: 72px; right: 8%; bottom: 8px;  transform: rotate(-30deg); opacity: 0.15; stroke-width: 2.5; }

/* ────────────────────────────────────────────────
   SECTION HEADINGS (shared label + title)
   ──────────────────────────────────────────────── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--navy);
}

/* ────────────────────────────────────────────────
   CTA SECTION (shared base — per-page tweaks in pages.css)
   ──────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(85, 166, 48, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(233, 196, 106, 0.08) 0%, transparent 50%);
}
.cta-sub {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 44ch;
}

/* ────────────────────────────────────────────────
   CONTACT LINKS
   ──────────────────────────────────────────────── */
.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid rgba(85, 166, 48, 0.35);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  background: rgba(255, 255, 255, 0.04);
}
.contact-link:hover {
  border-color: var(--sky);
  background: rgba(85, 166, 48, 0.1);
  color: #fff;
}
.contact-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--sky);
}

/* ────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────── */
footer {
  background: #060e07;
  padding: 3rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(85, 166, 48, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.footer-logo img {
  height: 30px;
  width: 30px;
  object-fit: cover;
  opacity: 0.75;
}
.footer-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}
.footer-logo-text .logo-accent {
  color: var(--sky);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--sky-light); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ────────────────────────────────────────────────
   SHARED RESPONSIVE RULES
   (Page-specific breakpoints live in pages.css.)
   ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .contact-links { flex-direction: column; align-items: stretch; }
  .contact-link  { justify-content: center; }
}
