/* Base styles and custom utilities */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: #F4FBF9;
  color: #0A1628;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F4FBF9;
}
::-webkit-scrollbar-thumb {
  background: #7ECFC0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5db8a8;
}

/* Navigation transition */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7ECFC0;
  transition: width 0.2s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Service cards */
.service-card {
  border: 1px solid transparent;
}

/* Gallery hover */
.gallery-item {
  cursor: pointer;
}

/* Testimonial cards */
.testimonial-card {
  border: 1px solid rgba(126, 207, 192, 0.15);
}

/* Scroll reveal animations — only for below-fold content */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu transition */
#mobileMenu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Selection color */
::selection {
  background: rgba(126, 207, 192, 0.3);
  color: #0A1628;
}
