/*

Theme Name: PERÚTRENDS
Author: PHPPERU
Author URI: https://phpperu.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/


body {
  padding-top: 20px;
}

/* === Header === */
.main-header {
  height: 70px;
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* Ajustes al scroll si quieres cambiar color o sombra luego */
.main-header.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Opcional para resaltar el botón "Anúnciate" */
.text-rojo {
  color: #D52B1E !important;
}

/* === Hero Section === */
.hero-section {
  background-image: url('../images/hero_machu-picchu.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #f1f1f1;
}

.btn-rojo {
  background-color: #D52B1E;
  color: white;
  border: none;
}

.btn-rojo:hover {
  background-color: #b82318;
}

.btn-amarillo {
  background-color: #F6D155;
  color: #000;
  border: none;
}

.btn-amarillo:hover {
  background-color: #e6c043;
}


.slider-hero-home {
  margin-top: 70px; /* compensación del header fijo */
}

.slider-hero-home .carousel-inner {
  height: 100vh;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #f1f1f1;
}

.btn-rojo {
  background-color: #D52B1E;
  color: white;
  border: none;
}

.btn-rojo:hover {
  background-color: #b82318;
}

.btn-amarillo {
  background-color: #F6D155;
  color: #000;
  border: none;
}

.btn-amarillo:hover {
  background-color: #e6c043;
}

/* === Destinos turísticos === */
.destinos-home {
  background-color: #f9f9f9;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #D52B1E;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
}

.destino-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destino-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.destino-card img {
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.btn-rojo-sm {
  background-color: #D52B1E;
  color: white;
  font-size: 0.9rem;
  padding: 6px 16px;
  border: none;
  border-radius: 4px;
}

.btn-rojo-sm:hover {
  background-color: #b82318;
}

/* === Noticias Home === */
.noticias-home {
  background-color: #fff;
}

.noticia-card {
  border: none;
  transition: all 0.3s ease;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.noticia-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.noticia-fecha {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 5px;
}

/* === Gastronomía Home === */
.gastronomia-home {
  background-color: #fefefe;
}

.plato-card {
  border: none;
  transition: all 0.3s ease;
}

.plato-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.plato-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.plato-card .card-title {
  color: #D52B1E;
  font-weight: 600;
}

/* === Cultura Home === */
.cultura-home {
  background-color: #f9f9f9;
}

.cultura-card {
  border: none;
  transition: all 0.3s ease;
}

.cultura-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.cultura-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.cultura-card .card-title {
  color: #8B6D5C; /* Marrón alpaca */
  font-weight: 600;
}

/* === Tendencias Home === */
.tendencias-home {
  background-color: #fff;
}

.tendencia-card {
  border: none;
  transition: all 0.3s ease;
}

.tendencia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.tendencia-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.tendencia-card .card-title {
  color: #000;
  font-weight: 600;
}

/* === Anúnciate === */
.anunciate-home {
  background: linear-gradient(135deg, #D52B1E, #8B6D5C);
  border-top: 5px solid #F6D155;
  border-bottom: 5px solid #F6D155;
}

.anunciate-home .btn-amarillo {
  background-color: #F6D155;
  color: #000;
  border: none;
}

.anunciate-home .btn-amarillo:hover {
  background-color: #e6c043;
}

/* === Suscríbete === */
.suscribete-home {
  background-color: #fdf9f6;
  border-top: 1px solid #eee;
}

.suscribete-home .section-title {
  color: #D52B1E;
  font-weight: 700;
}

.suscribete-home .form-control {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.suscribete-home .btn-rojo {
  background-color: #D52B1E;
  color: white;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.suscribete-home .btn-rojo:hover {
  background-color: #b82318;
}


/* === Transmisión en vivo === */
.en-vivo-home {
  background-color: #111;
}

.en-vivo-home .section-title {
  font-weight: 700;
  color: #F6D155;
}

.en-vivo-home .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
}

.en-vivo-home iframe {
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* === Footer Home === */
.footer-home {
  background-color: #000;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-home .logo-footer {
  font-size: 1.5rem;
  color: #F6D155;
  font-weight: bold;
}

.footer-home h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-home .footer-link {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-home .footer-link:hover {
  color: #F6D155;
}

.footer-home .footer-social {
  font-size: 1.4rem;
  color: #F6D155;
  transition: color 0.3s ease;
}

.footer-home .footer-social:hover {
  color: #fff;
}

/* === Recetas Home === */
.recetas-home {
  background-color: #f8f9fa;
}

.receta-link {
  display: block;
  background-color: #fff;
  border-left: 5px solid #D52B1E;
  padding: 1rem;
  border-radius: 0.5rem;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.receta-link:hover {
  background-color: #f0f0f0;
  color: #D52B1E;
}

.recetas-home .btn.btn-rojo {
  background-color: #D52B1E;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
}

.recetas-home .btn.btn-rojo:hover {
  background-color: #b82318;
}

/* === Tags Home === */
.tags-home {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
}

.tag-link {
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 50px;
  color: #D52B1E;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  background-color: #f9f9f9;
}

.tag-link:hover {
  background-color: #D52B1E;
  color: #fff;
  border-color: #D52B1E;
}

/* === Back to Top === */
.btn-back-top {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 999;
  background-color: #D52B1E;
  color: white;
  font-size: 1.2rem;
  padding: 0.6rem 0.8rem;
  border-radius: 50%;
  text-align: center;
  display: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-back-top:hover {
  background-color: #b82318;
  transform: scale(1.1);
}


/* hero single */
.hero-destino-box h1 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .hero-destino-box h1 {
    font-size: 2.5rem;
  }
}

.galeria-hover {
  cursor: pointer;
}

.galeria-hover img {
  transition: transform 0.3s ease;
}

.galeria-hover:hover img {
  transform: scale(1.05);
}

.galeria-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.375rem; /* igual al rounded de Bootstrap */
}

.galeria-hover:hover .galeria-overlay {
  opacity: 1;
}


.como-llegar-destino h2 {
  font-size: 2rem;
}

.texto-como-llegar {
  font-size: 1rem;
  color: #555;
}

.ratio iframe {
  border-radius: 8px;
}


.mapa-placeholder {
  background-color: #f8f8f8;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.mapa-placeholder {
  height: 300px;
}

.mapa-placeholder img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.placeholder-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
}

.mapa-placeholder:hover img {
  transform: scale(1.03);
}

.mapa-placeholder:hover .placeholder-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}

.actividad-box {
  transition: transform 0.3s ease;
}

.actividad-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.text-rojo {
  color: #c82333; /* rojo peruano */
}


.video-placeholder {
  cursor: pointer;
}

.video-placeholder img {
  object-fit: cover;
}

.video-placeholder .btn {
  z-index: 2;
}


/* Opcional: ajusta el aspecto del slider */
.gallery-slider .swiper-slide {
  padding: 0 10px;
}

.card-related-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-related-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* faqs efectos */
.faq-box {
  transition: all 0.3s ease;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

.faq-box:hover {
  background: #f1f1f1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.accordion-button:hover {
  background-color: #f0f0f0;
  color: #0d6efd;
  transition: background-color 0.3s ease;
}

.nav-link.active {
  color: #d00000 !important; /* rojo fuerte */
  text-decoration: underline;
}

.nav-link:hover {
  color: #d00000;
  text-decoration: underline;
}


.btn-home-pe {
  background: linear-gradient(to bottom, #d50000, #b71c1c);
  color: #fff;
  border: 2px solid white;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: inset 0 2px 0 #ffebee, 0 4px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.btn-home-pe:hover {
  background: linear-gradient(to bottom, #b71c1c, #d50000);
  box-shadow: inset 0 2px 0 #ffffff, 0 6px 10px rgba(0, 0, 0, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.btn-home-pe-m {
  display: inline-block;
  padding: 6px 12px;
  background: #d80027;
  color: white !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.2s ease;
}
.btn-home-pe-m:hover {
  background: #a0001c;
  color: white;
}
/*landig cusco*/

.hero-cusco {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, #fff, #f0f0f0);
  padding: 2rem;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #b30000;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

#map-cusco {
  width: 100%;
  max-width: 1320px;
  height: 600px;
  border: 3px solid #b30000;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Fin landing cusco */


.fade-img {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
}

.fade-img.active {
  opacity: 1;
  z-index: 2;
}
