/* ========================================
   DESIGN SYSTEM — Premium Landscaping
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Serif+Display&display=swap');

:root {
  /* Color Palette */
  --bg-primary:    #0a0f0d;
  --bg-secondary:  #111916;
  --bg-card:       #161f1a;
  --bg-elevated:   #1a251e;

  --accent:        #4ade80;
  --accent-dim:    #22c55e;
  --accent-glow:   rgba(74, 222, 128, 0.15);
  --gold:          #d4a853;

  --text-primary:  #f0fdf4;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;

  --border:        rgba(74, 222, 128, 0.1);
  --border-hover:  rgba(74, 222, 128, 0.25);

  /* Typography */
  --font-body:    'Outfit', sans-serif;
  --font-display: 'DM Serif Display', serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent);
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand .logo-img {
  height: 32px;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: opacity 0.3s;
}

.header-phone:hover {
  opacity: 0.8;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(10,15,13,0.92) 0%, rgba(10,15,13,0.6) 50%, rgba(10,15,13,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  padding-top: 100px;
}

.hero-text .hero-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-text .hero-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* Glassmorphism Contact Form */
.hero-form-card {
  background: rgba(22, 31, 26, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.hero-form-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-form-card .form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(74, 222, 128, 0.04);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.25);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 0 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  padding: var(--section-pad) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  margin-bottom: 24px;
  font-size: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   OUR WORK / PORTFOLIO
   ======================================== */
.portfolio {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(10,15,13,0.9));
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.portfolio-item:hover .portfolio-caption {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-caption h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.portfolio-caption p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   TESTIMONIAL
   ======================================== */
.testimonial {
  padding: var(--section-pad) 0;
  text-align: center;
}

.testimonial-inner {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  color: var(--text-primary);
  margin: 32px 0;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 80px;
  color: var(--accent);
  position: absolute;
  top: -30px;
  left: -10px;
  opacity: 0.3;
  font-family: var(--font-display);
}

.testimonial-author {
  font-size: 15px;
  color: var(--text-muted);
}

.testimonial-author strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-inner .section-heading {
  margin-bottom: 16px;
}

.cta-inner .section-sub {
  margin: 0 auto 40px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 20px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   OUR STORY PAGE — PARALLAX HERO
   ======================================== */
.story-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.story-hero-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 1;
}

.story-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10,15,13,0.4) 0%,
    rgba(10,15,13,0.7) 60%,
    var(--bg-primary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-hero-overlay h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  color: var(--text-primary);
  text-align: center;
}

.story-hero-overlay h1 em {
  font-style: normal;
  color: var(--accent);
}

/* Story Content */
.story-section {
  padding: var(--section-pad) 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-layout.reverse {
  direction: rtl;
}

.story-layout.reverse > * {
  direction: ltr;
}

.story-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.story-image:hover img {
  transform: scale(1.04);
}

.story-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}

.story-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Values grid */
.values-section {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .hero-form-card {
    max-width: 500px;
  }

  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .story-layout,
  .story-layout.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    padding-top: 120px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border-right: none;
    padding: 0;
  }

  .services-grid,
  .portfolio-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg img {
    animation: none;
  }
}
