/* EnchantXP — Luxury Editorial Theme */

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   ACCENT & UTILITY CLASSES
   ═══════════════════════════════════════════ */

.accent-text {
    color: #C41E3A;
}

.accent-bg {
    background-color: #C41E3A;
}

.gradient-text {
    color: #C41E3A;
    -webkit-text-fill-color: #C41E3A;
}

.gradient-bg {
    background: #1a1a1a;
}

.gradient-bg-light {
    background: #FAF9F6;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */

.navbar-scrolled {
    background: rgba(250, 249, 246, 0.97) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.navbar-scrolled .nav-link {
    color: #1a1a1a !important;
}

.navbar-scrolled .logo-white {
    display: none;
}

.navbar-scrolled .logo-dark {
    display: block;
}

/* ═══════════════════════════════════════════
   HERO — CREATIVE SPLIT LAYOUT
   ═══════════════════════════════════════════ */

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.2) 100%),
        linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 40%);
    z-index: 1;
}

@media (max-width: 1023px) {
    .hero-slide::after {
        background:
            linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 100%),
            linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.15) 100%);
    }
}

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

/* Hero title */
.hero-title {
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.3);
    will-change: transform, opacity;
}

/* Text exit: slide UP and fade out */
.hero-text-exit {
    animation: heroTextOut 0.4s ease-in forwards;
}

@keyframes heroTextOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-40px);
    }
}

/* Text enter: slide UP from below and fade in */
.hero-text-enter {
    animation: heroTextIn 0.5s ease-out forwards;
}

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

/* Right-side preview cards */
.hero-preview-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.hero-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

/* Hero title responsive — fine-tuned for small screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 36px !important;
    }
}

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */

.destination-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.1);
}

.destination-card .card-img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card {
    transition: all 0.4s ease;
    background: transparent;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.08);
}

.blog-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.08);
}

.blog-card .blog-img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.04);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn-primary {
    background: #1a1a1a;
    color: #fff;
    transition: all 0.4s ease;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-primary-gradient {
    background: #1a1a1a;
    color: #fff;
    transition: all 0.4s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn-primary-gradient:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    background: transparent;
    transition: all 0.4s ease;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-outline-gradient {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    background: transparent;
    transition: all 0.4s ease;
}

.btn-outline-gradient:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ═══════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════ */

.section-divider {
    width: 60px;
    height: 1px;
    background: #C41E3A;
    margin: 0 auto;
}

.section-divider-left {
    width: 60px;
    height: 1px;
    background: #C41E3A;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

/* ═══════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FAF9F6;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C41E3A;
}

/* ═══════════════════════════════════════════
   PAGE HERO BANNERS (inner pages)
   ═══════════════════════════════════════════ */

.page-hero {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.65), rgba(26, 26, 26, 0.75)),
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920') center/cover;
    min-height: 350px;
}

/* ═══════════════════════════════════════════
   FORM INPUTS
   ═══════════════════════════════════════════ */

input:focus, textarea:focus, select:focus {
    border-color: #C41E3A !important;
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.12) !important;
}

/* ═══════════════════════════════════════════
   SWIPER OVERRIDES
   ═══════════════════════════════════════════ */

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    transition: all 0.4s ease !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    width: 32px !important;
    border-radius: 4px !important;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

/* ═══════════════════════════════════════════
   ITINERARY / DESTINATION PAGES
   ═══════════════════════════════════════════ */

.itinerary-timeline {
    position: relative;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e5e5e5;
}

.itinerary-day-card {
    transition: all 0.3s ease;
}

.itinerary-day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.08);
}

.attraction-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.attraction-card .attraction-img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stepper-btn {
    transition: all 0.2s ease;
}

.stepper-btn:active {
    transform: scale(0.92);
}

@keyframes selectPulse {
    0% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.3); }
    70% { box-shadow: 0 0 0 10px rgba(196, 30, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0); }
}

.select-pulse {
    animation: selectPulse 0.6s ease-out;
}

.facts-card {
    backdrop-filter: blur(10px);
}

.timeline-connector {
    position: relative;
}

.timeline-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 1px;
    background: #e5e5e5;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

::selection {
    background: rgba(196, 30, 58, 0.25);
    color: #1a1a1a;
}

/* ═══════════════════════════════════════════
   PARALLAX IMAGE REVEAL
   ═══════════════════════════════════════════ */

.img-reveal {
    overflow: hidden;
}

.img-reveal img {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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