/* Fuentes del sistema para mejor legibilidad móvil */

/* General layout */
body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffaf5;
  color: #333;
}

main {
  max-width: 1400px;
  margin: auto;
}

header {
  text-align: center;
  padding: 2rem;
  background-color: #fef1e6;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Trebuchet MS', 'Comic Sans MS', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #3a2d20;
  text-shadow:
    0 0 3px #f5ede3,
    0 0 6px #f5ede3;
  letter-spacing: 0.02em;
}

p {
  font-size: 1.1rem;
}

/* Sección título */
.seccion-raza {
  padding: 2rem;
  margin-bottom: 2rem;
}

.seccion-titulo {
  font-size: 2rem;
  text-align: center;
  color: #3a2d20;
  margin-bottom: 1.5rem;
  font-family: 'Trebuchet MS', 'Comic Sans MS', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-style: italic;
  text-shadow:
    0 0 3px #f5ede3,
    0 0 6px #f5ede3;
  letter-spacing: 0.02em;
}

/* Carrusel horizontal para razas */
.raza-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.raza-scroll::-webkit-scrollbar {
  height: 8px;
}

.raza-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Card de raza */
.raza-scroll .raza-card {
  flex: 0 0 220px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.2s ease;
}

.raza-scroll .raza-card:hover {
  transform: scale(1.03);
}

.raza-scroll .raza-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.raza-scroll .raza-card h3 {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #3a2d20;
  text-shadow:
    0 0 3px #f5ede3,
    0 0 6px #f5ede3;
}

.raza-scroll .raza-card p {
  font-size: 1.2rem; /* similar a .caracteristicas li */
  color: #3a2d20; /* mismo tono que var(--text-dark) */
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
}

/* Descripción bajo el título principal */
header p {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  color: #3a2d20;
}

.social-float-group {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

/* Estilo individual de cada botón */
.social-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-btn:hover {
  transform: scale(1.1);
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.social-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  animation: pulse 2.5s ease-in-out infinite;
}
