* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
/* fonts*/
@font-face {
  font-family: "BigNoodleTitling";
  src: url("/fonts/big_noodle_titling.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "futura-light";
  src: url("/fonts/futuralight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "futura-medium";
  src: url("/fonts/Futura\ Medium.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Navegación */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: #f55624;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border: 1px solid black;
  height: 18vh;
  position: fixed;
}

.nav-container {
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
}
.nav-container.containerscroll {
  height: 18vh;
}

.logo-icon {
  width: clamp(100px, 15vw, 350px);
  height: auto;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  max-width: 100%; /* Se ajusta al ancho del contenedor */
  max-height: 100%; /* Se ajusta a la altura del contenedor */
  width: 50%;
  height: auto;
  object-position: center;
}

.logo-icon.shrink .imglogo {
  height: 17vh; /* Ajusta según el tamaño del logo */
  width: 7vw;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 2rem;
  justify-content: center;
}

/* Hover con diferentes colores */
.navbar ul li:nth-child(1) a:hover {
  background: #3fc89a;
  border: 2px solid black;
}
.navbar ul li:nth-child(2) a:hover {
  background: #ed2b4b;
  border: 2px solid black;
}
.navbar ul li:nth-child(3) a:hover {
  background: #f49c15;
  border: 2px solid black;
}
.navbar ul li:nth-child(4) a:hover {
  background: #79c832;
  border: 2px solid black;
}
.navbar ul li:nth-child(5) a:hover {
  background: #f55624;
  border: 2px solid black;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: "BigNoodleTitling";
  background-color: #f7edd5;
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid black;
  cursor: pointer;
}

.navbar.scrolled .nav-link {
  color: black;
}

.navbar.scrolled .nav-link::before {
  background: rgba(102, 126, 234, 0.1);
}

.nav-link:hover {
  transform: translateY(-2px);
}

.scroll-text {
  font-size: 1.5rem;
}
/* NUEVOS ESTILOS PARA EL DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: " ▼";
  font-size: 0.9rem;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f7edd5;
  min-width: 250px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 1rem 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  font-family: "BigNoodleTitling";
  font-size: 1.6rem;
}
.scroll-drop {
  font-size: 1.5rem;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f7edd5;
  color: black;
  padding-left: 2rem;
}

/* Sección con Collage */
.collage-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f7edd5;
}

/* Contenedor del collage */
.collage-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  overflow: hidden;
}

/* Imágenes del collage */
.collage-image {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.8) rotate(15deg);
}

.collage-image.animate {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.collage-image:hover {
  transform: scale(1.1) rotate(-5deg);
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Posicionamiento de imágenes */
.img-1 {
  bottom: 32.9%;
  right: 39.8%;
  width: 19.1%;
  height: 25.9%;
  background-image: url("/media/banner-contacto/gato.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: float 5s ease-in-out infinite reverse;
  border: 1.5px black solid;
}

.img-2 {
  top: 42%;
  left: 26.7%;
  width: 14%;
  height: 36%;
  background-image: url("/media/banner-contacto/loro.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: float 10s ease-in-out infinite;
  border: 1.5px black solid;
}
.img-3 {
  top: 42%;
  left: 60.4%;
  transform: translate(-50%, -50%);
  width: 14%;
  height: 36%;
  background-image: url("/media/banner-contacto/perro.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: float 9s ease-in-out infinite;
  border: 1.5px black solid;
}
.img-4 {
  top: 5%;
  left: 43.5%;
  width: 14%;
  height: 36%;
  background-image: url("/media/banner-contacto/pio.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: float 10s ease-in-out infinite;
  border: 1.5px black solid;
}
.img-5 {
  top: 13%;
  left: 24.2%;
  width: 19.1%;
  height: 28.9%;
  background-image: url("/media/banner-contacto/sapo.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: float 7s ease-in-out infinite;
  border: 1.5px black solid;
}

/* Animación de flotación */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-0px) rotate(0deg);
  }
}

/* Contenido principal*/
.banner-content {
  text-align: center;
  color: white;
  z-index: 20;
  position: relative;
  padding: 20px 20px;
  background: rgba(247, 237, 213, 0.8);
  border-radius: 20px;
  opacity: 0;
  animation: titleReveal 2s ease-out 2.5s forwards;
  display: block;
}

.title {
  font-family: "BigNoodleTitling";
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0rem;
  opacity: 0;
  color: #f55624;
  letter-spacing: 5px;
  transform: translateY(50px);
  animation: titleSlideIn 1.5s ease-out 3s forwards;
}

/* Animación de aparición */
@keyframes titleReveal {
  from {
    opacity: 0;
    transform: scale(0.3) rotateY(90deg);
    filter: blur(20px);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1) rotateY(45deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    filter: blur(0px);
  }
}
@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sección de contenido normal */
.principal-section {
  background: #f7edd5;
  padding: clamp(40px, 8vw, 80px) clamp(10px, 3vw, 20px);
  min-height: 100vh;
}

.containers {
  max-width: 1800px;
  margin: 0 clamp(20px, 4vw, 80px);
  margin-bottom: 4%;
}

.content-title {
  font-family: "futura-medium";
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #f55624;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.content-subtitle {
  font-family: "futura-medium";
  color: #f55624;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin-bottom: 0.5rem;

  text-align: left;
}
.container-text {
  display: grid;
  grid-template-columns: 1fr 300px; /* Columna principal flexible, aside fijo */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem;
}
.content-text {
  font-family: "futura-light";
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: black;
  text-align: justify;
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
  margin-top: 2%;
}
.left {
  margin-right: 50px;
  text-align: left;
}
.main-content {
  /* Contenedor para el párrafo y formulario */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.content-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 20px;
}
.contact-form {
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(231, 76, 60, 0.1);
}
.form-title {
  font-family: "futura-medium";
  color: #f55624;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  color: #333;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: "futura-medium";
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: "futura-light";
}

.form-group h4 {
  color: black;
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: "futura-medium";
}
.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
.error-message.show {
  display: block;
}
.success-message {
  display: none;
  background: #2ecc71;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  animation: slideDown 0.5s ease;
}

.success-message.show {
  display: block;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: block !important;
}
.check {
  margin-right: 10px;
  color: #f55624;
  cursor: pointer;
}

.submit-button {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  display: block;
  margin: 30px auto 0;
  min-width: 200px;
  font-family: "futura-medium";
}

.submit-button:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.contact-details {
  align-self: start; /* Evita que se estire verticalmente */
  position: sticky;
  top: 2rem; /* Se mantiene visible al hacer scroll */
}
.header-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 30px;
}
.flag {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.made {
  font-weight: bold;
  color: black;
  font-size: 1.2rem;
  text-align: center;
  font-family: "futura-medium";
}
.schedule h3 {
  color: #f55624;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-family: "futura-medium";
  margin-top: 50px;
}
.days {
  color: black;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  font-family: "futura-medium";
}
.hours {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
  font-family: "futura-medium";
}
/* .second {
  margin-top: 290px;
}
.header-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.icons {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-right: 15px;
}
.follow {
  font-weight: bold;
  color: #e74c3c;
  font-size: 1.6rem;
  text-align: center;
  font-family: "futura-medium";
} */

.button-contact h4 {
  color: #f55624;
  font-size: 1.2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: "futura-medium";
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: black;
  padding: 8px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border: 3px solid #128c7e;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  font-family: "futura-medium";
  width: fit-content;
  margin: 0 auto;
}
.whatsapp-button:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.whatsapp-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */

/* Botón  para móvil */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #f55624;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar.scrolled .mobile-menu-btn span {
  background: #333;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media screen and (max-width: 1024px) {
  .nav-container {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /* Fijar el tamaño del logo en mobile */
  .logo-icon {
    width: 120px; /* ajusta según tu necesidad */
    height: auto;
    flex-shrink: 0; /* evita que se comprima */
  }
  /* Si el logo es una imagen */
  .imglogo {
    width: 100%;
    height: auto;
    max-width: 120px;
  }
  .navbar.scrolled {
    height: 18vh;
  }
  /* Asegurar que el logo mantenga el mismo tamaño incluso con scroll en mobile */
  .navbar.scrolled .imglogo {
    width: 65%; /* mismo tamaño que arriba */
    height: auto;
  }
  .mobile-menu-btn {
    display: flex;
    flex-shrink: 0; /* evita que se comprima */
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #f7edd5;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .navbar ul li:nth-child(1) a {
    background: #3fc89a;
    border: 2px solid black;
  }
  .navbar ul li:nth-child(2) a {
    background: #ed2b4b;
    border: 2px solid black;
  }
  .navbar ul li:nth-child(3) a {
    background: #f49c15;
    border: 2px solid black;
  }
  .navbar ul li:nth-child(4) a {
    background: #79c832;
    border: 2px solid black;
  }
  .navbar ul li:nth-child(5) a {
    background: #f55624;
    border: 2px solid black;
  }
  .nav-item {
    margin: 0.5rem 0;
    position: relative;
  }

  .nav-link {
    padding: 1rem;
    display: block;
    font-size: 1.1rem;
  }

  /* Dropdown en móvil */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #f7edd5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 300px;
  }

  .dropdown-item {
    color: black;
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
  }

  .dropdown-item:hover {
    background-color: #2c3e50;
  }

  .dropdown-toggle::after {
    content: " ▼";
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
  }

  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Indicador visual para móvil */
  .dropdown-toggle {
    position: relative;
  }

  .dropdown-toggle::before {
    content: "Toca para ver opciones";
    position: absolute;
    right: -10px;
    top: -25px;
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  /* Mantener la estructura básica de la sección */
  .collage-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f7edd5;
    padding: 20px;
  }

  /* Simplificar el collage para mobile - Grid ordenado */
  .collage-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Más sutil para que no compita con el texto */
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    padding: 15px;
  }

  /* Resetear todas las imágenes del collage */
  .collage-image {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8) rotate(15deg);
  }
  .collage-image.animate {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  /* Quitar efectos hover en mobile */
  .collage-image:hover {
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  /* Optimizar el banner de contenido para mobile */
  .banner-content {
    text-align: center;
    color: white;
    z-index: 20;
    position: relative;
    padding: 25px 20px;
    background: rgba(
      247,
      237,
      213,
      0.95
    ); /* Más opaco para mejor legibilidad */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    border-radius: 20px;
    opacity: 0;
    animation: titleReveal 2s ease-out 2.5s forwards;
    display: block;
    max-width: 95%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  /* Ajustar tamaños de texto para mobile */
  .title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }

  /* Sección principal */
  .principal-section {
    padding: 30px 15px;
  }

  .containers {
    margin-bottom: 2.5rem;
  }

  /* Tipografía */
  .content-subtitle {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .content-text {
    font-size: 1rem;
    text-align: left;
    margin-top: 1rem;
    margin-right: 0;
  }
  .container-text {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}
