:root {
    --primary-font: 'Host Grotesk', sans-serif;
    --serif-font: 'Playfair Display', serif;
    --white: #ffffff;
}

/* Container */
.rawcut-home-slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh);
    background-color: #000;
    color: var(--white);
    font-family: var(--primary-font);
    overflow: hidden;
}

/* Sabit Arkaplan */
.rawcut-home-slider-container .slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- MAIN Swiper --- */
.rawcut-home-slider-container .main-swiper {
    width: 100%;
    height: calc(100vh);
    z-index: 1;
    position: relative;
}

.rawcut-home-slider-container .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    z-index: -1;
    /* filter: brightness(0.65);  */
}

.rawcut-home-slider-container .swiper-slide {
    background: transparent !important;
}

/* Overlay'i parent'a taşı - fade in/out olmasın */
/* Renk dinamik olarak JS ile ayarlanacak */
.rawcut-home-slider-container .main-swiper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Fallback */
    z-index: 1;
    pointer-events: none;
}

/* Mobil için alt gradient */
@media (max-width: 690px) {
    /* .rawcut-home-slider-container .main-swiper:after {
        content: "";
        position: absolute;
        background: #000;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 250px;
        z-index: 2;
        pointer-events: none;
    } */
} 

.rawcut-home-slider-container .slide-content {
    position: absolute;
    top: 50%;
    left: 90px;
    transform: translateY(-50%);
    max-width: 37%;
    z-index: 10;
}

.rawcut-home-slider-container .slide-content h2 {
    font-weight: 300;
    margin-bottom: 20px;
    color: #fff;
    font-size: 32px !important;
    line-height: 1.2 !important;
}

@media (max-width: 1440px) {
    .rawcut-home-slider-container .slide-content h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 1280px) {
    .rawcut-home-slider-container .slide-content h2 {
        font-size: 24px !important;
    }
}

/* --- Custom Main Pagination --- */
.rawcut-home-slider-container .custom-pagination-container {
    position: absolute;
    bottom: 180px;
    left: 90px;
    z-index: 10;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.rawcut-home-slider-container .progress-bar {
    width: 100px;
    height: 2px;
    background: #B11656;
    position: relative;
    margin-left: 15px;
}

.rawcut-home-slider-container .progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--white);
    width: 0%;
    transition: width 0.1s linear;
}

/* --- Search Container --- */
.rawcut-home-slider-container .search-container {
    position: absolute;
    bottom: 40px;
    left: 90px;
    z-index: 10;
}

body.admin-bar .rawcut-home-slider-container .search-container {
    bottom: 60px;
}

.rawcut-home-slider-container .search-form {
    position: relative;
}

.rawcut-home-slider-container .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 140px;
}

.rawcut-home-slider-container .search-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
}

.rawcut-home-slider-container .search-wrapper.expanded {
    width: 300px;
    background: rgba(255, 255, 255, 0.2);
}

.rawcut-home-slider-container .search-input {
    flex: 1;
    background: transparent;
    border: none !important;
    padding: 18px 54px 18px 25px;
    color: #fff !important;
    font-size: 16px;
    outline: none;
    font-family: var(--primary-font);
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.rawcut-home-slider-container .search-wrapper.expanded .search-input {
    cursor: text;
}

.rawcut-home-slider-container .search-input::placeholder {
    color: rgba(255, 255, 255, 1);
    transition: color 0.3s;
}

.container-wrap .rawcut-home-slider-container .search-submit, .container-wrap .rawcut-home-slider-container .search-submit:focus {
    position: absolute;
    right: 8px;
    background: transparent !important;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s;
    flex-shrink: 0;
    padding: 12px !important;
}

.rawcut-home-slider-container .search-submit:hover {
    background: transparent !important;
    transform: scale(1.1);
}

/* --- NEWS CARD & VERTICAL PAGINATION --- */
.rawcut-home-slider-container .news-card {
    position: absolute;
    bottom: 40px;
    right: 90px;
    z-index: 10;
    width: 475px;
    height: 160px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    padding-right: 90px; 
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.admin-bar .rawcut-home-slider-container .news-card {
    bottom: 60px;
    right: 60px;
}

.rawcut-home-slider-container .news-card h4 {
    font-size: 18px !important;
    color: #fff;
    margin-bottom: 0 !important;
    font-weight: 500;
}

/* Dikey Haber Slider'ı */
.rawcut-home-slider-container .news-swiper {
    width: 100%;
    height: 70px;
    overflow: hidden;
}

.rawcut-home-slider-container .news-swiper .swiper-slide {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    line-height: 1.2 !important;
    color: #ccc;
}

.rawcut-home-slider-container .news-item {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
}

.rawcut-home-slider-container .news-item::before {
    margin-right: 8px;
    color: #888;
}

/* --- News Slider Pagination (Noktalar) --- */
.rawcut-home-slider-container .news-card .swiper-pagination {
    position: absolute;
    right: 30px !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: auto !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 99;
}

.rawcut-home-slider-container .news-card .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    width: 6px;
    height: 6px;
    margin: 4px 0 !important;
    transition: all 0.3s;
}

.rawcut-home-slider-container .news-card .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}

.rawcut-home-slider-container .read-more {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}
.rawcut-home-slider-container .read-more:hover { 
    text-decoration: underline; 
    opacity: 1; 
}

/* Responsive */
@media (max-width: 768px) {
    .rawcut-home-slider-container .slide-content { 
        left: 20px; 
        width: 90%; 
    }
    .rawcut-home-slider-container .slide-content h2 { 
        font-size: 1.8rem; 
    }
    .rawcut-home-slider-container .news-card { 
        bottom: 20px; 
        right: 20px; 
        left: 20px; 
        width: auto; 
    }
    .rawcut-home-slider-container .search-container {
        left: 20px;
        bottom: 20px;
    }
    .rawcut-home-slider-container .search-wrapper {
        width: 54px;
    }
    .rawcut-home-slider-container .search-wrapper.expanded {
        width: calc(100vw - 60px);
        max-width: 350px;
    }
    .rawcut-home-slider-container .custom-pagination-container { 
        left: 20px; 
        bottom: 220px; 
    }
    .rawcut-home-slider-container .search-btn { 
        display: none; 
    }
}


@media (max-width: 690px) {
    .rawcut-home-slider-container .news-card { 
        display: none;
    }
    .rawcut-home-slider-container .search-container { 
        display: none; 
    }
    
    .rawcut-home-slider-container .slide-content {
        left: 0;
        width: 100%;
        max-width: 100% !important;
        top: auto;
        bottom: 150px;
        transform: translateY(0);
        max-width: 80%;
        z-index: 9999999999999999;
        /*background: #000;*/
        padding: 0 75px 20px 25px;
        height: 280px;
        right: 0;
        display: flex;
        align-items: center;
    }
    
    .rawcut-home-slider-container .slide-content h2 {
        font-size: 16px !important;
    }
    .rawcut-home-slider-container .custom-pagination-container { 
        bottom: 220px;
        font-size: 12px !important;
        left: 25px;
    }
}