/* ═══════════════════════════════════════════════════════════
   Climbing Lions Safari — Custom Styles
   Supplements Tailwind CSS CDN
   ═══════════════════════════════════════════════════════════ */

/* ─── Smooth Scrolling & Overflow Control ─────────────────── */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ─── Custom Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
    background: #C8A96E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B8944E;
}

/* ─── Selection Color ─────────────────────────────────────── */
::selection {
    background-color: rgba(200, 169, 110, 0.3);
    color: #1A1A1A;
}

/* ─── Hero Ken Burns Effect ───────────────────────────────── */
.hero-slide {
    animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -0.5%); }
}

/* ─── Parallax Background ─────────────────────────────────── */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* ─── Text Reveal Animation ───────────────────────────────── */
.reveal-text {
    clip-path: inset(0 100% 0 0);
    animation: revealText 1s ease-out forwards;
}

@keyframes revealText {
    to { clip-path: inset(0 0 0 0); }
}

/* ─── Gradient Text ───────────────────────────────────────── */
.text-gradient-gold {
    background: linear-gradient(135deg, #C8A96E, #D4B882, #B8944E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Image Hover Zoom ────────────────────────────────────── */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
    transform: scale(1.08);
}

/* ─── Card Hover Effects ──────────────────────────────────── */
.card-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ─── Destination Card Overlay ────────────────────────────── */
.destination-card .overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    transition: all 0.5s ease;
}
.destination-card:hover .overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}
.destination-card .card-content {
    transform: translateY(10px);
    transition: transform 0.5s ease;
}
.destination-card:hover .card-content {
    transform: translateY(0);
}
.destination-card .card-tagline {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}
.destination-card:hover .card-tagline {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Swiper Customization ────────────────────────────────── */
.swiper-pagination-bullet {
    background: #C8A96E !important;
    opacity: 0.4 !important;
    width: 10px !important;
    height: 10px !important;
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 5px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #C8A96E !important;
    background: rgba(26, 26, 26, 0.7);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* ─── Loading Skeleton ────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #E8E4DF 25%, #F0EDE8 50%, #E8E4DF 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ─── Section Decorative Line ─────────────────────────────── */
.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8A96E, #D4B882);
    border-radius: 2px;
}

/* ─── Counter Animation ──────────────────────────────────── */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ─── Booking Wizard Steps ────────────────────────────────── */
.step-indicator {
    position: relative;
}
.step-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background: #E8E4DF;
    transform: translateY(-50%);
}
.step-indicator:last-child::after {
    display: none;
}
.step-indicator.active::after {
    background: linear-gradient(90deg, #C8A96E, #E8E4DF);
}
.step-indicator.completed::after {
    background: #C8A96E;
}

/* ─── Blog Content Styling ────────────────────────────────── */
.blog-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}
.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}
.blog-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #3A3A3A;
}
.blog-content img {
    border-radius: 1rem;
    margin: 2rem 0;
    width: 100%;
    height: auto;
}
.blog-content ul, .blog-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #3A3A3A;
}
.blog-content blockquote {
    border-left: 4px solid #C8A96E;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #FAF7F2;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #2D4A3E;
}

/* ─── Itinerary Day Marker ────────────────────────────────── */
.day-marker {
    position: relative;
}
.day-marker::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #C8A96E, #E8E4DF);
}
.day-marker:last-child::before {
    display: none;
}

/* ─── RTL Support ─────────────────────────────────────────── */
[dir="rtl"] .section-line {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .day-marker::before {
    left: auto;
    right: 24px;
}

/* ─── Print Styles ────────────────────────────────────────── */
@media print {
    header, footer, .floating-cta, .back-to-top, .cookie-consent, .live-chat {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ─── Mobile Bottom Spacing (for floating CTA bar) ────────── */
@media (max-width: 1023px) {
    footer {
        padding-bottom: 80px;
    }
}

/* ─── Luxury Divider ──────────────────────────────────────── */
.luxury-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.luxury-divider::before,
.luxury-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C8A96E, transparent);
}

/* ─── Vehicle Card Shine Effect ───────────────────────────── */
.vehicle-card {
    position: relative;
    overflow: hidden;
}
.vehicle-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    transition: transform 0.7s;
}
.vehicle-card:hover::after {
    transform: rotate(30deg) translate(50%, 50%);
}

/* ─── Testimonial Quote Mark ──────────────────────────────── */
.quote-mark::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: #C8A96E;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 0;
}

/* ─── Focus Styles (Accessibility) ────────────────────────── */
*:focus-visible {
    outline: 2px solid #C8A96E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .hero-slide {
        animation: none;
    }
    .parallax-bg {
        background-attachment: scroll;
    }
}
