/* =========================================================
   ANDES TRAVEL BOLIVIA — Hoja de estilos global
   Estilos custom + utilidades del diseño "Premium Minimalism"
   ========================================================= */

/* ---------- Base ---------- */
body {
  background-color: #fbf9f8;
  color: #1b1c1c;
}

/* ---------- Material Symbols ---------- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---------- Patrón "Condor" (puntillismo) ---------- */
.condor-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
}

.condor-pattern-strong {
  background-color: transparent;
  background-image: radial-gradient(#8c7166 0.5px, transparent 0.5px),
    radial-gradient(#8c7166 0.5px, #fbf9f8 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.05;
}

/* ---------- Overlays de hero ---------- */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-gradient {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
    url('../images/hero-home.jpg');
  background-size: cover;
  background-position: center;
}

.card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

/* ---------- Efectos "brush" (pincel) ---------- */
.brush-bg {
  position: relative;
  z-index: 1;
}

.brush-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: #f37021;
  z-index: -1;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  transform: rotate(-2deg);
  opacity: 0.9;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  filter: url('#roughpaper');
}

.brush-accent {
  position: relative;
  display: inline-block;
}

.brush-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 30%;
  background: #f37021;
  z-index: -1;
  opacity: 0.7;
  transform: rotate(-1deg);
  border-radius: 80% 20% 80% 20% / 20% 80% 20% 80%;
}

.badge-accent {
  background: #1b1c1c;
  color: #f37021;
  border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
  transform: rotate(-5deg);
  padding: 8px 16px;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
}

/* ---------- Acordeón de itinerario ---------- */
.itinerary-accordion[open] .accordion-icon {
  transform: rotate(180deg);
}

/* ---------- Hero parallax ---------- */
.parallax-hero {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ---------- Slider de precio (filtros) ---------- */
.slider-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f37021;
  cursor: pointer;
}

.slider-thumb::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: #f37021;
  cursor: pointer;
}

/* ---------- Carrusel: ocultar scrollbar ---------- */
.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ---------- Carrusel: efectos de tarjetas ---------- */
.tour-card {
  position: relative;
}
.tour-card .tour-card-img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.7s ease;
  filter: grayscale(0.35);
}
.tour-card:hover .tour-card-img {
  transform: scale(1.08) rotate(1deg);
  filter: grayscale(0) saturate(1.25) brightness(1.06);
}

/* =========================================================
   ANDES TRAVEL BOLIVIA — Banner publicitario (antes del footer)
   ========================================================= */

/* Eyebrow con marca de agua */
.ad-eyebrow {
  background: #f37021;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(243, 112, 33, 0.35);
  animation: ad-wiggle 3s ease-in-out infinite;
}

/* Título con subrayado animado */
.ad-title {
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

/* Botón CTA con pulso */
.ad-cta {
  position: relative;
  animation: ad-pulse 1.8s ease-in-out infinite;
}
.ad-cta::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 2px solid rgba(243, 112, 33, 0.6);
  animation: ad-ring 1.8s ease-out infinite;
  pointer-events: none;
}

/* Sticker de descuento */
.ad-sticker {
  position: absolute;
  top: 70px;
  right: clamp(16px, 6vw, 90px);
  z-index: 20;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb347, #f37021);
  color: #ffffff;
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(243, 112, 33, 0.5);
  border: 4px dashed rgba(255, 255, 255, 0.6);
  animation: ad-spin-in 1.2s ease-out both, ad-wobble 4s ease-in-out 1.2s infinite;
}
.ad-sticker small {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

/* Cinta marquee */
.ad-marquee {
  position: relative;
  z-index: 15;
  background: #f37021;
  color: #ffffff;
  overflow: hidden;
  padding: 10px 0;
  transform: rotate(-2deg) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.ad-marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: ad-marquee 22s linear infinite;
}
.ad-marquee-track span {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-right: 8px;
}

/* Decoraciones flotantes */
.ad-float {
  position: absolute;
  z-index: 12;
  font-size: 40px;
  opacity: 0.85;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  user-select: none;
}
.ad-float-1 { top: 18%; left: 6%;  animation: ad-float 5s ease-in-out infinite; }
.ad-float-2 { top: 30%; left: 46%; animation: ad-float 6s ease-in-out 0.5s infinite; transform: rotate(12deg); }
.ad-float-3 { bottom: 22%; left: 12%; animation: ad-float 5.5s ease-in-out 1s infinite; }
.ad-float-4 { top: 22%; right: 30%; animation: ad-float 6.5s ease-in-out 0.8s infinite; }
.ad-float-5 { bottom: 16%; right: 16%; animation: ad-float 4.5s ease-in-out 0.3s infinite; }
.ad-float-6 { top: 65%; right: 6%;  animation: ad-float 7s ease-in-out 1.2s infinite; }

/* Animaciones */
@keyframes ad-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(8deg); }
}
@keyframes ad-wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(2deg); }
}
@keyframes ad-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes ad-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes ad-wobble {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(10deg); }
}
@keyframes ad-spin-in {
  from { transform: rotate(0deg) scale(0); }
  to   { transform: rotate(360deg) scale(1); }
}
@keyframes ad-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .ad-sticker {
    top: 60px;
    right: 14px;
    width: 84px;
    height: 84px;
    font-size: 22px;
  }
  .ad-float { font-size: 28px; }
  .ad-float-2 { left: 8%; }
  .primary-gradient { border-image-slice: 1; border-width: 8px; border-image-source: linear-gradient(135deg, #ffb347, #f37021); }
  .error-gradient { border-image-slice: 1; border-width: 8px; border-image-source: linear-gradient(135deg, #f87171, #ef4444); }
}
