/* ==========================================================================
   Hero Section with Slider - FIXED
   ========================================================================== */

.ts-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--ts-header-height);
}

.admin-bar .ts-hero {
    padding-top: calc(var(--ts-header-height) + var(--ts-admin-bar-height));
}

/* Slider Background */
.ts-hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.ts-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.ts-hero-slide.active {
    opacity: 1;
}

.ts-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Glass Overlay */
.ts-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0.5) 40%, rgba(10, 10, 10, 0.55) 100%);
    z-index: 1;
}

/* Slider Navigation */
.ts-hero-slider-nav {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.ts-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ts-slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.ts-slider-dot.active {
    background: #e84393;
    border-color: #e84393;
    transform: scale(1.2);
}

/* Slider Arrows - Glass Buttons */
.ts-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--ts-white);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ts-slider-prev {
    left: 30px;
}

.ts-slider-next {
    right: 30px;
}

.ts-slider-arrow:hover {
    background: #e84393;
    border-color: #e84393;
    transform: translateY(-50%) scale(1.1);
}

/* Hero Content */
.ts-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

/* Glass Badge */
.ts-hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(232, 67, 147, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e84393;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e84393;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(232, 67, 147, 0.2);
}

.ts-hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ts-hero-subtitle {
    font-size: 1.25rem;
    color: #b8b8b8;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.ts-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Scroll Indicator */
.ts-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #b8b8b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 5;
    animation: float 2s ease-in-out infinite;
}

.ts-scroll-indicator span {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #e84393, transparent);
}

@keyframes float {
    0%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        transform: translateX(-50%) translateY(10px); 
    }
}

/* ==========================================================================
   Responsive - FIXED MOBILE BUTTONS (Same shape, just smaller)
   ========================================================================== */

@media (max-width: 768px) {
    .ts-hero-content {
        padding: 1.5rem 1rem;
    }
    
    .ts-hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .ts-hero-title {
        margin-bottom: 1rem;
    }
    
    .ts-hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .ts-hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    /* Smaller buttons - SAME SHAPE as desktop */
    .ts-hero-cta .ts-btn,
    .ts-hero-cta .ts-btn-lg {
        width: auto;
        min-width: 200px;
        padding: 0.875rem 1.75rem;
        font-size: 0.75rem;
        /* Keep same border-radius as site default */
        border-radius: var(--ts-radius-md);
    }
    
    .ts-hero-cta .ts-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .ts-slider-arrow {
        display: none;
    }
    
    .ts-hero-slider-nav {
        bottom: 140px;
    }
    
    .ts-scroll-indicator {
        bottom: 40px;
        font-size: 0.65rem;
    }
    
    .ts-scroll-indicator span {
        height: 30px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .ts-hero-content {
        padding: 1rem 0.75rem;
    }
    
    .ts-hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 1rem;
    }
    
    .ts-hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Smaller buttons - SAME SHAPE */
    .ts-hero-cta .ts-btn,
    .ts-hero-cta .ts-btn-lg {
        min-width: 180px;
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
        border-radius: var(--ts-radius-md);
    }
    
    .ts-hero-cta .ts-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .ts-hero-slider-nav {
        bottom: 120px;
    }
    
    .ts-scroll-indicator {
        bottom: 30px;
    }
}

/* Small viewport height adjustments */
@media (max-height: 700px) {
    .ts-hero {
        min-height: 100vh;
        padding-top: var(--ts-header-height);
    }
    
    .ts-hero-badge {
        margin-bottom: 1rem;
        padding: 0.35rem 1rem;
        font-size: 0.65rem;
    }
    
    .ts-hero-title {
        margin-bottom: 0.75rem;
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .ts-hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .ts-hero-cta {
        gap: 0.5rem;
    }
    
    .ts-hero-cta .ts-btn,
    .ts-hero-cta .ts-btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
    }
    
    .ts-hero-slider-nav {
        bottom: 100px !important;
    }
    
    .ts-slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .ts-scroll-indicator {
        bottom: 25px !important;
        font-size: 0.6rem;
    }
    
    .ts-scroll-indicator span {
        height: 25px;
    }
}

/* Extra small viewport height */
@media (max-height: 600px) {
    .ts-hero-badge {
        margin-bottom: 0.75rem;
    }
    
    .ts-hero-title {
        margin-bottom: 0.5rem;
    }
    
    .ts-hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .ts-hero-cta .ts-btn,
    .ts-hero-cta .ts-btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.65rem;
    }
    
    .ts-hero-slider-nav {
        bottom: 85px !important;
    }
    
    .ts-scroll-indicator {
        bottom: 20px !important;
    }
    
    .ts-scroll-indicator span {
        height: 20px;
    }
}