/* Home Hero Section Styles */
.section-home_hero .section-container{
    padding: 0px !important;
    margin-top: -130px;
    z-index: 0;
}
.section-home_hero.style-default{
		background-color:#000 !important;
}
.home-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.home-hero-section .hero-content-inner{
	margin-top:0px;
}

/* Hero Slider Container */
.hero-slider-container,
.hero-single-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    height: 100%;
}

/* Single Hero (No Swiper) */
.single-hero {
    width: 100%;
    height: 100%;
}

/* Hero Slide */
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Media */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-container,
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background-image,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Hero Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent);
    z-index: 3;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Static Content Overlay (for multiple slides) */
.hero-content-static {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none; /* Allow clicks to pass through to navigation controls */
}

/* Re-enable pointer events for interactive content */
.hero-content-static .hero-content-inner,
.hero-content-static .hero-buttons a,
.hero-content-static .hero-buttons button {
    pointer-events: auto;
}

/* Text Alignment Classes */
.text-align-left .hero-content {
    justify-content: flex-start;
    text-align: left;
}

.text-align-left .hero-content-inner {
    padding-left: 8rem;
}

.text-align-center .hero-content {
    justify-content: center;
    text-align: center;
}

.text-align-right .hero-content {
    justify-content: flex-end;
    text-align: right;
}

.text-align-right .hero-content-inner {
    padding-right: 4rem;
}

.hero-content-inner {
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Typography */
.hero-content .hero-title h1,
.hero-content .hero-title h2,
.hero-content .hero-title h3 {
    color: var(--color-tertiary) !important;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-description {
    margin-bottom: 2rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-buttons {
    margin-top: 2rem;
    width: 208px;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 15;
    pointer-events: auto;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 600;
}

/* Swiper Pagination */
.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic, .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{
    margin-left: 0 !important;
    transform: translateX(0) !important;
    left: 8rem !important;
    transform: translateX(0) !important;
}

/* Prevent any transforms on individual bullets */
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: translateX(0) !important;
}

.swiper-pagination {
    bottom: 30px;
    height: 30px;
    width: auto !important;
    z-index: 15;
    pointer-events: auto;
    align-items: center;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: absolute !important;
    display: flex !important;
    justify-content: center !important;
}

.swiper-pagination-bullet {
    background: #ffffff !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    transition: opacity 0.3s ease !important;
    pointer-events: auto;
    position: static !important;
    border: none !important;
    opacity: 1 !important;
    margin: 0 8px !important;
    transform: none !important;
    display: inline-block !important;
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-hero-section {
        height: 90vh;
        min-height: 700px;
    }
    
    .hero-content-inner {
        padding: 0 1rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .swiper-pagination {
        bottom: 20px;
        left: 2rem !important;
        transform: none !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 480px) {
    .home-hero-section {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-content-inner {
        padding-top: 4rem;
    }
    
    .hero-content .hero-buttons {
        margin-top: 1.5rem;
    }
    .swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic, .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{
        left: 2rem !important;
        bottom: 2rem !important;
    }
}

/* Animation Classes for GSAP */
.hero-content-inner.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Video specific styles */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    
    .video-fallback {
        display: block;
    }
}

@media (min-width: 769px) {
    .video-fallback {
        display: none;
    }
}

/* Responsive adjustments for text alignment */
@media (max-width: 768px) {
    .text-align-left .hero-content-inner,
    .text-align-right .hero-content-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* Left align on mobile for better readability */
    .text-align-left .hero-content,
    .text-align-right .hero-content,
    .text-align-center .hero-content {
        justify-content: flex-start;
        text-align: left;
    }
    
    .text-align-left .hero-content-inner,
    .text-align-right .hero-content-inner,
    .text-align-center .hero-content-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
