/* 
 * Premium Hero Slider - Vibhu Travel Hub
 * Luxury Swiper.js Custom Styling & Ken Burns Effect 
 */

/* Hero Section Base Adjustment */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #000;
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
}

/* Responsive Hero Heights */
/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero {
        height: 95vh;
        min-height: 95vh;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero {
        height: 90vh;
        min-height: 90vh;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        height: 80vh;
        min-height: 80vh;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    .hero {
        height: 70vh;
        min-height: 70vh;
        /* Ensure content doesn't clip on small phones by allowing auto expansion if needed, but min-height keeps it substantial */
    }
}

.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* GPU Accelerated Image Container */
.swiper-slide {
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.0);
    will-change: transform;
    opacity: 1; /* For smooth slide+fade combination handled by JS */
}

/* Subtle Ken Burns effect (3-5%) on active image */
.swiper-slide-active .hero-bg-img {
    animation: kenBurnsZoom 10s ease-out forwards;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.05); }
}

/* Premium dark gradient overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

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

/* Premium Pagination Dots */
.hero-swiper .swiper-pagination {
    bottom: 40px !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 6px !important;
}

.hero-swiper .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Elegant Glassmorphism Navigation Arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

/* Show arrows softly on hover */
.hero:hover .swiper-button-next,
.hero:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 300;
} 

.hero-swiper .swiper-button-next {
    right: 30px;
}

.hero-swiper .swiper-button-prev {
    left: 30px;
}

@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}