/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: #064e3b;
  color: #fefdf8;
}

/* ===== NAVIGATION ===== */
#navbar {
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}

#navbar.scrolled {
  background: rgba(254, 253, 248, 0.95);
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #064e3b;
  transition: width 0.3s ease;
}

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

/* Mobile Menu */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

.menu-line {
  display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
  width: 20px;
  margin-left: 0;
}

/* ===== HERO ===== */
.hero-tagline {
  animation: slideUp 0.8s ease forwards;
}

.hero-headline {
  animation: slideUp 0.8s ease 0.1s forwards;
  opacity: 0;
  transform: translateY(100%);
}

.hero-subtitle {
  animation: slideUp 0.8s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-cta-primary,
.hero-cta-secondary {
  animation: slideUp 0.8s ease 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Image Grid */
.hero-image-grid {
  position: relative;
  height: 580px;
}

.img-stack {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.25);
}

.img-stack--1 {
  top: 0;
  left: 0;
  width: 70%;
  height: 85%;
  z-index: 1;
  animation: floatIn 1s ease 0.4s forwards;
  opacity: 0;
  transform: translateX(40px);
}

.img-stack--2 {
  top: 15%;
  right: 0;
  width: 55%;
  height: 50%;
  z-index: 2;
  animation: floatIn 1s ease 0.5s forwards;
  opacity: 0;
  transform: translateX(40px);
}

.img-stack--3 {
  bottom: 0;
  left: 15%;
  width: 50%;
  z-index: 3;
  animation: floatIn 1s ease 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.2s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #064e3b, transparent);
  animation: scrollPulse 2s ease infinite;
}

.scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #064e3b;
  opacity: 0.4;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== SECTION UTILITIES ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #064e3b;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: #064e3b;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: #064e3b;
  opacity: 0.55;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: #fefdf8;
  border: 1px solid rgba(6, 78, 59, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #064e3b, #16a34a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #064e3b, #166534);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.9375rem;
  color: #064e3b;
  opacity: 0.6;
  line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
  position: relative;
  height: 600px;
}

.about-image-main {
  width: 75%;
  height: 80%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(6, 78, 59, 0.3);
}

.about-image-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 45%;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid #022c22;
  box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.3);
}

/* ===== WHY US ===== */
.why-feature {
  display: block;
  transition: all 0.3s ease;
}

.why-feature:hover {
  background: rgba(6, 78, 59, 0.02);
  border-radius: 12px;
  padding-left: 1rem;
  margin-left: -1rem;
}

.why-feature-number {
  font-family: 'Playfair Display', Georgia, serif;
  min-width: 60px;
}

/* ===== TESTIMONIALS ===== */
.review-card {
  background: #fefdf8;
  border: 1px solid rgba(6, 78, 59, 0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -16px rgba(6, 78, 59, 0.12);
}

.review-stars {
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
}

.review-author {
  border-top: 1px solid rgba(6, 78, 59, 0.08);
  padding-top: 1rem;
}

.review-author-name {
  font-size: 0.9375rem;
}

.review-author-location {
  font-size: 0.8125rem;
}

/* ===== CONTACT ===== */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #064e3b, #166534);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-item-label {
  margin-bottom: 4px;
}

.contact-item-value {
  line-height: 1.5;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(6, 78, 59, 0.15);
  border-radius: 12px;
  background: #fefdf8;
  color: #064e3b;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: #064e3b;
  opacity: 0.35;
}

.form-input:focus {
  border-color: #064e3b;
  box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.08);
  background: white;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23064e3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  background: #064e3b;
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: #166534;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(6, 78, 59, 0.3);
}

.form-submit svg {
  transition: transform 0.3s ease;
}

.form-submit:hover svg {
  transform: translate(4px, -4px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-image-grid {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .hero-image-grid {
    height: 380px;
    margin-top: 3rem;
  }

  .img-stack--1 {
    width: 65%;
    height: 75%;
  }

  .img-stack--2 {
    width: 55%;
    height: 40%;
  }

  .img-stack--3 {
    width: 55%;
    left: 10%;
  }

  .about-image-wrapper {
    height: 400px;
  }

  .about-image-main {
    width: 70%;
    height: 75%;
  }

  .about-image-accent {
    width: 55%;
    height: 45%;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-image-grid {
    height: 320px;
  }

  .img-stack--1 {
    width: 60%;
    height: 70%;
  }

  .img-stack--2 {
    width: 55%;
    height: 38%;
  }

  .img-stack--3 {
    width: 60%;
    left: 5%;
  }
}
