/*========== GOOGLE FONTS ==========*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;700&family=Roboto:wght@100..900&family=Raleway:wght@300;400;700&family=Play&display=swap');

/*========== VARIABLES ==========*/
:root {
  --header-font: 'Bebas Neue', sans-serif;
  --menu-font: 'Raleway', sans-serif;
  --body-font: 'Roboto', sans-serif;
  --highlight-font: 'Oswald', sans-serif;

  /* Tamaños y colores */
  --normal-font-size: 1rem;
  --text-color: black;
  --background-color: #f4f4f4;
  --header-bg-color: #2c3e50;
  --primary-color-1: #e74c3c;
  --primary-color: #e74c3c;
  --new-color: #1d3340;
}

h1 {
  font-size: 2.5rem;
  font-family: var(--header-font);
  color: var(--primary-color);
  letter-spacing: 0.1rem;
}

h2 {
  font-size: 2rem;
  font-family: var(--highlight-font);
  color: var(--text-color);
}

p {
  font-size: 1rem;
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
}

/* GENERAL STYLES */
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color-1);
  padding: 0 1rem;
  z-index: 100;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__img {
  margin-right: 100px;
  width: 180px;
  border-radius: 15px;
}

.header__toggle {
  font-size: 2rem;
  color: var(--background-color);
  cursor: pointer;
}

/* Estilo para el contenedor de búsqueda */


.header__search {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.header__search h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
  font-family: 'Comic Sans MS', cursive;
  font-size: 24px;
  color: var(--background-color);
}

@media (max-width: 768px) {
  .header__search h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header__search {
    padding: 0.5rem;
  }

  .header__search h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

/*========== NAV ==========*/
.nav {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 2rem 2rem 0;
  background-color: var(--primary-color-1);
  box-shadow: 2px 0 0 rgba(22, 8, 43, 0.1);
  z-index: 100;
  transition: .4s;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none;
}

.nav__container::-webkit-scrollbar {
  display: none;
}

.nav_link {
  text-decoration: none;
}

.nav_logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--header-font);
  font-size: 55px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__list,
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 2.5rem;
}

.nav__items {
  row-gap: 1.5rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--background-color);
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
  color: var(--background-color);
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
  color: var(--background-color);
}

.nav__logout {
  margin-top: 20rem;
}

.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: var(--background-color);
  border-radius: 1rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.nav_dropdown-icon {
  color: var(--header-bg-color);
}

.nav__dropdown-item:hover {
  color: var(--header-bg-color);
}

.nav__dropdown-icon {
  margin-left: auto;
  transition: .4s;
}

.nav__dropdown:hover {
  max-height: 100rem;
}

.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.show-menu {
  left: 0;
}

.active {
  color: var(--header-bg-color);
}

/* ========== MEDIA QUERIES ==========*/
@media screen and (min-width: 768px) {
  body {
    padding: 0px 0px 0px 60px;
    margin: 0;
  }

  .header {
    padding: 0 3rem 0 6rem;
  }

  .header__toggle {
    display: none;
  }

  .header__logo {
    width: 200px;
    height: 100px;
  }

  .header__img {
    width: 100px;
    height: 50px;
  }

  .nav {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px;
  }

  .nav__items {
    row-gap: 1.7rem;
  }

  .nav__icon {
    font-size: 1.3rem;
  }

  .nav__logo-name,
  .nav__name,
  .nav__subtitle,
  .nav__dropdown-icon {
    opacity: 0;
    transition: .3s;
  }

  .nav:hover {
    width: 219px;
  }

  .nav:hover .nav__logo-name {
    opacity: 1;

  }

  .nav:hover .nav__subtitle {
    opacity: 1;
  }

  .nav:hover .nav__name {
    opacity: 1;
  }

  .nav:hover .nav__dropdown-icon {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .nav__logo-img {
    max-width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .nav__logo-img {
    max-width: 100px;
  }
}

/* Ajusta los estilos responsivos */
@media (max-width: 768px) {
  .header__container {
    height: auto;
    margin: 5px;

  }

  .header__container a span {
    font-size: 1.5rem;
  }

  .header__img {
    width: 150px;
  }
}
/* ========== Carrusel-slider==========*/
#container-slider {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 0;
  margin-bottom: 40px;
  /* Ajusta según necesites */
}

.main-container {
  padding-top: 60px;
  min-height: 100vh;
}

#container-slider {
  width: 100%;
  height: calc(100vh - 60px);
  background: var(--background-color);
  position: relative;
}

.carousel-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  width: 100%;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--header-bg-color);
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Media query para pantallas más anchas que altas */
@media (min-aspect-ratio: 16/9) {
  .carousel-item img {
    width: 100%;
    height: auto;
  }
}

/* Media query para pantallas más altas que anchas */
@media (max-aspect-ratio: 16/9) {
  .carousel-item img {
    height: 100%;
    width: auto;
  }
}

.carousel-item .loading-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background-color);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: var(--background-color);
  padding: 1rem;
  border: none;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.carousel-button-prev {
  left: 20px;
}

.carousel-button-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.dot.active {
  background: var(--background-color);
  transform: scale(1.2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#additional-section {
  padding: 2rem;
  background: var(--background-color);
  min-height: 100vh;
}

@media (max-width: 768px) {
  .carousel-button {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
  }

  .carousel-button-prev {
    left: 10px;
  }

  .carousel-button-next {
    right: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Animación de aparición desde abajo */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Estilos de la caja del carrusel */
.carousel-caption {
  position: absolute;
  bottom: 10%;
  /* Bajando más la caja */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--background-color);
  width: 80%;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  z-index: 1;
  opacity: 0;
  /* Inicialmente oculta */
  animation: fadeInUp 1s ease-out 0.5s forwards;
  /* Aparece suavemente */
}

.carousel-caption p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--background-color);
  /* Texto en color blanco */
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 8%;
    width: 90%;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .carousel-caption {
    bottom: 5%;
    padding: 10px;
  }
}


/* Contenedor principal */
.services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Estilo de cada servicio */
.service {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.service h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.service p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Estilos responsivos */
@media (max-width: 768px) {

  .service {
    padding: 1rem;
  }

  .service h3 {
    font-size: 1.2rem;
  }

  .service p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .separador h2 {
    font-size: 1.5rem;
  }

  .service img {
    width: 80px;
  }

  .service h3 {
    font-size: 1rem;
  }

  .service p {
    font-size: 0.85rem;
  }
}

.service-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background-color: #007bff;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.service-btn:hover {
  background-color: #0056b3;
}

/* Contenedor principal */
.team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.team p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #666;
}

/* Grid de miembros del equipo */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Estilo de cada miembro del equipo */
.team-member {
  text-align: center;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-member p {
  font-size: 1rem;
  color: #555;
}
/* Contenedor de iconos */
.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  color: #555;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a.instagram:hover {
  color: #E4405F;
}

.social-links a.whatsapp:hover {
  color: #25D366;
}

.social-links a.facebook:hover {
  color: #1877F2;
}


/* Estilos responsivos */
@media (max-width: 768px) {
  .team p {
    font-size: 0.9rem;
  }
  .team-member {
    padding: 1rem;
  }
  .team-member h3 {
    font-size: 1rem;
  }
  .team-member p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .team p {
    font-size: 0.85rem;
  }
  .team-member img {
    width: 80px;
    height: 80px;
  }
  .team-member h3 {
    font-size: 0.9rem;
  }
  .team-member p {
    font-size: 0.8rem;
  }
}



/* Contenedor principal */
.blog .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid de publicaciones del blog */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Estilo de cada publicación */
.post {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.post img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  margin-bottom: 1rem;
}

.post h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.post p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.post a {
  display: inline-block;
  margin-top: 1rem;
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #007BFF;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.post a:hover {
  background-color: #007BFF;
  color: #fff;
}

/* Estilos responsivos */
@media (max-width: 768px) {

  .post {
    padding: 1rem;
  }

  .post h3 {
    font-size: 1.2rem;
  }

  .post p {
    font-size: 0.9rem;
  }

  .post a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {

  .post img {
    margin-bottom: 0.8rem;
  }

  .post h3 {
    font-size: 1rem;
  }

  .post p {
    font-size: 0.85rem;
  }

  .post a {
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
  }
}
/* Estilos generales para la sección */
.separador {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f4f4f4;
}

.separador h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Contenedor principal */
.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Estilos para el slider de testimonios */
.testimonials-slider {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  flex: 0 0 auto;
  width: 300px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: center;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.testimonial p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial span {
  display: block;
  font-size: 1.1rem;
  color: #333;
  font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .testimonial {
    width: 250px;
    padding: 1rem;
  }

  .testimonial p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .separador h2 {
    font-size: 1.5rem;
  }

  .testimonial {
    width: 90%;
    padding: 1rem;
  }

  .testimonial p {
    font-size: 0.85rem;
  }
}


/* Separador-Titulos*/
.separador {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 40px;

}

/* Estilos para el título dentro de la sección separadora */
.separador h2 {
  color: #2c3e50;
  padding: 15px 20px;
  display: inline-block;
  border-radius: 50px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.separador h2:hover {
  transform: translateY(-5px);
}

/* WhatsApp-Flotante*/
.container-boton {
  background-color: #2e6329;
  border: 1px solid #fff;
  position: fixed;
  z-index: 999;
  border-radius: 100%;
  bottom: 15px;
  right: 15px;
  padding: 15px;
  transition: ease 0.3s;
  animation: efecto 1.2s infinite;
}

.container-boton:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.boton {
  width: 60px;

  transition: ease 1s;
}

@keyframes efecto {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
  }

  100% {
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
  }
}

/* FOOTER GENERAL */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 5px solid #e74c3c;
}

/* TÍTULOS */
.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #e74c3c;
  font-family:"Yatra One", system-ui; 
}

/* SECCIÓN CONTACT INFO */
.contact-info {
  width: 48%;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid white;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info hr {
  border: 1px solid #fff;
  margin: 10px 0;
}

/* SECCIÓN REDES SOCIALES */
.social-media {
  width: 48%;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.social-media .separator {
  width: 60px;
  height: 2px;
  background-color: #e74c3c;
  margin-bottom: 15px;
}

.social-media p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ITEMS DE REDES SOCIALES */
.social-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.social-item a {
  color: #ecf0f1;
  font-size: 1.8rem;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-item a:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

.description {
  font-size: 1rem;
  color: #bdc3c7;
}

/* SECCIÓN SUGERENCIAS */
.sugerencias {
  margin-top: 20px;
}

.sugerencias h3 {
  font-size: 1.2rem;
  color: #e74c3c;
  margin-bottom: 10px;
}

.sugerencias form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sugerencias input,
.sugerencias textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #e74c3c;
  border-radius: 5px;
  background-color: white;
  color:black;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.sugerencias input:focus,
.sugerencias textarea:focus {
  border-color: #e74c3c;
  background-color: white;
  outline: none;
}

.sugerencias textarea {
  resize: none;
  height: 100px;
}

.sugerencias button {
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #ecf0f1;
  background-color: #e74c3c;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sugerencias button:hover {
  background-color: #e74c3c;
  transform: scale(1.05);
}

.sugerencias button:active {
  transform: scale(1);
}

/* MEDIA QUERY PARA RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .social-media {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
    border: none;
  }

  .contact-info h3,
  .social-media h3 {
    text-align: center;
  }

  .social-item {
    justify-content: center;
  }
}