/**
 * Hero Slider - SliderRevolution Style
 * Professioneller animierter Slider für TeamShirtsPrint
 */

/* ============================================================================
   SLIDER CONTAINER
   ========================================================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #1a202c;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ============================================================================
   SLIDES
   ========================================================================== */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.slide-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    z-index: 2;
}

/* Particles Animation */
.slide-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.15) 0%, transparent 70%);
    animation: float-particle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 30s;
}

.particle:nth-child(3) {
    bottom: 10%;
    left: 30%;
    animation-delay: 6s;
    animation-duration: 28s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

/* ============================================================================
   SLIDE CONTENT
   ========================================================================== */

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 3;
}

.slide-content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.slide-text {
    flex: 1;
    max-width: 600px;
}

.slide-text.centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================================================
   SLIDE ELEMENTS
   ========================================================================== */

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-badge .badge-icon {
    font-size: 1.2rem;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.slide-title .gradient-text {
    background: linear-gradient(135deg, #4299e1 0%, #48bb78 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-title .highlight-white {
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.slide-title .super-size {
    font-size: 8rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.slide-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* ============================================================================
   SLIDE ACTIONS
   ========================================================================== */

.slide-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.slide-text.centered .slide-actions {
    justify-content: center;
}

.btn-slider-primary,
.btn-slider-secondary,
.btn-slider-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-slider-primary {
    background: linear-gradient(135deg, #4299e1 0%, #48bb78 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.3);
}

.btn-slider-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(66, 153, 225, 0.4);
}

.btn-slider-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-slider-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-slider-white {
    background: white;
    color: #1a202c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-slider-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   SLIDE FEATURES
   ========================================================================== */

.slide-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.1rem;
}

.feature-item svg {
    color: #48bb78;
    flex-shrink: 0;
}

/* ============================================================================
   SLIDE IMAGE & VISUALS
   ========================================================================== */

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.floating-sports {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sport-icon {
    position: absolute;
    font-size: 6rem;
    animation: float-icon 3s infinite ease-in-out;
}

.sport-icon:nth-child(1) {
    top: 0;
    left: 20%;
}

.sport-icon:nth-child(2) {
    top: 15%;
    right: 10%;
}

.sport-icon:nth-child(3) {
    bottom: 15%;
    left: 10%;
}

.sport-icon:nth-child(4) {
    bottom: 0;
    right: 20%;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Split Layout */
.slide-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    width: 100%;
}

.slide-split .slide-text {
    flex: 1;
}

.slide-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Discount Badge */
.discount-badge {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4299e1 0%, #48bb78 100%);
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(66, 153, 225, 0.4);
    animation: pulse-badge 3s infinite ease-in-out;
}

.badge-inner {
    width: 350px;
    height: 350px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.discount-number {
    font-size: 7rem;
    font-weight: 900;
    color: #1a202c;
    line-height: 1;
}

.discount-text {
    font-size: 2rem;
    font-weight: 700;
    color: #4299e1;
    letter-spacing: 0.1em;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================================================
   ANIMATIONS
   ========================================================================== */

.animate {
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .animate {
    opacity: 1;
}

/* Animation Types */
.animate[data-animation="fadeInUp"] {
    transform: translateY(50px);
}

.slide.active .animate[data-animation="fadeInUp"] {
    transform: translateY(0);
}

.animate[data-animation="fadeInDown"] {
    transform: translateY(-50px);
}

.slide.active .animate[data-animation="fadeInDown"] {
    transform: translateY(0);
}

.animate[data-animation="fadeInLeft"] {
    transform: translateX(-50px);
}

.slide.active .animate[data-animation="fadeInLeft"] {
    transform: translateX(0);
}

.animate[data-animation="fadeInRight"] {
    transform: translateX(50px);
}

.slide.active .animate[data-animation="fadeInRight"] {
    transform: translateX(0);
}

.animate[data-animation="zoomIn"] {
    transform: scale(0.8);
}

.slide.active .animate[data-animation="zoomIn"] {
    transform: scale(1);
}

.animate[data-animation="bounceIn"] {
    transform: scale(0.3);
}

.slide.active .animate[data-animation="bounceIn"] {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(1);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation Delays */
.animate[data-delay="300"] { transition-delay: 0.3s; }
.animate[data-delay="500"] { transition-delay: 0.5s; }
.animate[data-delay="600"] { transition-delay: 0.6s; }
.animate[data-delay="700"] { transition-delay: 0.7s; }
.animate[data-delay="900"] { transition-delay: 0.9s; }
.animate[data-delay="1100"] { transition-delay: 1.1s; }

/* ============================================================================
   SLIDER NAVIGATION
   ========================================================================== */

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* ============================================================================
   SLIDER DOTS
   ========================================================================== */

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    width: 40px;
    background: white;
    border-radius: 6px;
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-title .super-size {
        font-size: 6rem;
    }
    
    .discount-badge {
        width: 300px;
        height: 300px;
    }
    
    .badge-inner {
        width: 260px;
        height: 260px;
    }
    
    .discount-number {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
    }
    
    .slide-content .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .slide-split {
        flex-direction: column;
        gap: 3rem;
    }
    
    .slide-text {
        max-width: 100%;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-title .super-size {
        font-size: 4rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-actions {
        justify-content: center;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .floating-sports {
        height: 300px;
    }
    
    .sport-icon {
        font-size: 4rem;
    }
    
    .discount-badge {
        width: 250px;
        height: 250px;
    }
    
    .badge-inner {
        width: 220px;
        height: 220px;
    }
    
    .discount-number {
        font-size: 4rem;
    }
    
    .discount-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-title .super-size {
        font-size: 3rem;
    }
    
    .btn-slider-primary,
    .btn-slider-secondary,
    .btn-slider-white {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
