/* ==========================================================================
   PARADISE BARBER SHOP - STYLESHEET PRINCIPAL
   Estilo: Urbano Premium, Elegante, Clásico & Moderno
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
  --color-bg-dark: #0B0C10;
  --color-bg-card: #13151B;
  --color-bg-card-hover: #1A1D25;
  --color-gold: #D4AF37;
  --color-gold-light: #F3E5AB;
  --color-gold-dark: #AA820A;
  --color-crimson: #E63946;
  --color-navy: #1D3557;
  --color-text-main: #F8FAFC;
  --color-text-muted: #94A3B8;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-accent: 'Playfair Display', serif;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
}

.font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.font-accent {
  font-family: var(--font-accent);
}

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

::-webkit-scrollbar-track {
  background: #0b0c10;
}

::-webkit-scrollbar-thumb {
  background: #252834;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Barber Pole Animated Accent Strip */
.barber-pole-strip {
  background: repeating-linear-gradient(
    45deg,
    #e63946,
    #e63946 12px,
    #ffffff 12px,
    #ffffff 24px,
    #1d3557 24px,
    #1d3557 36px,
    #ffffff 36px,
    #ffffff 48px
  );
  background-size: 200% 200%;
  animation: barberPoleSlide 6s linear infinite;
}

@keyframes barberPoleSlide {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 68px 0;
  }
}

/* Golden Gradients & Glows */
.gold-gradient-text {
  background: linear-gradient(135deg, #FFF0B8 0%, #D4AF37 50%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #E5C058 0%, #D4AF37 50%, #996515 100%);
}

.gold-gradient-bg:hover {
  background: linear-gradient(135deg, #F3D072 0%, #E0BC45 50%, #AA820A 100%);
}

.gold-glow {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.gold-glow:hover {
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.45);
}

.gold-border {
  border-color: rgba(212, 175, 55, 0.28);
}

/* Card hover micro-interactions */
.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover-effect:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.12);
}

/* Shimmer animation on CTA */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  animation: shimmerMove 3.5s infinite;
}

@keyframes shimmerMove {
  0% {
    left: -60%;
  }
  25%, 100% {
    left: 140%;
  }
}

/* Subtle background grain texture */
.bg-grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Scroll reveal classes handled by IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* WhatsApp Floating Pulse */
.pulse-badge {
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Hero vignette & lighting */
.hero-vignette {
  background: radial-gradient(circle at center, rgba(11, 12, 16, 0.35) 0%, rgba(11, 12, 16, 0.95) 85%);
}

/* Gallery image zoom on hover */
.gallery-card {
  position: relative;
  overflow: hidden;
}

.gallery-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  background: linear-gradient(to top, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Modal backdrop blur */
.modal-backdrop {
  background-color: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(8px);
}

/* Lightbox Modal */
.lightbox-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(19, 21, 27, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Active navigation link indicator */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #D4AF37;
  transition: width 0.25s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
