/* ==========================================================================
   iTour Landing Page - Hero Section
   With slide-left background animation
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Slides Container */
.hero__backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Background Slide */
.hero__bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.hero__bg-slide.active {
    transform: translateX(0);
}

.hero__bg-slide.exit {
    transform: translateX(-100%);
}

/* Ken Burns effect on active slide */
.hero__bg-slide.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Gradient Overlay */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

/* Traveler Silhouette */
.hero__traveler {
    position: absolute;
    bottom: 0;
    left: 5%;
    z-index: 3;
    height: 70vh;
    max-height: 900px;
    pointer-events: none;
}

.hero__traveler img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(0, 0, 0, 0.5)) brightness(0.85);
}

/* Hero Content */
.hero__content {
    position: relative;
    z-index: 4;
    max-width: 650px;
    margin-left: auto;
    margin-right: 10%;
    padding: var(--spacing-2xl) 0;
}

/* Title */
.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero__title-accent {
    color: var(--color-gold);
    font-style: italic;
}

/* Tagline */
.hero__tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

/* Buttons Container */
.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

/* Catalog Link */
.hero__catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.hero__catalog-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.hero__catalog-link:hover {
    color: var(--color-gold);
}

.hero__catalog-link:hover svg {
    transform: translateX(4px);
}

/* Scene Indicators */
.hero__indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.75rem;
}

.hero__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero__indicator.active {
    background: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero__traveler {
        height: 75vh;
        left: 2%;
    }

    .hero__content {
        margin-right: 5%;
    }
}

@media (max-width: 968px) {
    .hero {
        min-height: 100vh;
        align-items: center;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero__traveler {
        display: none;
    }

    .hero__content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 var(--spacing-lg);
        text-align: center;
    }

    .hero__title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero__tagline {
        font-size: 1.1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__catalog-link {
        justify-content: center;
        width: 100%;
    }

    .hero__indicators {
        bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero__content {
        padding: 0 var(--spacing-md);
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__tagline {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .hero__indicators {
        bottom: 1.5rem;
    }
}
