/* ================================================
   SAGMART - Hero Slider CSS
   ================================================ */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-hero);
    display: flex;
    align-items: center;
}

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

.hero-slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
    gap: var(--space-10);
}

/* Left: Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 500px;
}

.hero-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-secondary);
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-description {
    font-size: var(--text-base);
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.hero-cta {
    border-radius: var(--radius-full);
}

.hero-browse-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base), gap var(--transition-base);
    white-space: nowrap;
}

.hero-browse-link:hover {
    color: var(--color-accent);
    gap: 10px;
}

/* Right: Image */
.hero-image-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    width: 100%;
    max-width: 640px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Slider Controls */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--color-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.hero-slider-prev {
    left: -20px;
}

.hero-slider-next {
    right: -20px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-slider-dot.active {
    background: var(--color-primary);
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        align-items: center;
    }
    .hero-image-wrap {
        justify-content: center;
    }
    .hero-slider-prev, .hero-slider-next {
        display: none;
    }
}
