/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }
.font-playfair { font-family: 'Playfair Display', serif; }

/* ── Nav ── */
#nav { background: transparent; }
#nav.scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.08);
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #14b8a6, #10b981);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── CTA Button ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(20, 184, 166, 0.35); }
.cta-btn:hover::before { opacity: 1; }
.cta-btn span { position: relative; z-index: 1; }

/* ── Mobile Menu ── */
.mobile-link { font-family: 'Playfair Display', serif; }

/* ── Hero ── */
.hero-bg { position: absolute; inset: 0; }

/* ── Stat Cards ── */
.stat-card {
  opacity: 0;
  transform: translateY(20px);
  animation: floatIn 0.6s ease forwards;
}
.stat-card[data-delay="0"] { animation-delay: 0.2s; }
.stat-card[data-delay="150"] { animation-delay: 0.35s; }
.stat-card[data-delay="300"] { animation-delay: 0.5s; }
.stat-card[data-delay="450"] { animation-delay: 0.65s; }

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

.stat-card { animation: floatIn 0.6s ease forwards; }

/* ── Service Cards ── */
.service-card {
  opacity: 0;
  transform: translateY(30px);
}
.service-card.revealed {
  animation: cardReveal 0.6s ease forwards;
}
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }

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

/* ── Gallery ── */
.gallery-item { position: relative; }

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* ── Selection ── */
::selection { background: rgba(20, 184, 166, 0.3); color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .font-playfair { font-family: 'Playfair Display', serif; }
}
