.profile-image {
  display: block;
  margin: 2rem auto 0 auto;
  max-width: 380px;
  width: 100%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: white;
  background: linear-gradient(to bottom right, #1f1f1f, #000000);
}

header {
  background: url("images/hero.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
  z-index: 1;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 20, 30, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px 0 rgba(64,64,128,0.10);
  padding: 1.2rem 3.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  border-bottom: 1px solid rgba(168, 85, 247, 0.10);
}

nav a {
  color: #e5e7eb;
  margin: 0 1.2rem;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.2rem 0.1rem;
  transition: color 0.18s;
}
nav a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #c084fc 0%, #818cf8 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1);
}
nav a:hover::after, nav a:focus::after {
  transform: scaleX(1);
}

nav a:hover {
  color: #c084fc;
  text-shadow: 0 2px 8px rgba(192,132,252,0.10);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 6rem;
  background: linear-gradient(to right, #e5e7eb, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.hero-content .btn {
  padding: 0.75rem 2rem;
  margin: 0.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;

}

.btn-primary {
  background: linear-gradient(to right, #6b21a8, #3730a3);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid #a855f7;
  color: white;
}

section h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

section p.description {
  font-family: 'Lato', Arial, sans-serif;
  color: #bbb;
  text-align: center;
  margin-bottom: 3rem;
}
#sobre-mi .description,
#reserva .description {
  font-family: 'Lato', Arial, sans-serif;
}

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

.masonry-grid {
  column-count: 2;
  column-gap: 1.5rem;
  padding: 0.5rem; /* Espacio entre galería y borde */
}


.masonry-grid img {
  width: 100%;
  display: block;
  margin-bottom: 1.5rem;
  border-radius: 0; /* sin bordes redondeados */
  break-inside: avoid;
  object-fit: cover;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18); /* Sombra sutil */
  background-color: #18181b; /* Fondo oscuro mientras carga */
  min-height: 180px; /* Altura mínima para evitar saltos */
}
/* Lightbox modal para galería */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.35);
}
.lightbox-modal .close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2100;
}

@media (max-width: 600px) {
  nav {
    padding: 0.75rem 1rem;
  }
  .container {
    padding: 2rem 1rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-content .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  section h2 {
    font-size: 1.5rem;
  }
  .masonry-grid {
    column-count: 1;
    column-gap: 1rem;
    padding: 0.25rem;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .card {
    padding: 1rem;
  }
  form {
    padding: 0 0.5rem;
  }
  .footer {
    padding: 2rem 0.5rem;
    margin-top: 2rem;
  }
  .whatsapp-icon {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 900px) {
  .masonry-grid {
    column-count: 3;
  }
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  text-align: center;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.footer {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem 1rem;
  background: linear-gradient(90deg, #18181b 60%, #232136 100%);
  margin-top: 4rem;
  border-top: 1.5px solid rgba(168, 85, 247, 0.10);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #e5e7eb;
  letter-spacing: 0.2px;
}
.footer p {
  margin: 0.5rem 0;
  line-height: 1.7;
}
.footer a {
  color: #c084fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}
.footer a:hover {
  color: #818cf8;
}
.reserva-section {
  text-align: center;
}

.whatsapp-link {
  display: inline-block;
  margin-top: 1rem;
}

.whatsapp-icon {
  width: 64px;
  height: 64px;
  transition: transform 0.2s ease;
}

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