/* ========================================
   Celi Nails and Spa — Custom Styles
   ======================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF8F6;
}
::-webkit-scrollbar-thumb {
  background: #e5c4c9;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b0565e;
}

/* Selection color */
::selection {
  background: #f7c4c9;
  color: #7a393d;
}

/* Base transitions */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b0565e;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Service card tilt effect */
.service-card {
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* Gallery image hover */
.rounded-2xl img {
  transition: transform 0.7s ease;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(253, 248, 246, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(176, 86, 94, 0.08);
}

.navbar-scrolled .nav-text {
  color: #7a393d !important;
}

.navbar-transparent .nav-text {
  color: #7a393d !important;
}

/* Mobile menu animations */
#mobile-menu.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#mobile-menu.closed {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Menu button animation */
.menu-btn-active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-btn-active .menu-line:nth-child(2) {
  opacity: 0;
}
.menu-btn-active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Scroll reveal base state (progressive enhancement) */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(176, 86, 94, 0.15);
}

/* Hero floating card animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.floating-card {
  animation: float 4s ease-in-out infinite;
}

/* Hero badge pulse */
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse-badge {
  animation: pulse-soft 3s ease-in-out infinite;
}
