/* Hero Slider Styles */

.hero-section {
    padding: 0;
    margin: 20px 0;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Ana Slider */
.hero-main-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 500px;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-main-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.hero-main-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Resimlerin canlı görünmesi için sadece alt kısımda hafif gradient */
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
}

/* Kategori Badge - Sol Üstte */
.hero-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}

.hero-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.hero-main-excerpt {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.6;
}

/* Navigation Okları - Classic Slider Gibi */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: none !important;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.hero-slider-nav:focus {
    outline: none !important;
    box-shadow: none !important;
}

.hero-slider-nav:active {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}

.hero-slider-nav svg {
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    stroke: #ffffff !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
    transition: all 0.3s ease;
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

.hero-slider-nav:hover {
    opacity: 0.5;
    transform: translateY(-50%) scale(1.15);
}

.hero-slider-nav:hover svg {
    /* Renk dynamic CSS'ten gelecek */
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

/* Pagination Dots */
.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(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.hero-slider-dot:hover {
    background: rgba(255,255,255,0.8);
}

.hero-slider-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

.hero-slider-dot:focus {
    outline: none !important;
    box-shadow: none !important;
}

.hero-slider-dot:active {
    outline: none !important;
}

/* Progress Bar */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.2);
    z-index: 10;
}

.hero-slider-progress-bar {
    height: 100%;
    background: #fff;
    width: 0;
    transition: width 0.1s linear;
}

/* Yan Kartlar */
.hero-side-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: calc((500px - 40px) / 3);
}

.hero-side-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.hero-side-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-side-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Resimlerin canlı görünmesi için sadece alt kısımda hafif gradient */
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
}

.hero-side-content {
    position: absolute;
    bottom: 35%;
    transform: translateY(35%);
    left: 0;
    right: 0;
    padding: 0 20px;
    z-index: 2;
}

.hero-category-small {
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.hero-side-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .hero-main-slider {
        height: 400px;
    }
    
    .hero-side-card {
        height: calc((400px - 40px) / 3);
    }
    
    .hero-main-title {
        font-size: 28px;
    }
    
    .hero-main-excerpt {
        font-size: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-main-slider {
        height: 350px;
    }
    
    .hero-category {
        top: 15px;
        left: 15px;
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .hero-main-content {
        padding: 25px;
    }
    
    .hero-main-title {
        font-size: 22px;
        margin-bottom: 0;
    }
    
    /* Mobilde açıklamayı gizle */
    .hero-main-excerpt {
        display: none;
    }
    
    /* Mobilde navigation okları küçült */
    .hero-slider-nav {
        padding: 8px;
    }
    
    .hero-slider-nav svg {
        width: 40px !important;
        height: 40px !important;
        stroke-width: 2.5 !important;
    }
    
    .hero-slider-prev {
        left: 15px;
    }
    
    .hero-slider-next {
        right: 15px;
    }
    
    /* Mobilde pagination dots gizle */
    .hero-slider-dots {
        display: none;
    }
    
    /* Yan kartlar mobilde yatay scroll */
    .hero-side-cards {
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-side-card {
        min-width: 250px;
        height: 200px;
    }
    
    .hero-side-content {
        bottom: 30%;
        transform: translateY(30%);
        padding: 0 15px;
    }
    
    .hero-side-title {
        font-size: 14px;
    }
    
    .hero-category-small {
        top: 12px;
        left: 12px;
        font-size: 10px;
        padding: 3px 10px;
    }
}

/* ===== Dark Mode ===== */
body.dark-mode .hero-section {
    background: var(--dark-bg-primary, #121212);
}

@media (max-width: 480px) {
    .hero-main-slider {
        height: 300px;
    }
    
    .hero-category {
        top: 12px;
        left: 12px;
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .hero-main-content {
        padding: 20px;
    }
    
    .hero-main-title {
        font-size: 18px;
        margin-bottom: 0;
    }
    
    /* 480px'de de açıklama gizli */
    .hero-main-excerpt {
        display: none;
    }
    
    .hero-side-card {
        min-width: 220px;
        height: 180px;
    }
    
    .hero-side-content {
        bottom: 25%;
        transform: translateY(25%);
        padding: 0 12px;
    }
}