/* ============================================ */
/* HERO CAROUSEL STYLES - KADRI THEME          */
/* ============================================ */

.carousel-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.carousel-slide { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

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

/* Gradient Overlay */
.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(6, 20, 10, 1) 0%,
        rgba(17, 20, 18, 0.9) 15%,
        rgba(255, 253, 253, 0.44) 50%,
        rgba(6, 20, 10, 0.3) 70%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 2rem 2rem 5rem 4rem;
    padding-left: 200px;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(8px);
    width: fit-content;
    margin-bottom: 1.2rem;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    letter-spacing: 0.5px;
    color: #d4af37;
}

.slide-content h1 {
    font-size: clamp(1.5rem, 7vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #a88924;
}

.slide-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 400px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5d48a, #FF6A00);
    color: #062b1c;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 25px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-20deg);
}

.hero-btn:hover::before {
    animation: shine 0.8s forwards;
}

@keyframes shine {
    to {
        left: 130%;
    }
}

/* Progress Bar */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #FF6A00);
    transition: width linear;
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    color: white;
    font-size: 1.3rem;
}

.carousel-btn:hover {
    background: rgba(212, 175, 55, 0.5);
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.05);
}

.btn-prev { left: 2rem; }
.btn-next { right: 2rem; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 20;
}

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

.dot.active {
    background: #FF6A00;
    width: 28px;
    border-radius: 10px;
}

/* ============================================ */
/* MOBILE STYLES - Content below image         */
/* ============================================ */
@media (max-width: 768px) {
    .carousel-container {
        height: auto;
        min-height: 100vh;
        background: #000;
    }
    
    .carousel-slide {
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background-size: contain;
        background-position: top center;
        background-repeat: no-repeat;
        min-height: 100vh;
        padding-top: 80px;
    }
    
    /* Keep gradient but adjust for mobile */
    .carousel-slide::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.8) 70%,
            rgba(0, 0, 0, 0.95) 100%
        );
    }
    
    .carousel-slide::before {
        display: none;
    }
    
    .slide-content {
        position: relative;
        padding: 2rem 1.5rem;
        margin-top: auto;
        margin-bottom: 60px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        animation: fadeUp 0.6s ease forwards;
       
        border-radius: 24px 24px 0 0;
    }
    
    .slide-badge {
        display: inline-block;
        margin: 0 auto 1rem auto;
        font-size: 0.7rem;
        padding: 4px 14px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        color: #d4af37;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin: 0 auto 0 auto;
        max-width: 280px;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
        margin-top: 20px;
    }
    
    /* Adjust carousel controls for mobile */
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        top: 40%;
    }
    
    .btn-prev {
        left: 0.8rem;
    }
    
    .btn-next {
        right: 0.8rem;
    }
    
    .carousel-dots {
        bottom: auto;
        top: 20px;
        background: rgba(0, 0, 0, 0.4);
        padding: 8px 12px;
        border-radius: 30px;
        backdrop-filter: blur(4px);
    }
    
    .dot {
        width: 6px;
        height: 6px;
        background: rgba(255, 255, 255, 0.5);
    }
    
    .dot.active {
        width: 20px;
        background: #FF6A00;
    }
    
    .carousel-progress {
        top: 0;
        bottom: auto;
        height: 2px;
    }
    
    .free-delivery-badge {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .carousel-slide {
        padding-top: 60px;
        min-height: 90vh;
    }
    
    .slide-content {
        padding: 1.5rem;
        margin-bottom: 40px;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
    }
    
    .hero-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-container {
        height: 85vh;
        min-height: 550px;
    }
    
    .slide-content {
        padding: 1.8rem 1.8rem 4rem 5rem;
        padding-left: 140px;
        max-width: 800px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
    }
}

/* Desktop Large */
@media (min-width: 1440px) {
    .slide-content {
        padding-left: 12%;
        max-width: 700px;
    }
    
    .slide-content h1 {
        font-size: 3.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
        max-width: 500px;
    }
}