* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Barlow Condensed', sans-serif;
}

body {
  background-color: #fff ; /* fondo negro para que resalte el logo */
  color: #fff; /* texto blanco para contraste */
  line-height: 1.6;
}

header {
  background-color: hsl(0, 9%, 98%); /* rojo oscuro */
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  color: #fff;
}

header p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #ff0000; /* rojo brillante */
}

nav {
  background: #222;
  max-width: 1300px;
  margin: 0 auto 40px auto; /* centrado y con espacio abajo */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0 20px;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 15px;
  display: block;
}

nav ul li a:hover {
  background: #900; /* rojo al pasar el mouse */
}

main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  background-color: #111; /* fondo oscuro para las secciones */
  border-radius: 10px;
  box-shadow: 0 0 10px #900;
}

section {
  margin-bottom: 60px;
}

h2 {
  color: #ff0000; /* rojo brillante */
  margin-bottom: 20px;
  font-size: 2rem;
  border-bottom: 2px solid #900;
  display: inline-block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255,0,0,0.3);
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #900;
  border-radius: 5px;
  resize: vertical;
  background-color: #333;
  color: white;
}

button {
  background: #900;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background: #c00;
}

footer {
  background: #222;
  color: #ddd;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo img {
  width: 100%;
  max-width: 200px; /* tamaño moderado */
  height: 200px; /* para que sea cuadrada y perfecta para el círculo */
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #900; /* borde rojo */
  box-shadow: 0 0 15px #ff0000; /* sombra roja brillante */
}
/* RESPONSIVE: 2 columnas en PC y 1 en móvil para las cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Estilo para la galería de imágenes */
#galeria {
  margin-top: 40px;
}

#galeria h2 {
  color: #ff0000;
  margin-bottom: 20px;
  font-size: 2rem;
  border-bottom: 2px solid #900;
  display: inline-block;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.galeria img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #900;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.05);
}
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  font-size: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #25d366;
}
.social-section {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-top: 2px solid #900;
  border-bottom: 2px solid #900;
  margin-top: 30px;
}

.social-section p {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #ff0000;
}

.social-icons {
  display: flex;
  justify-content: center;  /* 🔴 CENTRA horizontalmente */
  gap: 16px;
  margin-top: 5px;
}

.icon {
  font-size: 16px;
  width: 34px;
  height: 34px;
  background-color: #222;
  color: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #900;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none
}

.icon:hover {
  transform: scale(1.1);
  background-color: #900;
  color: #fff;
}
.nav-logo img {
  height: 40px; /* o el tamaño que necesites */
  margin-right: 1rem;
  vertical-align: middle;
}
.contact-info p, .redes-directas p {
  margin: 0.5em 0;
  font-size: 1.1em;
}.contact-info a, .redes-directas a {
  color: #900; /* O el color principal de tu paleta */
  text-decoration: none;
}