/* Importa fuentes: Montserrat (base) + opciones script/handwritten/calligraphy */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Dancing+Script:wght@700&family=Patrick+Hand&family=Great+Vibes&display=swap');

/* sucursal.css - Página de selección de sucursales (paleta: beige / marrón / oliva)
   NOTA: Solo añadí importación de fuentes y aplico la fuente script al título.
*/

/* Reseteo básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fuente base */
body {
  font-family: 'Montserrat', sans-serif;
}

/* Contenedor principal para sucursales */
.rv-container.sucursal-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente el contenido */
  align-items: center;     /* centra horizontalmente */
  background-color: transparent; /* dejamos que el body muestre el fondo global */
  overflow: hidden;        /* asegura que no aparezca scroll */
  padding: 0; /* quitamos padding porque el centrado lo maneja flexbox */
}

/* Títulos de sección */
.rv-section-title {
  font-family: 'Dancing Script', cursive; /* Script por defecto */
  font-weight: 700;
  font-size: 2rem; /* más grande para sucursales */
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: center;
  margin: 20px auto 40px;
  max-width: 700px;
  color: #4B3F36; /* marrón oscuro */
}

/* Lista de sucursales */
.rv-stylists-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Tarjeta de sucursal */
.sucursal-page .rv-stylist-card {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  background-color: #FFFFFF; /* tarjeta blanca sobre fondo beige */
  border: 1px solid rgba(75,63,54,0.06); /* borde suave marrón */
  text-decoration: none;
}

.sucursal-page .rv-stylist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(107,122,42,0.12); /* sombra con tono oliva */
  background-color: rgba(107,122,42,0.04); /* sutil tint oliva en hover */
}

/* Foto de la sucursal */
.sucursal-page .rv-stylist-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 16px;
  transition: box-shadow 0.3s ease;
  border: 3px solid rgba(75,63,54,0.06); /* borde sutil */
}

.sucursal-page .rv-stylist-card:hover .rv-stylist-photo {
  box-shadow: 0 0 16px rgba(107,122,42,0.18); /* glow oliva */
  border-color: #6B7A2A; /* borde oliva en hover */
}

/* Nombre de la sucursal */
.sucursal-page .rv-stylist-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4B3F36; /* marrón oscuro */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Enlaces sin decoración */
.sucursal-page a {
  text-decoration: none;
  color: inherit;
}

.sucursal-page a:hover {
  text-decoration: none;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .rv-container.sucursal-page {
    padding: 30px 15px 15px;
  }

  .rv-section-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .rv-stylists-list {
    gap: 20px;
  }

  .sucursal-page .rv-stylist-card {
    width: 160px;
    padding: 16px;
  }

  .sucursal-page .rv-stylist-photo {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
  }

  .sucursal-page .rv-stylist-name {
    font-size: 1rem;
  }
}

/* Responsive - Móvil */
@media (max-width: 640px) {
  .rv-container.sucursal-page {
    padding: 20px 10px 10px;
  }

  .rv-section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .rv-stylists-list {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .sucursal-page .rv-stylist-card {
    width: 280px;
    max-width: 90%;
    padding: 20px;
  }

  .sucursal-page .rv-stylist-photo {
    width: 90px;
    height: 90px;
    margin-bottom: 12px;
  }

  .sucursal-page .rv-stylist-name {
    font-size: 1.1rem;
    white-space: normal;
    line-height: 1.3;
  }
}

/* Responsive - Móvil muy pequeño */
@media (max-width: 480px) {
  .rv-container.sucursal-page {
    padding: 15px 8px 8px;
  }

  .rv-section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .sucursal-page .rv-stylist-card {
    width: 260px;
    padding: 16px;
  }

  .sucursal-page .rv-stylist-photo {
    width: 80px;
    height: 80px;
  }

  .sucursal-page .rv-stylist-name {
    font-size: 1rem;
  }
}

/* Mantengo la misma configuración final que tenías */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* ❌ mantiene la configuración original tal cual (no modifiqué esto) */
}

/* Clases opcionales por si querés cambiar la fuente del título desde el Blade:
   - .brand-script (Dancing Script)
   - .brand-handwritten (Patrick Hand)
   - .brand-calligraphy (Great Vibes)
*/
.brand-script { font-family: 'Dancing Script', cursive; }
.brand-handwritten { font-family: 'Patrick Hand', cursive; }
.brand-calligraphy { font-family: 'Great Vibes', cursive; }