/* ==============================================
   HERO SLIDESHOW WITH KEN BURNS EFFECT
   ============================================== */

.hero--slideshow {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
}

/* Video Container (plays first) */
.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero__video-container.active {
    opacity: 1;
    z-index: 2;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center 20%;
}

/* Slideshow Container */
.hero__slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__slideshow.active {
    z-index: 2;
}

/* Individual Slides */
.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
    animation: kenBurnsZoomOut 8s ease-out forwards;
}

/* Ken Burns Effect - Zoom Out */
@keyframes kenBurnsZoomOut {
    0% {
        transform: scale(1.2);  /* Start zoomed in (close-up detail) */
    }
    100% {
        transform: scale(1.0);   /* End at normal size (full view) */
    }
}

/* Overlay for text readability */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

/* Hero Content (sits above slideshow) */
.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 50px;
    color: white;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 107, 0, 0.9);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__badge svg {
    width: 16px;
    height: 16px;
}

.hero__title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.0;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero__title .text-accent {
    display: block;
    color: var(--orange, #ff6b00);
}

.hero__title .animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments - Keep hero FULL SIZE on mobile */
@media (max-width: 768px) {
    .hero--slideshow {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero__video-container,
    .hero__slideshow {
        height: 100%;
    }
    
    .hero__video {
        object-position: center center;
    }
    
    .hero__content {
        padding-top: 120px;
    }
    
    .hero__badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .hero__title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .hero__subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Small Laptop Adjustments (1024px - 1280px) */
@media (max-width: 1280px) and (min-width: 1025px) {
    .hero--slideshow {
        height: 85vh;
        min-height: 550px;
    }
    
    .hero__content {
        padding-top: 80px;
    }
    
    .hero__title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .hero__badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero__hours-badge,
    .hero__products-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Tablet Adjustments (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero--slideshow {
        height: auto;
        min-height: 100vh;
        padding-bottom: 2rem;
    }
    
    .hero__content {
        padding-top: 120px;
    }
    
    .hero__title {
        font-size: clamp(2.2rem, 6vw, 3rem);
        margin-bottom: 0.5rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero__badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero__actions-row {
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1rem;
    }
    
    .hero__hours-badge,
    .hero__products-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        width: auto;
        max-width: 90%;
    }
    
    .hero__hours-badge svg,
    .hero__products-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .hero__disclaimer--corner {
        bottom: 20px;
        right: 20px;
        font-size: 0.7rem;
    }
}

/* Ensure smooth transitions between video and slideshow */
.hero__video-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.hero__slideshow.fade-in {
    opacity: 1;
}

/* ==============================================
   HERO ACTIONS ROW - Hours + View Products
   ============================================== */
.hero__actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.5rem auto 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #ff6b00, #ff8c32);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero__products-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #ff6b00, #ff8c32);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__products-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.hero__hours-badge svg {
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.hero__hours-badge strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

/* Disclaimer positioned bottom-right corner of hero */
.hero__disclaimer--corner {
    position: absolute;
    bottom: 70px;
    right: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
    text-align: right;
    z-index: 50;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero__actions-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero__hours-badge,
    .hero__products-badge {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
        gap: 0.5rem;
    }
    
    .hero__hours-badge svg,
    .hero__products-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .hero__disclaimer--corner {
        bottom: 60px;
        right: 15px;
        font-size: 0.7rem;
    }
}
