/* RTema Slider Styles - ORIGINAL from RTema */

/* Fix mobile overflow - RTema Original */
html {
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.fp-swiper-home {
    width: 100%;
    max-width: 100%;
    background: transparent; /* NO BLACK */
}

@media (max-width: 768px) {
    .fp-swiper-home {
        min-height: auto !important;
        height: auto !important;
    }
}

.swiper,
.swiper-container {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
}

.swiper-wrapper {
    width: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
}

.swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
}

.swiper-slide > a {
    position: relative;
    z-index: 1;
    display: block;
}

@media (max-width: 768px) {
    .swiper,
    .swiper-container {
        min-height: 0 !important;
        height: auto !important;
    }
    
    .swiper-wrapper {
        min-height: 0 !important;
        height: auto !important;
    }
}

.fp-slider-area {
    padding: 30px 0 20px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: transparent; /* NO BLACK */
}

@media (max-width: 768px) {
    .fp-slider-area {
        padding: 15px 0 10px 0; /* Daha az padding */
    }
}

@media (max-width: 576px) {
    .fp-slider-area {
        padding: 10px 0; /* Minimum padding */
    }
}

.fp-slider-area .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .fp-slider-area .container {
        padding: 0 10px;
        max-width: 100vw;
    }
}

/* Remove blurred background */
.fp-slider-area .blurred-image {
    display: none !important;
}

.fp-slider-area > img {
    display: none !important;
}

.fp-slider-area .grid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 75% 25%;
    max-width: 100%;
    width: 100%;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .fp-slider-area {
        padding: 20px 0;
    }
}

@media (max-width: 992px) {
    .fp-swiper-home {
        margin-bottom: 15px;
    }
    .fp-slider-area .grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        grid-gap: 15px;
    }
    .fp-home-slider-mini-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .fp-slider-area .container {
        padding: 0 15px;
    }
    
    .fp-slider-area .grid {
        grid-gap: 15px;
    }
}

.fp-swiper-home-item {
    padding-bottom: 42.5%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    z-index: 1;
}

/* Mobilde - RTema Original */
@media (max-width: 992px) {
    .fp-swiper-home-item {
        padding-bottom: 45%; /* Daha kısa */
    }
}

@media (max-width: 768px) {
    .fp-swiper-home-item {
        padding-bottom: 50%; /* Daha da kısa */
    }
}

@media (max-width: 576px) {
    .fp-swiper-home-item {
        padding-bottom: 50%; /* Aynı */
    }
}

.fp-swiper-home-item::before {
    content: "";
    height: 100%;
    width: 60%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.61) 0%, rgba(107, 107, 107, 0) 100%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    left: 0;
    z-index: 2;
}

.fp-swiper-home-item .img-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.fp-swiper-home-item .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 400px;
    left: 40px;
    color: #fff;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .fp-swiper-home-item .content {
        left: 30px;
        right: 30px;
        max-width: calc(100% - 60px);
    }
}

@media (max-width: 576px) {
    .fp-swiper-home-item .content {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
    
    .fp-swiper-home-item .content .title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .fp-swiper-home-item .content p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .fp-swiper-home-item .content .btn {
        height: 38px;
        font-size: 13px;
        padding: 5px 16px;
    }
}

/* Slider Navigation Buttons */
.fp-swiper-home .swiper-button-next,
.fp-swiper-home .swiper-button-prev {
    position: absolute;
    bottom: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    user-select: none;
}

.fp-swiper-home .swiper-button-next:hover,
.fp-swiper-home .swiper-button-prev:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fp-swiper-home .swiper-button-prev {
    right: 80px;
}

.fp-swiper-home .swiper-button-next {
    right: 20px;
}

.fp-swiper-home .swiper-button-next::after,
.fp-swiper-home .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.fp-swiper-home .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .fp-swiper-home .swiper-button-next,
    .fp-swiper-home .swiper-button-prev {
        width: 38px;
        height: 38px;
        bottom: 15px;
    }
    
    .fp-swiper-home .swiper-button-prev {
        right: 65px;
    }
    
    .fp-swiper-home .swiper-button-next {
        right: 15px;
    }
    
    .fp-swiper-home .swiper-button-next::after,
    .fp-swiper-home .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .fp-swiper-home .swiper-button-next,
[data-theme="dark"] .fp-swiper-home .swiper-button-prev {
    background: rgba(30, 30, 30, 0.9);
    color: #fff;
}

[data-theme="dark"] .fp-swiper-home .swiper-button-next:hover,
[data-theme="dark"] .fp-swiper-home .swiper-button-prev:hover {
    background: rgba(40, 40, 40, 0.95);
}

.grid-left {
    grid-column: 1;
}

.grid-right {
    grid-column: 2;
}

@media (max-width: 768px) {
    .grid-left,
    .grid-right {
        grid-column: 1;
    }
}

@media (max-width: 992px) {
    .fp-home-slider-mini-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
}

.fp-home-slider-mini {
    padding-bottom: calc(65.5% - 10px);
    position: relative;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    background: transparent; /* NO BLACK */
}

@media (max-width: 992px) {
    .fp-home-slider-mini {
        margin-bottom: 0;
        padding-bottom: 55%; /* Daha kısa */
    }
}

@media (max-width: 768px) {
    .fp-home-slider-mini {
        padding-bottom: 60%; /* Daha kısa */
    }
}

.fp-home-slider-mini::before {
    content: "";
    height: 100%;
    width: 60%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(107, 107, 107, 0) 100%);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    left: 0;
    z-index: 2;
}

.fp-home-slider-mini .img-cover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.fp-home-slider-mini .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 280px;
    left: 20px;
    color: #fff;
    z-index: 3;
}

/* Slider altı 3'lü grid */
.fp-slider-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin-top: 15px;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 768px) {
    .fp-slider-bottom-grid {
        grid-gap: 10px;
        margin-top: 15px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .fp-slider-bottom-grid {
        grid-gap: 8px;
        margin-top: 10px;
        grid-template-columns: repeat(3, 1fr);
    }
}

.fp-slider-bottom-item {
    position: relative;
    padding-bottom: 45%;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    background: transparent; /* NO BLACK */
}

.fp-slider-bottom-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fp-slider-bottom-item .img-cover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.fp-slider-bottom-item:hover .img-cover {
    transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 768px) {
    .fp-slider-bottom-item {
        padding-bottom: 50%; /* Daha kısa */
        border-radius: 6px;
    }
}

@media (max-width: 576px) {
    .fp-slider-bottom-item {
        padding-bottom: 55%; /* Daha kısa */
        border-radius: 6px;
    }
}

