/* ===== Inline <style> bloque 1 ===== */
/* Estilos reutilizados de detail_maqueta.html */
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Estilos para Swiper */
.swiper-container {
    padding: 10px 0 30px !important;
}

.swiper-slide {
    height: auto !important;
}

.swiper-button-prev,
.swiper-button-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-container:hover .swiper-button-prev,
.swiper-container:hover .swiper-button-next {
    opacity: 1;
}

/* Estilos para cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

/* ===== Inline <style> bloque 2 ===== */
/* Mejoras para accesibilidad */
.focus-visible {
    outline: 2px solid #FB7305;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {

    .reduce-motion *,
    .reduce-motion *::before,
    .reduce-motion *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .card-hover:hover {
        transform: none !important;
    }

    .swiper-slide img {
        transition: none !important;
    }
}

/* Mejoras para móviles */
@media (max-width: 640px) {
    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* Mejoras para tablet */
@media (min-width: 641px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Optimización de imágenes */
img {
    content-visibility: auto;
}

/* Prevenir layout shift */
.aspect-\[4\/3\] {
    position: relative;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
}

.aspect-\[4\/3\]>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mejorar rendimiento de animaciones */
.card-hover {
    will-change: transform;
}

/* Optimización de Swiper */
.swiper-slide {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Mejorar contraste para accesibilidad */
@media (prefers-contrast: high) {
    .text-slate-600 {
        color: #1e293b !important;
    }

    .text-slate-400 {
        color: #64748b !important;
    }
}

/* Soporte para navegadores antiguos */
@supports not (aspect-ratio: 4/3) {
    .aspect-\[4\/3\] {
        height: 0;
        padding-bottom: 75%;
        overflow: hidden;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Prevenir zoom en iOS */
input,
textarea,
select {
    font-size: 16px !important;
}

/* Mejorar legibilidad */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shadow personalizado para consistencia */
.shadow-soft {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

/* Corrección para dark mode en Safari */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color: transparent) {
        .dark .bg-slate-900 {
            background-color: #0f172a !important;
        }
    }
}

/* ===== Inline <style> bloque 3 ===== */
/* Estilos adicionales para las nuevas secciones */
.quiz-option {
    transition: all 0.3s ease;
}

.quiz-option:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-variant-numeric: tabular-nums;
}

/* Animación para los filtros de categoría */
.destino-card {
    transition: all 0.3s ease;
}

/* Efecto de shimmer para las ofertas relámpago */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.flash-sale {
    position: relative;
    overflow: hidden;
}

.flash-sale::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

/* ===== Migrado desde style="width: 0%" ===== */
#progress-bar {
    width: 0%;
}