/* Tour Carousel Hero - Full Screen Auto-Rotating Expedition Showcase */
/* IMPORTANT: No gradients allowed per CLAUDE.md - using solid colors only */

:root {
    --carousel-transition-duration: 1.5s;
    --carousel-autoplay-delay: 8000ms;
    --ken-burns-duration: 20s;
}

/* Main Carousel Container */
.tour-carousel-hero {
    position: relative;
    height: calc(100vh - 80px); /* Account for 80px navbar */
    min-height: 700px;
    overflow: hidden;
    background: #000000; /* Solid black background */
}

/* Individual Slides */
.tour-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--carousel-transition-duration) ease-in-out;
    cursor: pointer;
    z-index: 0;
}

.tour-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Image Container */
.tour-carousel-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.carousel-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns var(--ken-burns-duration) ease-in-out infinite alternate;
}

/* Ken Burns Effect - Subtle zoom and pan */
@keyframes kenBurns {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    100% {
        transform: scale(1.1) translateX(-2%) translateY(-1%);
    }
}

/* Overlay removed - no semi-transparent container needed */
.tour-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* Overlay disabled - images shown fully without darkening */
}

/* Content Positioning */
.tour-carousel-content {
    position: absolute;
    bottom: 5%; /* Reduced from 10% to 5% for tighter spacing */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    color: white;
    /* Enhanced text shadows for readability without overlay */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* Location Badge */
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem; /* Reduced from 1.5rem to 0.75rem */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-icon {
    width: 1rem;
    height: 1rem;
}

/* Tour Title */
.tour-carousel-title {
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem; /* Reduced from 1rem to 0.5rem */
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

/* Tour Subtitle */
.tour-carousel-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem; /* Reduced from 2rem to 1rem */
    font-weight: 300;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Tour Details Badges */
.tour-details-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem; /* Reduced from 2.5rem to 1.5rem */
    flex-wrap: wrap;
}

.tour-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.tour-badge.tour-price {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.badge-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* CTA Button */
.tour-carousel-cta {
    margin-top: 2rem;
}

.tour-carousel-cta a {
    text-shadow: none;
}

/* Navigation Arrows */
.tour-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tour-carousel-hero:hover .tour-carousel-arrow {
    opacity: 1;
}

.tour-carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.tour-carousel-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
}

.tour-carousel-arrow.prev {
    left: 2rem;
}

.tour-carousel-arrow.next {
    right: 2rem;
}

/* Navigation Dots */
.tour-carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.75rem;
}

.tour-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.tour-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.tour-carousel-dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .tour-carousel-hero {
        padding-top: 80px;
        min-height: var(--viewport-height, calc(100vh - 80px));
    }

    .tour-carousel-content {
        bottom: 15%;
        width: 95%;
    }

    .tour-carousel-title {
        font-size: 1.85rem;
    }

    .tour-carousel-subtitle {
        font-size: 1.125rem;
    }

    .tour-details-badges {
        gap: 0.75rem;
    }

    .tour-badge {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .tour-carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .tour-carousel-arrow.prev {
        left: 1rem;
    }

    .tour-carousel-arrow.next {
        right: 1rem;
    }

    .tour-carousel-dots {
        bottom: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .tour-carousel-title {
        font-size: 1.45rem;
    }

    .tour-carousel-subtitle {
        font-size: 1rem;
    }

    .location-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .tour-details-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .carousel-bg-image {
        animation: none;
    }

    .tour-carousel-slide {
        transition: opacity 0.3s ease-in-out;
    }

    .tour-carousel-arrow {
        transition: none;
    }

    .tour-carousel-dot {
        transition: none;
    }
}

/* Focus states for accessibility */
.tour-carousel-arrow:focus,
.tour-carousel-dot:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Loading state */
.tour-carousel-hero.loading .tour-carousel-slide {
    opacity: 0;
}

.tour-carousel-hero.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000000;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
