/* ============================================
   Hero Carousel - ALL STYLES HERE
   This file MUST load last to override style.css
   ============================================ */

/* Simple Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease;
}

.hero-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.hero-slide .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: none !important;
}

/* Slide 1: Light Blue - Software/Dashboard Theme */
.hero-carousel .hero-slide:nth-child(1) .hero-background {
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 86, 210, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
        linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 25%, #7DD3FC 50%, #38BDF8 75%, #0EA5E9 100%) !important;
}

.hero-carousel .hero-slide:nth-child(1) .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 86, 210, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 86, 210, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px;
    z-index: 1;
    opacity: 0.4 !important;
}

.hero-carousel .hero-slide:nth-child(1) .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 86, 210, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.08) 2px, transparent 2px);
    background-size: 120px 120px, 100px 100px;
    z-index: 2;
    opacity: 0.3 !important;
}

/* Slide 2: Light Blue-Green - PDKS/Data Theme */
.hero-carousel .hero-slide:nth-child(2) .hero-background {
    background: 
        radial-gradient(circle at 25% 40%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 75% 60%, rgba(0, 86, 210, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 25%, #BBF7D0 50%, #86EFAC 75%, #4ADE80 100%) !important;
}

.hero-carousel .hero-slide:nth-child(2) .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px;
    z-index: 1;
    opacity: 0.4 !important;
}

.hero-carousel .hero-slide:nth-child(2) .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.12) 3px, transparent 3px),
        radial-gradient(circle at 60% 50%, rgba(0, 86, 210, 0.1) 2px, transparent 2px);
    background-size: 150px 150px, 120px 120px;
    z-index: 2;
    opacity: 0.3 !important;
}

/* Slide 3: Light Blue-Purple - Security/Access Control Theme */
.hero-carousel .hero-slide:nth-child(3) .hero-background {
    background: 
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(0, 86, 210, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 25%, #C7D2FE 50%, #A5B4FC 75%, #818CF8 100%) !important;
}

.hero-carousel .hero-slide:nth-child(3) .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 70px 70px, 70px 70px;
    z-index: 1;
    opacity: 0.4 !important;
}

.hero-carousel .hero-slide:nth-child(3) .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(99, 102, 241, 0.12) 4px, transparent 4px),
        radial-gradient(circle at 75% 65%, rgba(0, 86, 210, 0.1) 3px, transparent 3px);
    background-size: 200px 200px, 160px 160px;
    z-index: 2;
    opacity: 0.3 !important;
}

.hero-carousel .hero-slide .container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-carousel .hero-slide .hero-text {
    position: relative;
    z-index: 11;
}

.hero-carousel .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    width: 100%;
    padding: var(--spacing-lg) 0;
}

@media (min-width: 1024px) {
    .hero-carousel .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   Hero Text Styles - Override style.css with !important
   ============================================ */

.hero-carousel .hero-slide .hero-badge {
    display: inline-block !important;
    background: rgba(0, 86, 210, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    color: #0056D2 !important;
    padding: var(--spacing-xs) var(--spacing-md) !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    margin-bottom: var(--spacing-md) !important;
    font-family: var(--font-body) !important;
    border: 1px solid rgba(0, 86, 210, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-shadow: none !important;
}

.hero-carousel .hero-slide .hero-title {
    font-size: 2rem !important;
    color: #0F172A !important;
    margin-bottom: var(--spacing-sm) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important;
}

@media (min-width: 768px) {
    .hero-carousel .hero-slide .hero-title {
        font-size: 2.75rem !important;
    }
}

@media (min-width: 1024px) {
    .hero-carousel .hero-slide .hero-title {
        font-size: 3.5rem !important;
    }
}

.hero-carousel .hero-slide .text-accent {
    color: #0056D2 !important;
    display: block !important;
    margin-top: var(--spacing-xs) !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

.hero-carousel .hero-slide .hero-description {
    font-size: 1rem !important;
    color: #475569 !important;
    margin-bottom: var(--spacing-md) !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    max-width: 90% !important;
    text-shadow: none !important;
}

.hero-carousel .hero-slide .stat-number {
    color: #0056D2 !important;
    text-shadow: none !important;
}

.hero-carousel .hero-slide .stat-label {
    color: #64748B !important;
    text-shadow: none !important;
}

.hero-carousel .hero-slide .btn-outline {
    border: 2px solid rgba(0, 86, 210, 0.6) !important;
    color: #0056D2 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

.hero-carousel .hero-slide .btn-outline:hover {
    background: rgba(0, 86, 210, 0.1) !important;
    border-color: #0056D2 !important;
}

/* Hero Card Styles */
.hero-carousel .hero-slide .hero-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(0, 86, 210, 0.2) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-lg) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.hero-carousel .hero-slide .hero-card-header {
    color: #0F172A !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: var(--spacing-md) !important;
    font-weight: 600 !important;
}

.hero-carousel .hero-slide .status-dot {
    width: 12px !important;
    height: 12px !important;
    background: #0056D2 !important;
    border-radius: 50% !important;
}

.hero-carousel .hero-slide .hero-card-chart {
    background: linear-gradient(135deg, rgba(0, 86, 210, 0.1), rgba(56, 189, 248, 0.05)) !important;
    border: 1px solid rgba(0, 86, 210, 0.2) !important;
    height: 128px !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: var(--spacing-md) !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-carousel .hero-slide .chart-bar {
    background-color: #0056D2 !important;
    flex: 1 !important;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
    min-width: 8px !important;
}

.hero-carousel .hero-slide .hero-card-item {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: var(--spacing-md) !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(0, 86, 210, 0.15) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.hero-carousel .hero-slide .card-item-title {
    color: #0056D2 !important;
    text-shadow: none !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    font-family: var(--font-heading) !important;
    margin-bottom: var(--spacing-xs) !important;
}

.hero-carousel .hero-slide .card-item-subtitle {
    color: #64748B !important;
    text-shadow: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* Carousel Controls */
.hero-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    pointer-events: none;
    z-index: 20;
}

.hero-carousel-prev,
.hero-carousel-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 86, 210, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056D2;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .hero-carousel-controls {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-carousel-prev,
    .hero-carousel-next {
        width: 40px;
        height: 40px;
    }
}

/* Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 20;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 86, 210, 0.3);
    border: 2px solid rgba(0, 86, 210, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.hero-indicator:hover {
    background: rgba(0, 86, 210, 0.5);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: #0056D2;
    border-color: #0056D2;
    width: 32px;
    border-radius: 6px;
}
