/* Fuente rústica para títulos y moderna para texto */
@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&family=Open+Sans:wght@400;600&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  padding-top: 70px; /* espacio por el menú fijo */
}

/* --- NAVBAR --- */
.navbar {
  background: #2e2e2e;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar a {
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  font-weight: 600;
  transition: background 0.3s;
}

.navbar a:hover {
  background: #444;
}

/* --- SECCIONES --- */
.bienvenida {
  text-align: center;
  padding: 40px 20px;
}

.bienvenida h1,
.bienvenida h2 {
  font-family: 'Marcellus SC', serif;
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #2e2e2e;
}

.bienvenida p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #555;
}

/* --- IMAGEN DE PORTADA --- */
.hero {
  width: 100%;
  height: 65vh;
  background: url('imagenes/portada.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  color: white;
  font-family: 'Marcellus SC', serif;
  font-size: 3em;
  background: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 10px;
}

/* --- GALERÍA --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* --- BOTONES --- */
.btn-whatsapp,
.btn-whatsapp-eventos {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  margin: 15px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-whatsapp:hover,
.btn-whatsapp-eventos:hover {
  background: #1ebe5a;
}

/* --- FORMULARIO DE CONTACTO --- */
form {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  background: #2e2e2e;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background: #444;
}

/* --- FOOTER --- */
footer {
  background: #2e2e2e;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #ddd;
}
/* Ajuste posición del icono de WhatsApp */
.navbar .whatsapp-icon {
  margin-right: 20px; /* separa del borde */
  display: flex;
  align-items: center;
}
.navbar .whatsapp-icon svg {
  width: 24px;
  height: 24px;
}
