@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600&display=swap');

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

/* --- BODY --- */
body {
  font-family: 'Dancing Script', cursive;
  background: url('images/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #4a2c2a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 10px 40px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header img.logo {
  height: 60px;
  border-radius: 50%;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #444;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #d46a6a;
}

/* --- HERO --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.6);
  padding: 100px 20px 20px;
}

.hero h1 {
  font-size: 3em;
  color: #d46a6a;
}

.hero p {
  font-size: 1.5em;
  color: #555;
}

/* --- SECCIONES GENERALES --- */
section {
  padding: 100px 20px;
  text-align: center;
  background: rgba(255,255,255,0.85);
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 1000px;
}

section h2 {
  color: #c25a5a;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.img-section {
  width: 60%;
  border-radius: 20px;
  margin-top: 10px;
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

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

/* --- FOOTER --- */
footer {
  background: rgba(255,255,255,0.9);
  text-align: center;
  padding: 20px;
  font-size: 1.2em;
  color: #444;
}

footer p {
  margin-top: 10px;
  font-size: 1em;
  color: #777;
}

/* --- REDES SOCIALES --- */
.socials a {
  margin: 0 10px;
  text-decoration: none;
  color: #d46a6a;
  font-size: 1.3em;
  transition: transform 0.3s;
}

.socials a:hover {
  transform: scale(1.2);
}

/* --- BOTÓN WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px; 
  right: 20px;
  background: #7cd0b0; /* aguamarina pastel */
  color: white;
  font-size: 2em;
  padding: 10px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* --- ANIMACIONES --- */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5em; }
  .hero p { font-size: 1.2em; }
  header { flex-direction: column; padding: 15px; }
}

@media (max-width: 768px) {
  .hero { padding-top: 120px; }
  section { margin: 20px 10px; padding: 80px 15px; }
}

@media (max-width: 480px) {
  header img.logo { height: 50px; }
  nav a { margin: 0 8px; font-size: 0.9em; }
  .hero h1 { font-size: 2em; }
  .hero p { font-size: 1em; }
}
