/* ===== CUSTOM STYLES FOR BORICUAS BARBER SHOP ===== */

/* ---------- Hero Gradient ---------- */
.hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 50% 40%,
    rgba(30, 80, 120, 0.6) 0%,
    rgba(10, 22, 40, 0.8) 50%,
    rgba(3, 7, 15, 1) 100%);
}

.hero-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(94, 234, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(94, 234, 212, 0.05) 0%, transparent 50%);
}

.hero-scrim {
  background: linear-gradient(to bottom,
    rgba(3, 7, 15, 0.4) 0%,
    rgba(3, 7, 15, 0.1) 40%,
    rgba(3, 7, 15, 0.1) 60%,
    rgba(3, 7, 15, 0.6) 100%);
}

/* ---------- CTA Gradient ---------- */
.cta-gradient {
  background: linear-gradient(135deg,
    #0A1628 0%,
    #1a3a5c 40%,
    #0d2a45 70%,
    #0A1628 100%);
}

.cta-pattern {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(94, 234, 212, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(30, 80, 120, 0.15) 0%, transparent 60%);
}

/* ---------- Typography ---------- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #5EEAD4;
  font-weight: 600;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---------- Service Cards ---------- */
.service-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(94, 234, 212, 0.15);
}

/* ---------- Gallery ---------- */
.gallery-item {
  aspect-ratio: auto;
  cursor: pointer;
}

.gallery-item:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.4) 0%, transparent 50%);
  border-radius: 0.75rem;
}

.gallery-item {
  position: relative;
}

/* ---------- Navbar Scroll State ---------- */
.navbar-scrolled {
  background: rgba(3, 7, 15, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

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

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .reveal.revealed {
    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; }

  /* Hero animation */
  .hero-badge {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

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

/* ---------- Select Styling ---------- */
select option {
  background: #0A1628;
  color: #ffffff;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #03070F;
}

::-webkit-scrollbar-thumb {
  background: rgba(94, 234, 212, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(94, 234, 212, 0.4);
}

/* ---------- Focus Styles ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #5EEAD4;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Mobile Menu Transition ---------- */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
