/**
 * CockpitOS Light Theme - Shop Hours Hero Mode Styles
 * 
 * Verantwortlichkeit: "Wir sind für Sie da" Hero-Layout Styles
 * 
 * @package CockpitOS_Light_Theme
 * @version 1.0.0
 */

/* ==========================================================================
   Hero Mode Container
   ========================================================================== */

.cockpit-shop-hours--hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-4xl, 6rem) var(--spacing-2xl, 3rem);
    color: var(--color-white, #ffffff);
    overflow: hidden;
}

/* Overlay für bessere Lesbarkeit */
.cockpit-shop-hours--hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.cockpit-shop-hours__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   Hero Eyebrow
   ========================================================================== */

.cockpit-shop-hours__hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary, #dc2626);
    margin-bottom: var(--spacing-md, 1rem);
    text-align: center;
}

/* ==========================================================================
   Hero Title
   ========================================================================== */

.cockpit-shop-hours__hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin: 0 0 var(--spacing-3xl, 4rem) 0;
    color: var(--color-white, #ffffff);
}

/* ==========================================================================
   Hero List
   ========================================================================== */

.cockpit-shop-hours__hero-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg, 1.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Hero Item
   ========================================================================== */

.cockpit-shop-hours__hero-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl, 2rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: var(--spacing-xl, 2rem);
}

.cockpit-shop-hours__hero-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Center Item - hervorgehoben */
.cockpit-shop-hours__hero-item--center {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    padding-left: var(--spacing-xl, 2rem);
    padding-right: var(--spacing-xl, 2rem);
    border-radius: var(--radius-md, 8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cockpit-shop-hours__hero-item--center .cockpit-shop-hours__hero-item-label {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Aggregate Item - Shop-Öffnungszeiten (Gesamt) */
.cockpit-shop-hours__hero-item--aggregate {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    padding-left: var(--spacing-xl, 2rem);
    padding-right: var(--spacing-xl, 2rem);
    border-radius: var(--radius-md, 8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cockpit-shop-hours__hero-item--aggregate .cockpit-shop-hours__hero-item-label {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Featured Item - hervorgehoben (Featured Shop) */
.cockpit-shop-hours__hero-item--featured {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl, 2rem);
    background: linear-gradient(90deg, rgba(0, 240, 181, 0.1) 0%, transparent 100%);
    padding: var(--spacing-xl, 2rem);
    border-radius: var(--radius-md, 8px);
    border-bottom: 1px solid rgba(0, 240, 181, 0.3);
    border: 2px solid rgba(0, 240, 181, 0.4);
}

.cockpit-shop-hours__hero-item--featured .cockpit-shop-hours__hero-item-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white, #ffffff);
}

/* Featured Shop Logo */
.cockpit-shop-hours__hero-shop-logo-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Kein Hintergrund */
}

.cockpit-shop-hours__hero-shop-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Kein Filter - Logo in Originalfarbe anzeigen */
    /* Wenn Logo zu dunkel: Durch weißes Logo in CockpitOS ersetzen */
}

/* Adjust featured item layout with logo */
.cockpit-shop-hours__hero-item--featured .cockpit-shop-hours__hero-item-label {
    flex: 0 0 auto;
}

.cockpit-shop-hours__hero-item--featured .cockpit-shop-hours__hero-item-content {
    flex: 1 1 auto;
    margin-left: auto;
}

/* ==========================================================================
   Hero Categories Wrapper (Multi-column for CATEGORIES + SHOPS)
   ========================================================================== */

.cockpit-shop-hours__hero-categories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl, 2rem);
    margin-top: var(--spacing-2xl, 3rem);
}

/* ==========================================================================
   Hero Category Column (Each category is one column)
   ========================================================================== */

.cockpit-shop-hours__hero-category-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md, 1rem);
}

.cockpit-shop-hours__hero-category-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary, #dc2626);
    margin-bottom: var(--spacing-xs, 0.5rem);
    padding-left: 0;
}

.cockpit-shop-hours__hero-category-shops {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm, 0.75rem);
}

/* ==========================================================================
   Compact Shop Item (Vertical list per category)
   ========================================================================== */

.cockpit-shop-hours__hero-shop-compact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs, 0.5rem);
    padding: var(--spacing-md, 1rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md, 8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.cockpit-shop-hours__hero-shop-compact:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cockpit-shop-hours__hero-shop-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white, #ffffff);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs, 0.5rem);
}

.cockpit-shop-hours__hero-shop-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm, 0.75rem);
    font-size: 0.8125rem;
}

.cockpit-shop-hours__hero-shop-days {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.cockpit-shop-hours__hero-shop-time {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* ==========================================================================
   Status Dot (Offen/Geschlossen)
   ========================================================================== */

.cockpit-shop-hours__status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cockpit-shop-hours__status-dot.is-open {
    background-color: #10b981; /* Green */
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.cockpit-shop-hours__status-dot.is-closed {
    background-color: #ef4444; /* Red */
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Status dot in hero item label */
.cockpit-shop-hours__hero-item-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm, 0.75rem);
}

/* ==========================================================================
   Hero Item Label (Links)
   ========================================================================== */

.cockpit-shop-hours__hero-item-label {
    flex: 0 0 auto;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white, #ffffff);
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm, 0.75rem);
}

/* ==========================================================================
   Hero Item Content (Rechts)
   ========================================================================== */

.cockpit-shop-hours__hero-item-content {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-2xl, 3rem);
    text-align: right;
}

.cockpit-shop-hours__hero-item-days {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    min-width: 180px;
}

.cockpit-shop-hours__hero-item-time {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white, #ffffff);
    min-width: 160px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablets */
@media (max-width: 1024px) {
    .cockpit-shop-hours--hero {
        padding: var(--spacing-3xl, 4rem) var(--spacing-xl, 2rem);
    }

    .cockpit-shop-hours__hero-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: var(--spacing-2xl, 3rem);
    }

    .cockpit-shop-hours__hero-item {
        gap: var(--spacing-lg, 1.5rem);
        padding: var(--spacing-lg, 1.5rem) 0;
    }

    .cockpit-shop-hours__hero-item--center {
        padding-left: var(--spacing-lg, 1.5rem);
        padding-right: var(--spacing-lg, 1.5rem);
    }
    
    .cockpit-shop-hours__hero-item--featured {
        padding: var(--spacing-lg, 1.5rem);
    }
    
    .cockpit-shop-hours__hero-shop-logo-wrapper {
        width: 140px;
        height: 100px;
    }

    .cockpit-shop-hours__hero-item-label {
        font-size: 1rem;
        min-width: 150px;
    }

    .cockpit-shop-hours__hero-item-content {
        gap: var(--spacing-xl, 2rem);
    }

    .cockpit-shop-hours__hero-item-days {
        font-size: 0.9375rem;
        min-width: 140px;
    }

    .cockpit-shop-hours__hero-item-time {
        font-size: 1rem;
        min-width: 130px;
    }
    
    .cockpit-shop-hours__hero-categories-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: var(--spacing-lg, 1.5rem);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cockpit-shop-hours--hero {
        padding: var(--spacing-2xl, 3rem) var(--spacing-lg, 1.5rem);
    }

    .cockpit-shop-hours__hero-eyebrow {
        font-size: 0.75rem;
        margin-bottom: var(--spacing-sm, 0.5rem);
    }

    .cockpit-shop-hours__hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--spacing-xl, 2rem);
    }

    .cockpit-shop-hours__hero-list {
        gap: var(--spacing-md, 1rem);
    }

    .cockpit-shop-hours__hero-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md, 1rem);
        padding: var(--spacing-lg, 1.5rem);
        background: rgba(0, 0, 0, 0.3);
        border-radius: var(--radius-md, 8px);
        border-bottom: none;
    }

    .cockpit-shop-hours__hero-item:first-child {
        border-top: none;
    }

    .cockpit-shop-hours__hero-item--center {
        background: rgba(255, 255, 255, 0.1);
        padding: var(--spacing-lg, 1.5rem);
    }
    
    .cockpit-shop-hours__hero-item--featured {
        flex-direction: row;
        flex-wrap: wrap;
        padding: var(--spacing-lg, 1.5rem);
        gap: var(--spacing-md, 1rem);
    }
    
    .cockpit-shop-hours__hero-shop-logo-wrapper {
        width: 120px;
        height: 90px;
        order: -1;
        flex-basis: 100%;
        margin-bottom: var(--spacing-sm, 0.5rem);
    }

    .cockpit-shop-hours__hero-item-label {
        font-size: 1rem;
        font-weight: 700;
        min-width: auto;
        width: 100%;
    }

    .cockpit-shop-hours__hero-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm, 0.5rem);
        width: 100%;
        text-align: left;
    }

    .cockpit-shop-hours__hero-item-days,
    .cockpit-shop-hours__hero-item-time {
        min-width: auto;
        width: 100%;
        font-size: 0.9375rem;
    }

    .cockpit-shop-hours__hero-item-time {
        font-weight: 600;
        color: var(--color-primary, #dc2626);
    }
    
    .cockpit-shop-hours__hero-categories-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl, 2rem);
    }
    
    .cockpit-shop-hours__hero-shop-compact {
        padding: var(--spacing-sm, 0.75rem) var(--spacing-md, 1rem);
    }
    
    .cockpit-shop-hours__hero-shop-hours {
        font-size: 0.75rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cockpit-shop-hours--hero {
        padding: var(--spacing-xl, 2rem) var(--spacing-md, 1rem);
    }

    .cockpit-shop-hours__hero-title {
        font-size: 1.5rem;
    }

    .cockpit-shop-hours__hero-item {
        padding: var(--spacing-md, 1rem);
    }

    .cockpit-shop-hours__hero-item-label {
        font-size: 0.9375rem;
    }

    .cockpit-shop-hours__hero-item-days,
    .cockpit-shop-hours__hero-item-time {
        font-size: 0.875rem;
    }
}
