/* =========================
   VARIABLES & RESET
========================= */
:root {
  --primary-green: #1a3a1f;
  --accent-gold: #d4a73c;
  --off-white: #f4efe5;
  --text-dark: #14261d;
  --text-light: rgba(244, 239, 229, 0.9);
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--primary-green);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  margin: 0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.section-padding { padding: 100px 0; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* =========================
   NAVIGATION
========================= */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: var(--primary-green);
  border-bottom: 1px solid rgba(212, 167, 60, 0.15);
  transition: var(--transition);
}

.nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--off-white);
}

.logo span { color: var(--accent-gold); font-style: italic; }

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--accent-gold); }

.btn-call {
  background: var(--accent-gold);
  color: #111 !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgb(163, 116, 42);
  box-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--off-white);
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;

  display: flex;

  align-items: center;

  text-align: center;

  position: relative;

  background:
    linear-gradient(
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.25)
    ),
    url("images/HERObg.png");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  padding-top: 80px;
}

.badge {
  display: inline-block;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 { font-size: clamp(50px, 8vw, 100px); line-height: 1; }
.hero h1 span { color: var(--accent-gold); font-style: italic; }

.subtitle {
  font-size: 1.2rem;
  margin: 20px auto;
  max-width: 600px;
  opacity: 0.8;
}

.hero-buttons { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }

/* =========================
   COMPONENTS (Cards & Buttons)
========================= */
.btn-primary {
  background: var(--accent-gold);
  color: #111;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.btn-outline {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.btn-outline:hover { background: var(--accent-gold); color: #111; }

.block { display: block; width: 100%; }

/* Grid logic */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Common Card Style */
.feature-card, .plan-card, .service-card, .contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  transition: var(--transition);
}

.feature-card { background: var(--white); color: var(--text-dark); border-left: 4px solid #4e9b68; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; margin: 0; }

.plan-card { background: var(--primary-green); color: var(--off-white); text-align: center; }
.plan-card h3 { color: var(--accent-gold); margin: 15px 0; }

.service-card:hover { transform: translateY(-5px); border-color: var(--accent-gold); }
.service-card h4 { margin-bottom: 10px; color: var(--accent-gold); }

/* Section Typo */
.section-tag { color: var(--accent-gold); letter-spacing: 2px; font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.section-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
.section-description { font-size: 18px; max-width: 600px; margin-bottom: 30px; }

.dark-text { color: var(--text-dark); }
.light-text { color: var(--off-white); }

/* =========================
   SECTIONS SPECIFIC
========================= */
.why { background: var(--off-white); color: var(--text-dark); }

.plans { background: var(--accent-gold); }
.section-subtitle { font-style: italic; color: var(--primary-green); }

.services { background: #102a16; }

.area { background: #e7e2d8; color: var(--text-dark); }
.locations-tags span {
  display: inline-block;
  background: var(--primary-green);
  color: white;
  padding: 8px 15px;
  margin: 5px;
  border-radius: 4px;
  font-size: 14px;
}

.contact-card { background: rgba(32, 77, 52, 0.9); border: 1px solid var(--accent-gold); }
.contact-details a { color: var(--accent-gold); text-decoration: none; }

.rounded-img { width: 100%; border-radius: 15px; display: block; }
.shadow { box-shadow: 0 20px 40px rgba(0,0,0,0.2); }

/* =========================
   MOUNTAIN CLIP (Original preserved)
========================= */
.mountains {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 200px; z-index: 1; pointer-events: none;
}
.mountains::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(0% 100%, 4% 70%, 14% 52%, 27% 65%, 42% 42%, 58% 58%, 74% 38%, 90% 55%, 100% 100%);
  background-color: rgba(95, 160, 95, 0.2);
}

footer { background: #0a1f15; padding: 40px 0; text-align: center; font-size: 14px; color: rgba(255,255,255,0.4); }

/* =========================
   RESPONSIVE
========================= */

.desktop-only {
  display: inline-block;
}

.mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-block !important; }
  .menu-toggle { display: flex; }
  
  .nav-links {
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--primary-green);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    display: none; /* Toggle with JS */
  }
  
  .nav-links.active { display: flex; }
  
  .split, .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  
  .hero { height: auto; padding: 150px 0 100px; }
  .hero-buttons { flex-direction: column; }
}

/* =========================
   MOBLIE & DESKTOP BEHAVIOR
========================= */

.call-wrapper {
  position: relative;
}

.call-popup {
  position: absolute;

  top: 120%;

  right: 0;

  background: rgba(26, 58, 31, 1);

  color: rgba(244, 239, 229, 1);

  border: 2px solid rgba(212, 175, 55, 1);

  padding: 14px 18px;

  border-radius: 10px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.18);

  opacity: 0;

  pointer-events: none;

  transform: translateY(-10px);

  transition: 0.25s ease;

  white-space: nowrap;

  z-index: 1000;
}

.call-popup.active {
  opacity: 1;

  pointer-events: auto;

  transform: translateY(0);
}

/* =========================
   IMAGE & ICON CONSTRAINTS
========================= */

/* This prevents icons from blowing up to full width */
.icon-small {
    width: 40px;
    height: 40px;
    object-fit: contain; /* Keeps ratio, doesn't stretch */
    margin-bottom: 15px;
}

.icon-medium {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.icon-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* This controls the large "Service Area" and "Landscape" photos */
.rounded-img {
    width: 100%;
    max-height: 450px;    /* Prevents the image from being infinitely tall */
    object-fit: cover;    /* Crops the image to fit the box without stretching */
    border-radius: 12px;
    display: block;
}

/* Specifically for the "Why Choose Us" side image */
.why-right .rounded-img {
    max-height: 600px; /* Allows this one to be a bit taller to match text height */
}

/* Placeholder box styling in case images haven't loaded */
.image-placeholder {
    background: #0a1f15;
    border-radius: 12px;
    overflow: hidden;
}

/* =========================
   RESPONSIVE IMAGE ADJUSTMENTS
========================= */
@media (max-width: 900px) {
    .rounded-img {
        max-height: 300px; /* Makes images shorter on mobile so you don't have to scroll forever */
    }
}