/**
 * Hero Slider Styles
 * Modern slider design inspired by professional care service websites
 */

/* ========================================
   Hero Slider - Main Container
   ======================================== */
.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    margin-top: 120px; /* Header height: top-bar (~40px) + navbar (~80px) */
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

/* ========================================
   Hero Slides
   ======================================== */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 58, 95, 0.85) 0%, 
        rgba(37, 99, 235, 0.7) 50%,
        rgba(29, 78, 216, 0.8) 100%);
}

/* ========================================
   Hero Slide Content
   ======================================== */
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.hero-slide .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slide .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-slide .hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Glow Button Effect */
.btn-glow {
    position: relative;
    overflow: visible;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--primary-gradient);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 0.6;
}

/* ========================================
   Hero Slider Navigation
   ======================================== */
.hero-slider-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.hero-slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-arrow:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

.hero-slider-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ========================================
   Hero Stats Bar
   ======================================== */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hero-stat-item:last-child {
    border-right: none;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.hero-stat-icon.star {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.hero-stat-content {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .hero-slide .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        margin-top: 70px; /* Smaller header on tablet */
    }
    
    .hero-slider-wrapper {
        min-height: 500px;
        height: 500px;
    }
    
    .hero-slide .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stat-item:nth-child(2) {
        border-right: none;
    }
    
    .hero-slider-nav {
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        margin-top: 60px;
        min-height: auto;
    }
    
    .hero-slider-wrapper {
        min-height: 280px;
        height: 280px;
    }
    
    .hero-slide {
        align-items: center;
    }
    
    .hero-slide-content {
        padding: 20px 0 50px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 12px;
    }
    
    .hero-slide .hero-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.5;
        padding: 0 15px;
    }
    
    /* Mobilde CTA butonlarını gizle */
    .hero-slide .hero-cta {
        display: none;
    }
    
    /* Mobilde oklar sağ ve sol köşelerde */
    .hero-slider-nav {
        position: static;
        transform: none;
        display: block;
    }
    
    .hero-slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        font-size: 0.8rem;
        z-index: 10;
    }
    
    .hero-slider-arrow.prev {
        left: 10px;
    }
    
    .hero-slider-arrow.next {
        right: 10px;
    }
    
    /* Dots altta ortada */
    .hero-slider-dots {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-dot.active {
        transform: scale(1.15);
    }
    
    /* Stats bar mobilde gizle - HTML'de yok zaten */
    .hero-stats-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        margin-top: 56px;
        min-height: auto;
    }
    
    .hero-slider-wrapper {
        min-height: 240px;
        height: 240px;
    }
    
    .hero-slide-content {
        padding: 15px 0 45px;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    
    .hero-slide .hero-title {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 0.75rem;
        padding: 0 10px;
    }
    
    .hero-slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    
    .hero-slider-arrow.prev {
        left: 8px;
    }
    
    .hero-slider-arrow.next {
        right: 8px;
    }
    
    .hero-slider-dots {
        bottom: 12px;
        gap: 6px;
    }
    
    .hero-dot {
        width: 6px;
        height: 6px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-badge,
    .hero-slide .hero-title,
    .hero-slide .hero-subtitle,
    .hero-slide .hero-cta {
        animation: none;
        transition: none;
    }
}
