/* Base & Utilities */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #d4a017;
  color: #064e3b;
}

/* Section Labels */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #16a34a;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1.5px;
  background: #d4a017;
}

/* Section Titles */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: #064e3b;
  letter-spacing: -0.02em;
}

/* Section Descriptions */
.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #064e3b;
  opacity: 0.65;
  max-width: 540px;
}

/* Navigation */
.nav-link {
  position: relative;
}

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

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

/* Mobile Menu */
.mobile-nav-link {
  position: relative;
}

/* Navbar Scrolled State */
.navbar-scrolled {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(6, 78, 59, 0.08) !important;
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.06) !important;
}

.navbar-scrolled .nav-link {
  color: rgba(6, 78, 59, 0.7) !important;
}

.navbar-scrolled .font-serif {
  color: #064e3b !important;
}

/* Hero Animations */
.hero-anim {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-anim.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #166534, #d4a017);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

/* About Animations */
.about-img {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-img.animated {
  opacity: 1;
  transform: translateX(0);
}

.about-content {
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-content.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Approach Steps */
.approach-step {
  transition: transform 0.4s ease;
}

.approach-step:hover {
  transform: translateY(-4px);
}

/* Contact Animations */
.contact-info {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.animated {
  opacity: 1;
  transform: translateX(0);
}

.contact-form {
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.contact-form.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Form Select Arrow */
select {
  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: 2.5rem;
}

/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #faf5e8;
}

::-webkit-scrollbar-thumb {
  background: #166534;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #064e3b;
}

/* Mobile Menu Active State */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* Menu Icon Animation */
#menu-icon.active #bar1 {
  transform: rotate(45deg) translate(4px, 4px);
}

#menu-icon.active #bar2 {
  opacity: 0;
  transform: scaleX(0);
}

#menu-icon.active #bar3 {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 100%;
}
