/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }

/* ===== NAV ===== */
#nav { background: transparent; }
#nav.scrolled {
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E8735A;
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ===== MOBILE MENU ===== */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link { transition: color 0.2s; }
.mobile-link:hover { color: #E8735A; }

/* ===== HERO FLOATING CARDS ===== */
.floating-card {
  animation: float 6s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -2s; }
.card-3 { animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ===== SERVICE CARDS ===== */
.service-card { cursor: default; }

/* ===== GALLERY ===== */
.gallery-item { cursor: pointer; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}
.gallery-item:hover::after { opacity: 1; }

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card { cursor: default; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== CUSTOM SELECTION ===== */
::selection { background: rgba(232, 115, 90, 0.2); color: #1c1c1f; }

/* ===== FOCUS STYLES ===== */
:focus-visible { outline: 2px solid #E8735A; outline-offset: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .floating-card { display: none; }
}
