@import url('https://fonts.googleapis.com/css2?family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Momo+Trust+Display&family=Overlock:ital,wght@0,900;1,700;1,900&display=swap');

body{
    background-color: rgb(48, 28, 4);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    /* CENTRAR TODO */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero2 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    /* CENTRAR TODO */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slides */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(70%);
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide2 {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
}

/* blur de fondo */
.slide2::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--img);
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(70%);
    transform: scale(1.1);
}

/* imagen principal */
.slide2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--img);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.slide2.active {
    opacity: 1;
}

/* Texto encima */
.hero-text {
    position: relative; /* YA NO será absolute */
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 70%;
    font-family: "Overlock", sans-serif;
}

/* Títulos */
.hero-title, h1, h2 {
  font-family: "Overlock", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.hero-text h1 {
    font-size: 7rem;
    margin: 0;
    letter-spacing: 1px;
    font-family: "Momo Trust Display", sans-serif;
}

.hero-text p {
    margin-top: 10px;
    font-size: 1.3rem;
    opacity: .9;
    font-family: "Overlock", sans-serif;
}

.hero-btn {
    margin-top: 22px;
    display: inline-block;
    color: white;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.7);
    padding-bottom: 5px;
    text-decoration: none;
    transition: .3s ease;
}

.hero-btn:hover {
    opacity: 0.7;
}

#menu-icon {
    font-size: 2rem;
    cursor: pointer;
    display: none; /* Se activa en móvil */
}

/* Menú móvil */
.navlist {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 20px;
    transition: 0.4s ease;
}

.navlist.open {
    right: 0;
}

.navlist a {
    color: white;
    font-size: 1.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 4rem;
    }
    .hero-text {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 75vh;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-btn {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.3rem;
        letter-spacing: 1px;
    }
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== NAVBAR GENERAL ========== */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    background: #291107;
    z-index: 1000;
}

/* ========= LOGO CENTRADO ========= */
.navbar .logo {
    height: 55px;
    width: auto;
}

/* ========= LISTAS ========= */
.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

/* ========= Links ========= */
.navbar a {
    text-decoration: none;
    font-size: 17px;
    color: white;
    font-weight: 500;
    transition: 0.3s;
    font-family: "Overlock", sans-serif;
}

.navbar a:hover {
    color: #d4b323; /* dorado suave */
}

/* ========= LÍNEA DELGADA DEBAJO ========= */
.navbar::after {
    content: "";
    position: absolute;
    bottom: -1px;
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

/* ========= MENÚ HAMBURGUESA ========= */
#menu-icon {
    display: none;
    font-size: 34px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 30px;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
    .nav-left,
    .nav-right {
        display: none;
        flex-direction: column;
        gap: 20px;
        background: rgba(0,0,0,0.8);
        position: absolute;
        top: 70px;
        right: 0;
        width: 60%;
        height: calc(100vh - 70px);
        padding-top: 50px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-left.active,
    .nav-right.active {
        display: flex;
        transform: translateX(0);
    }

    .navbar {
        justify-content: space-between;
    }

    #menu-icon {
        display: block;
    }

    .logo {
        margin-left: 20px;
    }

    .navbar::after {
        width: 100%;
    }

        #menu-icon {
        display: block;
        z-index: 999;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.9);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links.show {
        display: flex;
    }
}

/* ===== SECTION MENÚ ===== */
.menu-section {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: #ffebd8;
}

.menu-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    font-family: "Overlock", sans-serif;
    color: #333;
}

/* Imagen principal */
.menu-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.menu-img {
    width: 100%;
    border-radius: 10px;
    cursor: zoom-in;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.menu-img:hover {
    transform: scale(1.02);
}

/* Modal Carta Menú */
.menu-modal {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
}

.menu-modal .modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    user-select: none;
}


/* Mobile */
@media (max-width: 600px) {
    .menu-title {
        font-size: 2.2rem;
    }
}

/* ===== UBICACIÓN ===== */

.ubicacion-section {
    position: relative;
    padding: 80px 0;
    background: #f5dab1;
    color: #333;
    text-align: center;
}

.ubicacion-text h2 {
    font-size: 3.5rem;
    font-family: "Overlock", sans-serif;
    margin-bottom: 10px;
}

.ubicacion-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 30px;
    font-family: "Overlock", sans-serif;
}

.map-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.582);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ubicacion-text h2 {
        font-size: 2.5rem;
    }

    .map-container {
        height: 300px;
    }
}

.populares {
    position: relative;
    padding: 5px 0;
    background: #f7e0c7;
    color: #333;
    text-align: center;
}

.populares h2 {
    font-size: 2.5rem;
    font-family: "Overlock", sans-serif;
    margin-bottom: 0px;
}

.populares p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0px;
    font-family: "Overlock", sans-serif;
}

.servicios {
  min-height: 100vh;      /* Ocupa toda la altura de la pantalla */
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;  /* Título arriba, cards abajo */
  align-items: center;     /* Centra horizontalmente */
  justify-content: center; /* Centra verticalmente */
  gap: 3rem;               /* Espacio entre título y cards */
  background-color: #f7e0c7; /* Opcional, para destacar la sección */
  text-align: center;
}

.servicios h3{
    font-family: "Overlock", sans-serif;
    font-size: 1rem;
    color: #555;
}

.servicios h2{
    font-family: "Overlock", sans-serif;
    font-size: 3.5rem;
    color: #555;
}

.servicios p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0px;
    font-family: "Overlock", sans-serif;
}

.cards-wrapper {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;         /* Se acomoda en móvil */
  justify-content: center;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  width: 350px;           /* Más grande que antes */
  height: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transition: transform 0.5s, box-shadow 0.5s;
  cursor: pointer;
  transform-style: preserve-3d;
}

.card img {
  width: 100%;
  height: 220px;           /* Más grande */
  object-fit: cover;
}

.card-info {
  padding: 1.2rem;
  text-align: center;
}

.card-info h3 {
  margin-bottom: 0.7rem;
  font-size: 1.6rem;
}

.card-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.card-info button {
  background-color: #ff6b6b;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.card-info button:hover {
  background-color: #ff4c4c;
}

/* Hover 3D */
.card:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.08);
  box-shadow: 0 30px 50px rgba(0,0,0,0.35);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .card {
    width: 280px;
  }

  .card img {
    height: 180px;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: auto;
  animation: fadeIn 0.3s;
}

.modal-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

.modal-video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}


.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Responsive */
@media screen and (max-width: 768px) {
  .cards-wrapper {
    gap: 1rem;
  }
  
  .card {
    width: 180px;
  }

  .card img {
    height: 120px;
  }
}

.servicio-detalle {
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #f7e1c1;
  font-family: "Overlock", sans-serif;
}

.servicio-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.servicio-info h2 {
  font-size: 3rem;
  margin-bottom: 1rem;

  font-family: "Momo Trust Display", sans-serif;
}

.servicio-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.servicio-precio {
  margin-bottom: 2rem;
}

.precio {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Overlock", sans-serif;
}

.servicio-precio small {
  display: block;
  opacity: 0.6;
}

.servicio-actions {
  display: flex;
  gap: 1rem;
}

.servicio-actions button {
  padding: 0.9rem 1.7rem;
  border-radius: 999px; /* pill button */
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: "Overlock", sans-serif;
  letter-spacing: 0.3px;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.servicio-actions .primario {
  background: linear-gradient(135deg, #996d48, #552c15);
  color: #fff;
  box-shadow: 0 8px 20px rgba(83, 39, 10, 0.35);
}

.servicio-actions .primario:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #cc996f, #613013);
}

.servicio-actions .secundario {
  background: transparent;
  color: #2e7d32;
  border: 1.5px solid #2e7d32;
}

.servicio-actions .secundario:hover {
  background: #2e7d32;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(46, 125, 50, 0.25);
}

.servicio-actions button:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  .servicio-actions {
    justify-content: center;
  }

  .servicio-actions button {
    width: 100%;
    text-align: center;
  }
}

.servicio-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.servicio-galeria img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.servicio-galeria img:hover {
  transform: scale(1.05);
}

.servicio-info video {
  width: 90%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.servicio-info video:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .servicio-content {
    grid-template-columns: 1fr;
  }
}
