/* ========== CUSTOM STYLES ========== */

:root {
  --midnight: #1a2744;
  --midnight-light: #243352;
  --mint: #a8e6cf;
  --mint-dark: #56c9a4;
  --mint-light: #d4f5e4;
  --mint-pale: #eaf8f0;
  --warm-cream: #faf9f6;
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint-dark);
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

/* ========== HEADER SCROLL ========== */
#siteHeader.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(26, 39, 68, 0.06);
}

#siteHeader.scrolled .font-serif {
  color: var(--midnight);
}

/* ========== MOBILE MENU ========== */
.mobile-nav-link {
  font-size: 1.5rem;
  transition: color 0.2s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

/* ========== HERO ========== */
.mint-dark {
  color: var(--mint-dark);
}

.bg-mint-dark {
  background-color: var(--mint-dark);
}

.text-mint-dark {
  color: var(--mint-dark);
}

.border-mint-dark\/30 {
  border-color: rgba(86, 201, 164, 0.3);
}

/* ========== FLOAT ANIMATION ========== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ========== SCROLL LINE ========== */
@keyframes scrollLine {
  0% { top: -12px; }
  100% { top: 12px; }
}

.animate-scrollLine {
  animation: scrollLine 1.4s ease-in-out infinite;
}

/* ========== 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, var(--mint), var(--mint-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 2rem 2rem 0 0;
}

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

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== TESTIMONIAL QUOTE ========== */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: rgba(168, 230, 207, 0.2);
  line-height: 1;
  pointer-events: none;
}

/* ========== FORM SELECT ========== */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2744' stroke-width='2.5' 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 12px center;
  padding-right: 36px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .font-serif {
    line-height: 1.15;
  }

  #siteHeader {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  html {
    scroll-padding-top: 88px;
  }
}
