/**
 * SMG Mall Hero Widget - Base Styles
 * Container, Layout, Grundstruktur, Responsive Breakpoints
 * 
 * @package SMGMall
 * @version 2.0.0
 */

/* ========================================
   WIDGET BASE CLASS
   ======================================== */
.smg-widget.smg-hero-new {
    position: relative;
    min-height: 80vh;
    background: var(--smg-gray-50);
    overflow: hidden;
    padding: 60px 0;
}

/* Legacy Support für bestehende Templates */
.smg-hero-new {
    position: relative;
    min-height: 80vh;
    background: var(--smg-gray-50);
    overflow: hidden;
    padding: 60px 0;
}

/* ========================================
   MOOD HERO LAYOUT (Video bestimmt Höhe)
   ======================================== */
.smg-widget.smg-hero-new.has-mood-slide,
.smg-hero-new.has-mood-slide {
    height: auto; /* Video bestimmt die Höhe */
    width: 100%;
    min-height: 400px; /* Fallback-Mindesthöhe */
    background: #000; /* Schwarzer Hintergrund */
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* ========================================
   CONTAINER SYSTEM
   ======================================== */
.smg-widget.smg-hero-new .hero-container,
.smg-hero-new .hero-container {
    max-width: var(--widget-max-width, 1400px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    position: relative;
    height: 100%;
}

.smg-widget.smg-hero-new.has-mood-slide .hero-container,
.smg-hero-new.has-mood-slide .hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   SLIDE INDICATORS
   ======================================== */
.smg-widget.smg-hero-new .hero-indicators,
.smg-hero-new .hero-indicators {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    z-index: 10;
}

.smg-widget.smg-hero-new .hero-indicator,
.smg-hero-new .hero-indicator {
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
}

.smg-widget.smg-hero-new .indicator-dot,
.smg-hero-new .indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.smg-widget.smg-hero-new .hero-indicator.active .indicator-dot,
.smg-hero-new .hero-indicator.active .indicator-dot {
    background: var(--smg-red);
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.smg-widget.smg-hero-new .hero-indicator:hover .indicator-dot,
.smg-hero-new .hero-indicator:hover .indicator-dot {
    transform: scale(1.2);
    background: rgba(227, 30, 36, 0.7);
}

/* Indicator Line (Active State) */
.smg-widget.smg-hero-new .hero-indicator.active::before,
.smg-hero-new .hero-indicator.active::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--smg-red);
    opacity: 0.6;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .smg-widget.smg-hero-new,
    .smg-hero-new {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .smg-widget.smg-hero-new .hero-indicators,
    .smg-hero-new .hero-indicators {
        left: 20px;
        gap: var(--space-3);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .smg-widget.smg-hero-new,
    .smg-hero-new {
        min-height: 60vh;
        padding: 30px 0;
    }
    
    .smg-widget.smg-hero-new.has-mood-slide,
    .smg-hero-new.has-mood-slide {
        min-height: 500px;
    }
    
    .smg-widget.smg-hero-new .hero-indicators,
    .smg-hero-new .hero-indicators {
        left: 15px;
        gap: var(--space-2);
    }
    
    .smg-widget.smg-hero-new .indicator-dot,
    .smg-hero-new .indicator-dot {
        width: 10px;
        height: 10px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .smg-widget.smg-hero-new,
    .smg-hero-new {
        min-height: 50vh;
    }
    
    .smg-widget.smg-hero-new.has-mood-slide,
    .smg-hero-new.has-mood-slide {
        min-height: 400px;
    }
}

