/* Scroll Hero Expansion Styles */
.scroll-hero-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    background-color: var(--dark);
}

.scroll-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
}

.scroll-hero-bg img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.scroll-hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.scroll-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 10;
}

.video-wrapper {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.4);
    max-width: 95vw;
    max-height: 85vh;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10;
    pointer-events: none;
}

.hero-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 10;
    mix-blend-mode: difference;
    pointer-events: none;
}

.hero-text-container h2 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    color: #e2e8f0;
    margin: 0;
    line-height: 1;
}

.hero-subtext {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-subtext p {
    font-size: 1.5rem;
    color: #e2e8f0;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#scrollText {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Base Fade Up Classes */
.fade-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

#mainContent {
    background-color: var(--bg-color);
    position: relative;
    z-index: 20;
}

/* Immersive Tours Page (Dribbble Layout) */
.immersive-tour-container {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    color: white;
}

.immersive-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.immersive-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    padding-top: 80px;
    gap: 50px;
}

.immersive-left {
    flex: 1;
    max-width: 500px;
}

.immersive-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.immersive-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.immersive-controls {
    display: flex;
    gap: 15px;
    margin-top: 60px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn.active, .control-btn:hover {
    background: white;
    color: var(--dark);
}

.immersive-carousel {
    flex: 1.5;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.immersive-carousel::-webkit-scrollbar {
    display: none;
}

.immersive-card {
    min-width: 280px;
    width: 280px;
    height: 380px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.immersive-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.immersive-card .card-img {
    height: 250px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.immersive-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.immersive-card:hover .card-img img {
    transform: scale(1.1);
}

.bookmark-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.immersive-card .card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.immersive-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.immersive-card .rating {
    color: #fbbf24;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .immersive-content {
        flex-direction: column;
        justify-content: center;
        padding-top: 100px;
    }
    
    .immersive-carousel {
        width: 100vw;
        padding: 20px;
    }
}
