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

body {
  font-family: "League Spartan", sans-serif;
  background-color: #000;
  color: #f2e5d5;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
}

.menu {
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background: url("../img/fondoweb.png") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #f2e5d5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%; /* Asegura el ancho total */
  padding: 0;   /* Quitamos el padding de 20px que tenías */
}

/* Agrega esta regla específica para la imagen */
.hero-content img {
  width: 100%;      
  height: auto; 
  display: block; 
  object-fit: cover;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25)); 
}

.hero-content p {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 auto;
}


/* Overlay Menu */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #f2e5d5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 20;
}

.close-btn {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 10px;
  margin-left: 1320px;
  margin-top: 10px;
}

.overlay-logo {
  position:absolute;
  font-size: 120px;
  margin-left: -500px;
}


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

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: left;
  font-weight: lighter;
  margin-left: 400px;
}

.overlay-nav a {
  color: #f2e5d5;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.overlay-nav a:hover {
  color: #e6d1d0;
}


/* Menu icon */
.menu {
  font-size: 2rem;
  cursor: pointer;
  z-index: 30;
  transition: transform 0.3s ease;
}

.menu.active {
  transform: rotate(90deg);
}



/* About */
.about {
  background-color: #000;
  color: #f2e5d5;
  text-align: center;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.about p {
  font-size: 1.3rem;
  margin-top: 15px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content p {
    font-size: 1.6rem;
    padding: 0 20px;
  }

  .about h1 {
    font-size: 3.2rem;
  }

  .video h2 {
    font-size: 2.2rem;
  }

  .video-placeholder video {
    width: 90%;
  }
}


/* Landing images */

.landing-mobile {
  display: none;
}

.landing-desktop {
  display: block;
}


/* Mobile */

@media (max-width: 768px) {

  /* Hide text on mobile */
  .Hi {
    display: none;
  }

  /* Show mobile image */
  .landing-desktop {
    display: none;
  }

  .landing-mobile {
    display: block;
  }

}
/* --- SOLO PARA MOBILE (768px o menos) --- */
@media screen and (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
  }

  .hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Pantalla completa exacta en navegadores móviles */
    overflow: hidden;
  }

  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
  }

  .hero-content {
    width: 100%;
    height: 100%;
  }

  .hero-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Llena toda la pantalla sin deformarse */
    object-position: center; /* Centra el recorte */
    display: block;
  }
}