* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: sans-serif; color:#fff; background:#000; }
a { text-decoration:none; color:inherit; }

p {
  font-family: 'Poppins', sans-serif;
  font-weight: 280; /* O el que quieras */
}

/* Navbar tipo vidrio borroso */
/* Navbar */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 20px;
  background-color: transparent; /* inicialmente transparente */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.glass {
  background-color: rgba(0,0,0,0.5); /* color glass al hacer scroll */
  backdrop-filter: blur(5px);
}


.navbar .logo img {
  height: 75px;
  width: auto;
  filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.7)   );
}


.nav-toggle {
  position: absolute;
  right: 20px;
  font-size: 28px;
  cursor: pointer; /* hace clickeable */
  user-select: none; /* no seleccionable */
}

/* Menú lateral */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6); /* fondo oscuro semi-transparente */
  backdrop-filter: blur(6px); /* efecto glass */
  -webkit-backdrop-filter: blur(6px); /* soporte Safari */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  padding: 40px 20px;
}

.side-menu.active {
  opacity: 1;
  visibility: visible;
}

.side-menu a {
  color: white;
  text-decoration: none;
  padding: 20px 30px;
  font-size: 24px; /* más grande */
  font-weight: bold;
  border-bottom: none;
  text-align: center;
  transition: background-color 0.2s ease;
}

.side-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}


.nav-links a { margin-left:30px; font-size:18px; transition:color .3s; }
.nav-links a:hover { color:#ffcc00; }

/* Slider hero full-screen */
.slider { position:relative; height:100vh; overflow:hidden; }
.slide {
  position:absolute; width:100%; height:100%; top:0; left:0;
  background-size:cover; background-position:center;
  opacity:0; transition: opacity 1s ease;
}
.slide.active { opacity:1; }

.slide-text {
  position: absolute;
  bottom: 10%;
  left: 89%;
  transform: translateX(-50%);
  padding: 20px 40px;
  border-radius: 1px;
  text-align: center;
  font-family: 'Arial', sans-serif; /* Cambiá 'Arial' por la fuente que quieras */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* --- Versión responsive para celulares --- */
@media (max-width: 768px) {
  .slide-text {
    left: 50%;              /* centro horizontal */
    transform: translateX(-50%);
    width: 90%;             /* opcional: para que no se corte */
    padding: 15px 20px;     /* achicar un poco el padding */
    font-size: 1rem;        /* texto más chico en móvil */
  }
}
.slide-text h1 { font-size:2rem; margin-bottom:.2rem; }
.slide-text p { font-size:1.8rem; }

/* Contenido adicional */
.content {
  padding:100px 50px; background:#111; text-align:center;
}
.content h2 { margin-bottom:20px; font-size:2rem; }

.gallery-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(50% - 4px); /* mantienes esto */
  aspect-ratio: 1 / 1;
  position: relative;
  margin-right: 8px; /* ⬅️ reemplaza gap por margen */
}

.carousel-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* --- Responsive: en móvil solo 1 imagen a la vez --- */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 100%; /* ocupa todo el ancho → 1 sola imagen */
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

#contact {
 
  padding: 40px;
  display: flex;
  justify-content: center;
}

#form {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.form-row {
  display: flex;
  gap: 20px;
}

.form-row input {
  flex: 1;
}


input, textarea {
  background-color: #333;
  border: none;
  padding: 15px;
  color: #fff;
  font-size: 16px;
  border-radius: 2px;
  width: 100%;
}

textarea {
  resize: none;
  height: 150px;
}

button {
  align-self: center;
  background-color: #555;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #777;
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 100%;        /* Ocupa todo el ancho */
    aspect-ratio: unset;   /* Quitamos la relación cuadrada */
    height: 60vh;          /* Imagen más alta: 80% del alto de pantalla */
    margin-right: 0px;       /* Elimina margen entre slides */
  }

  .carousel-slide img {
    border-radius: 0;         /* Opcional: quitar bordes redondeados para full-bleed */
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-track {
    gap: 0; /* Asegúrate de que no haya separación */
  }

  .gallery-carousel {
    padding: 0; /* Elimina posibles márgenes internos */
  }
}

.gallery-carousel {
  margin-bottom: 5px; /* Reduce si estaba en más */
}

#contact {
  margin-top: 0;
  padding-top: 0;
}

#contact h2 {
  margin-top: 0;
}
