/* Hero Section Module CSS */

/* Hero Section */
.hero-section {
    margin-bottom: 2rem;
}

/* Ana Hero Slider */
.hero-slider {
    margin-bottom: 2rem;
}

.hero-slider .slider-container {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
}

.hero-slider .swiper {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.hero-slider .slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hero-slider .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.hero-slider .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
}

.hero-slider .slide-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-slider .slide-excerpt {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-slider .slide-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

/* Custom Pagination - Hem Desktop Hem Mobil */
.hero-slider .custom-pagination {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
}

/* Desktop Stil */
@media (min-width: 768px) {
    .hero-slider .custom-pagination {
        margin-top: 0;
        height: 35px;
        background: #d7d7d7;
        border-bottom: 1px solid #d7d7d7;
        gap: 1px;
        padding: 0;
    }
}

.hero-slider .custom-pagination .pagination-item {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 0;
    
    /* Mobil Stil */
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: transparent;
    font-size: 0;
}

/* Desktop Stil */
@media (min-width: 768px) {
    .hero-slider .custom-pagination .pagination-item {
        flex: 1;
        height: 100%;
        width: auto;
        background: #fff;
        color: #333;
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        opacity: 1;
        text-align: center;
    }
}

.hero-slider .custom-pagination .pagination-item:hover {
    background-color: var(--primary-color);
}

.hero-slider .custom-pagination .pagination-item.active {
    background-color: var(--primary-color);
}

/* Desktop Hover ve Active */
@media (min-width: 768px) {
    .hero-slider .custom-pagination .pagination-item:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .hero-slider .custom-pagination .pagination-item.active {
        color: #fff;
        text-decoration: none;
    }
    
    .hero-slider .custom-pagination .pagination-item:focus {
        outline: 2px solid rgba(220, 53, 69, 0.5);
        outline-offset: 2px;
        text-decoration: none;
    }
}

/* Mobile Navigation */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    border-radius: 0;
    margin-top: -25px;
    z-index: 10;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}

.hero-slider .swiper-pagination {
    position: unset !important;
    z-index: 10;
    margin-top: 10px;
}

.hero-slider .swiper-pagination-bullet {
    background: #000 !important;
    opacity: 0.7;
    border-radius: 0;
    width: 12px;
    height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

/* Yan Hero Slider */
.side-hero-slider {
    margin-bottom: 2rem;
}

.side-hero-slider .slider-container {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
}

.side-hero-slider .swiper {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.side-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.side-hero-slider .slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.side-hero-slider .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.side-hero-slider .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
}

.side-hero-slider .slide-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.side-hero-slider .slide-excerpt {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.side-hero-slider .slide-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

/* Side Hero Custom Pagination */
.side-hero-pagination {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
}

/* Desktop Stil */
@media (min-width: 768px) {
    .side-hero-pagination {
        margin-top: 0;
        height: 35px;
        background: #d7d7d7;
        border-bottom: 1px solid #d7d7d7;
        gap: 1px;
        padding: 0;
    }
}

.side-hero-pagination .pagination-item {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 0;
    
    /* Mobil Stil */
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: transparent;
    font-size: 0;
}

/* Desktop Stil */
@media (min-width: 768px) {
    .side-hero-pagination .pagination-item {
        flex: 1;
        height: 100%;
        width: auto;
        background: #fff;
        color: #333;
        font-size: 14px;
        font-weight: 600;
        margin: 0;
        opacity: 1;
        text-align: center;
    }
}

.side-hero-pagination .pagination-item:hover {
    background-color: var(--primary-color);
}

.side-hero-pagination .pagination-item.active {
    background-color: var(--primary-color);
}

/* Desktop Hover ve Active */
@media (min-width: 768px) {
    .side-hero-pagination .pagination-item:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .side-hero-pagination .pagination-item.active {
        color: #fff;
        text-decoration: none;
    }
    
    .side-hero-pagination .pagination-item:focus {
        outline: 2px solid rgba(220, 53, 69, 0.5);
        outline-offset: 2px;
        text-decoration: none;
    }
}

/* Mobile Navigation for Side Hero */
.side-hero-slider .swiper-button-next,
.side-hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    border-radius: 0;
    margin-top: -25px;
    z-index: 10;
}

.side-hero-slider .swiper-button-next::after,
.side-hero-slider .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}

.side-hero-slider .swiper-pagination {
    position: unset !important;
    z-index: 10;
    margin-top: 10px;
}

.side-hero-slider .swiper-pagination-bullet {
    background: #000 !important;
    opacity: 0.7;
    border-radius: 0;
    width: 12px;
    height: 12px;
}

.side-hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider .slider-container {
        padding: 0;
    }
    
    .hero-slider .swiper {
        height: 250px;
    }
    
    .hero-slider .swiper-slide {
        height: 250px;
    }
    
    .hero-slider .slide-content {
        padding: 25px 20px 20px;
    }
    
    .hero-slider .slide-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .hero-slider .slide-excerpt {
        font-size: 14px;
    }
    
    .hero-slider .custom-pagination {
        display: none !important;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: flex !important;
    }
    
    .hero-slider .swiper-pagination {
        display: block !important;
        position: static !important;
        margin-top: 15px;
        text-align: center;
    }
    
    /* Side Hero Slider Mobile */
    .side-hero-slider .swiper {
        height: 250px;
    }
    
    .side-hero-slider .swiper-slide {
        height: 250px;
    }
    
    .side-hero-slider .slide-content {
        padding: 20px 15px 15px;
    }
    
    .side-hero-slider .slide-title {
        font-size: 16px;
    }
    
    .side-hero-slider .slide-excerpt {
        font-size: 13px;
    }
    
    .side-hero-slider .side-hero-pagination {
        display: none !important;
    }
    
    .side-hero-slider .swiper-button-next,
    .side-hero-slider .swiper-button-prev {
        display: flex !important;
    }
    
    .side-hero-slider .swiper-pagination {
        display: block !important;
        position: static !important;
        margin-top: 15px;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev,
    .side-hero-slider .swiper-button-next,
    .side-hero-slider .swiper-button-prev {
        display: none !important;
    }
    
    .hero-slider .swiper-pagination,
    .hero-slider .swiper-pagination-bullets,
    .hero-slider .swiper-pagination-bullet,
    .side-hero-slider .swiper-pagination,
    .side-hero-slider .swiper-pagination-bullets,
    .side-hero-slider .swiper-pagination-bullet {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-slider .swiper {
        height: 200px;
    }
    
    .hero-slider .swiper-slide {
        height: 200px;
    }
    
    .hero-slider .slide-content {
        padding: 20px 15px 15px;
    }
    
    .hero-slider .slide-title {
        font-size: 16px;
    }
    
    .hero-slider .slide-excerpt {
        font-size: 13px;
    }
    
    .side-hero-slider .swiper {
        height: 180px;
    }
}