/* ==========================================================================
   VARIABLES MAESTRAS (Estilo Barbería Dark Mode)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Oswald:wght@400;600;700&display=swap');

:root {
  --primary-color: #d4af37;       /* Dorado vintage/metálico */
  --primary-hover: #b5952f;       
  --bg-color: #121212;            /* Fondo principal negro asfalto */
  --bg-alt: #1a1a1a;              /* Fondo secundario gris muy oscuro */
  --card-bg: #222222;             /* Fondo de tarjetas */
  --text-main: #e0e0e0;           /* Texto claro */
  --text-muted: #9e9e9e;          
  --white: #ffffff;
  
  --font-heading: 'Oswald', sans-serif;
  --font-main: 'Inter', sans-serif;
  --max-width: 1100px;            
  --border-radius: 8px;           /* Bordes más cuadrados y masculinos */
  --transition: all 0.3s ease;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5); 
}

h1, h2, h3, .logo, .section-header h2 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 1px;
}

/* ==========================================================================
   RESETS Y ESTILOS BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-color);
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.section { background-color: var(--bg-color); scroll-margin-top: 80px; }
.alt { background-color: var(--bg-alt); scroll-margin-top: 80px; }

/* ==========================================================================
   BARRA DE NAVEGACIÓN
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 26px;
  text-decoration: none;
  color: var(--white);
  letter-spacing: 2px;
}

.logo span { color: var(--primary-color); }

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  margin-left: 25px;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--primary-color); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--white);
}

/* ==========================================================================
   HÉROE (HERO SECTION)
   ========================================================================== */
.hero-barber {
  padding: 160px 0 80px 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-color) 100%);
  border-bottom: 1px solid #333;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.subtitle-barber {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.hero-text h1 {
  font-size: 65px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.sharp-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius);
  border: 4px solid #333; /* Borde industrial */
  box-shadow: var(--shadow);
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-heading);
}

.btn-primary {
  background: var(--primary-color);
  color: #000;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   SERVICIOS Y TARJETAS
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid #333;
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.card-icon {
  font-size: 35px;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 15px; font-size: 24px; }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.price {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 20px;
  font-family: var(--font-heading);
}

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  align-items: center;
}

.nosotros-content h2 { font-size: 38px; margin-bottom: 25px; }
.nosotros-content p { margin-bottom: 20px; color: var(--text-muted); font-size: 17px; }
.nosotros-content strong { color: var(--primary-color); }

/* ==========================================================================
   MÉTODOS DE CONTACTO RÁPIDO (Llamar, WS, IG)
   ========================================================================== */
.contact-methods { margin-top: 30px; }

.contact-card {
  background: var(--card-bg);
  border: 1px solid #333;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover { transform: translateY(-5px); }

.contact-card.call:hover { border-color: #4CAF50; }
.contact-card.whatsapp:hover { border-color: #25D366; }
.contact-card.instagram:hover { border-color: #E1306C; }

.contact-icon { font-size: 40px; margin-bottom: 15px; }
.contact-card h3 { color: var(--white); margin-bottom: 5px; font-size: 20px; }
.contact-card p { color: var(--text-muted); font-size: 14px; }

/* Mapa */
.map-wrapper { border-radius: var(--border-radius); overflow: hidden; border: 2px solid #333; }
.map { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(100%) invert(90%) contrast(1.2); /* Efecto oscuro para el mapa */ }

/* Botón WhatsApp */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366; 
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: var(--transition);
}
.whatsapp-floating:hover { transform: scale(1.1); }

/* Footer */
.footer { background: #000; color: #666; font-size: 14px; border-top: 1px solid #222; }
.footer-content { padding: 30px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin-left: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--primary-color); }

/* ==========================================================================
   RESPONSIVE (MÓVILES)
   ========================================================================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background: var(--bg-alt);
    padding: 20px;
    border-bottom: 1px solid #333;
  }

  .nav-links.active { display: flex; }
  .nav-links a { margin-left: 0; font-size: 18px; padding: 15px 0; border-bottom: 1px solid #333; width: 100%; }
  .nav-links a:last-child { border-bottom: none; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text h1 { font-size: 48px; }
  .hero-actions { justify-content: center; }
  .sharp-img { height: 350px; }
  
  .footer-content { flex-direction: column; text-align: center; }
}