/* ==========================================================================
   INICIO.CSS - BARBERÍA IMPERIO
   Estilos exclusivos para la página de inicio (index.html)
   ========================================================================== */

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 15, 18, 0.4) 0%, rgba(13, 15, 18, 0.95) 100%),
              url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-pill);
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .text-gold {
  color: var(--color-gold);
  background: linear-gradient(135deg, #fff 0%, var(--color-gold-light) 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- FEATURES / POR QUÉ ELEGIRNOS --- */
.features-section {
  background-color: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-gold);
  color: var(--color-bg-primary);
}

.feature-icon-wrapper svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- SERVICIOS PREVIEW --- */
.service-preview-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.service-preview-card:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text-main);
  text-transform: uppercase;
}

.service-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 700;
  white-space: nowrap;
}

.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --- MINI GALERÍA PREVIEW --- */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--color-border-subtle);
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 15, 18, 0.9) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: opacity var(--transition-normal);
}

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

.gallery-preview-item:hover .gallery-preview-overlay {
  opacity: 1;
}

.gallery-preview-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-gold);
  text-transform: uppercase;
}

/* --- TESTIMONIOS --- */
.testimonials-section {
  background-color: var(--color-bg-secondary);
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.testimonial-info h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-text-main);
  text-transform: uppercase;
}

.testimonial-info p {
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

/* --- BANNER CTA FINAL --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(13, 15, 18, 0.95) 100%),
              url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  text-align: center;
  margin-bottom: -3rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text-main);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}
