/*
Theme Name: Travels VicMac
Theme URI: https://them.es/starter-fse
Author: travels-vicmac
Author URI: https://www.okidokitravelperu.com/
Description: Tema para agencias de viajes y turismo en general
Version: 1.2.7
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Text Domain: travels-vicmac
Tags: full-site-editing, one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

.wp-site-blocks {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
}
header.wp-block-template-part {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}
header.site-header {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}
.wp-block-column img {
  max-width: 100%;
  height: auto;
  display: block;
}



/* ===== NAV GENERAL ===== */
.wp-block-navigation {
  font-weight: 500;
}

/* ===== LINKS ===== */
.wp-block-navigation a {
  text-decoration: none;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

/* Hover elegante */
.wp-block-navigation a:hover {
  color: #0073ff;
}

/* ===== DROPDOWN ===== */
.wp-block-navigation .wp-block-navigation__submenu-container {
  display: none;
  position: absolute;
  background: white;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 8px;
  animation: fadeIn 0.3s ease;
}

/* Mostrar submenu */
.wp-block-navigation .wp-block-navigation-item:hover > .wp-block-navigation__submenu-container {
  display: block;
}

/* Submenu links */
.wp-block-navigation .wp-block-navigation__submenu-container a {
  display: block;
  padding: 10px 20px;
}

/* ===== ANIMACIÓN ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .wp-block-navigation {
    width: 100%;
  }
}

.wp-block-navigation a {
  position: relative;
}

.wp-block-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0%;
  height: 2px;
  background: #0073ff;
  transition: width 0.3s;
}

.wp-block-navigation a:hover::after {
  width: 100%;
}


/* Contenedor de submenús */
.wp-block-navigation .wp-block-navigation__submenu-container {
  display: none; /* oculto por defecto */
  position: absolute;
  background: white;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 5px;
  z-index: 1000;
}

/* Mostrar submenú al hover */
.wp-block-navigation .wp-block-navigation-item:hover > .wp-block-navigation__submenu-container {
  display: block;
}

/* Estilo de enlaces del submenú */
.wp-block-navigation .wp-block-navigation__submenu-container a {
  display: block;
  padding: 8px 15px;
  white-space: nowrap;
}

/* Opcional: animación */
.wp-block-navigation .wp-block-navigation__submenu-container {
  animation: fadeIn 0.25s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .wp-block-navigation {
    width: 100%;
  }
  .wp-block-navigation .wp-block-navigation__submenu-container {
    position: relative; /* submenú debajo del item en móvil */
  }
}




/* Menú horizontal en escritorio */
.site-header {
  background: transparent;
  padding: 10px 20px;
  margin: 0px 0px 0px 0px;
}

/* Primera fila */
.header-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  background-color: #dedede;
  padding: 15px 15px 15px 15px;
}

.header-top .logo img {
  max-width: 180px;
}

.header-top .email,
.header-top .whatsapp {
  text-align: center;
}

.header-top .social {
  text-align: right;
}

.header-top .social a {
  margin-left: 10px;
}

/* Segunda fila: menú horizontal */
.header-bottom {
  margin: 0px 0px 0px 0px;
  padding: 10px 10px;
  background-color: #000;
}



.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.nav-menu li {
  position: relative;
}
.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #dedede;
}
.nav-menu li:hover ul {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .header-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-menu li ul {
    position: static;
  }
}


/* Ajustes en móvil */
@media (max-width: 768px) {
  .tmf-stick-header {
    flex-direction: column; /* logo arriba, menú debajo */
    align-items: stretch;   /* que ocupe todo el ancho */
  }

}





.site-footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h3 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-description {
  margin: 15px 0;
  line-height: 1.5;
}

.footer-social a {
  margin-right: 10px;
  color: #fff;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  font-size: 24px;
  z-index: 999;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 20px;
  }
}



.wp-block-group.alignfull {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* Contenedor principal de páginas y entradas */
.wp-block-group.alignfull {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* Títulos principales */
.wp-block-post-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

/* Metadatos de entradas */
.wp-block-group .wp-block-post-date,
.wp-block-group .wp-block-post-author,
.wp-block-group .wp-block-post-terms {
  font-size: 14px;
  color: #666;
  margin: 0 10px;
}

/* Contenido */
.wp-block-post-content {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Imagen destacada */
.wp-block-post-featured-image img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .wp-block-post-title {
    font-size: 32px;
  }
  .wp-block-post-content {
    font-size: 15px;
  }
}
.tour-card-image {
  position: relative;
}

.tour-card-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
}

.tour-card-icon {
  margin-right: 6px;
  color: #ff6600; /* color del ícono */
}

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.wp-block-query.alignwide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}




/* Contenedor parallax */
.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Capa oscura para mejorar contraste */
.parallax::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  opacity: 0;
  animation: fadeInOverlay 1.5s ease forwards;
}


/* Contenido encima del parallax */
.contenido-parallax {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  padding: 50px;
  max-width: 90%;
  text-align: center;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpContent 1.5s ease forwards 0.5s;
}

/* Animaciones */
@keyframes fadeInOverlay {
  to { opacity: 1; }
}

@keyframes fadeUpContent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}