.mainSlide-wrapper {
    position: relative;
    overflow: hidden;
    padding: 15px;
    background: #fff; /* Header ile aynı kurumsal mavi */
}


#main-slide {
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}


/* Vignette / Overlay */
.slide-image-container {
    position: relative;
    width: 100%;
    line-height: 0;
}

.slide-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Çok daha koyu bir katman */
    background: rgba(0, 0, 0, 0.55); 
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.7) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,0.8) 100%);
    /* İçeriye doğru derinlik katan bir gölge */
    box-shadow: inset 0 0 150px rgba(0,0,0,0.6);
    pointer-events: none;
    z-index: 5;
}


.main-slide-normal {
    width: 100%;
    height: 100vh; /* True full-page height */
    object-fit: cover;
    padding: 0 !important; /* index.css'deki padding çakışmasını önlemek için */
}


/* Slide Con.search-inputtent */
.slide-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    z-index: 6;
    pointer-events: none;
    text-align: center; /* Center text alignment */
}

.slide-text-box {
    max-width: 1000px;
    width: 100%;
    color: #fff;
    margin: 0 auto; /* Center the box horizontally */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items inside the flex column */
    text-align: center;
}

.slide-title {
    font-family: 'Outfit', sans-serif !important;
    font-style: normal;
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: slideUpFade 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    letter-spacing: 1px;
}

.slide-desc {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-size: 24px;
    font-weight: 400;
    opacity: 0;
    line-height: 1.6;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: slideUpFade 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
    max-width: 700px;
    margin: 0 auto;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(50px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* New Floating Search & Shortcuts */
/* Navigation & Scroll Down Controls */
.slider-extra-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 25px;
    width: 100%;
}

.s-nav-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-nav-btn:hover {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.s-scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px; /* Increased */
    height: 60px; /* Increased */
    animation: s-bounce 2s infinite;
    transition: all 0.3s ease;
}

.s-scroll-down:hover {
    transform: scale(1.15) !important;
}

.s-scroll-down .chevron {
    width: 28px; /* Larger */
    height: 28px; /* Larger */
    border-bottom:4px solid #ffffff8f;
    border-right: 4px solid #ffffff8f;
    transform: rotate(45deg);
    margin-top: -15px;
}

.s-scroll-down .chevron:nth-child(1) {
    opacity: 0.2;
}

.s-scroll-down .chevron:nth-child(2) {
    opacity: 0.6;
}

.s-scroll-down .chevron:nth-child(3) {
    opacity: 1;
}

@keyframes s-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.slider-search-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px; /* Reduced from 900px */
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
}

.shortcut-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.s-link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 12px; /* Reduced padding */
    border-radius: 18px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.s-link-card.orange {
    color: #fff;
    background: linear-gradient(88deg, #bf0000 0%, #c54949 104%);
}

.s-link-card.white {
    background: #fff;
    color: #334155;
}

.s-card-icon i {
    font-size: 24px; /* Reduced from 32px */
}

.s-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.city-name {
    font-size: 10px;
    font-weight: 700;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom:2px;
}

.service-name {
    font-size: 14px; /* Reduced from 16px */
    font-weight: 800;
}

.s-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* Search Bar Smaller */
.slider-search-bar {
    background: #fff;
    border-radius: 20px;
    padding: 8px 8px 8px 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    position: relative;
}

/* Standalone Search Results Popup */
.slider-search-results {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    display: none;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.5);
    animation: resultsFadeUp 0.3s ease;
}

@keyframes resultsFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(3, 162, 88, 0.08);
}

.res-type {
    font-size: 10px;
    font-weight: 800;
    background: #03a258;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.res-title {
    font-size: 14px;
    font-weight: 600;
    color: #024e6e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-form-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-input {
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    width: 100%;
}

.search-submit-btn {
    width: 44px; /* Reduced from 60px */
    height: 44px; /* Reduced from 60px */
    background: #03a258;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    background: #d35400;
    transform: scale(1.05);
}

/* Hide Default Owl Nav */
.owl-nav {
    display: none !important;
}

/* Fade Transition Fix */
.owl-carousel .animated {
    animation-duration: 1000ms;
    animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
    z-index: 0;
}
.owl-carousel .owl-animated-out {
    z-index: 1;
}
.owl-carousel .fadeOut {
    animation-name: fadeOut;
}
.owl-carousel .fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


@media (max-width: 1200px) {
    .shortcut-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 992px) {
    .mainSlide-wrapper { display: none; }
    .slider-shortcuts { display: none; }
    .shortcut-grid {
        width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .shortcut-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .slide-title { font-size: 42px; }
    .slide-desc { font-size: 18px; }
    .slider-shortcuts { bottom: 20px; }
}

@media (max-width: 480px) {
    .shortcut-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: calc(100% - 20px);
    }
    .shortcut-card {
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        border-radius: 16px;
    }
    .shortcut-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0;
    }
    .shortcut-info { text-align: center; }
    .sc-title { font-size: 11px; line-height: 1.2; }
    .sc-desc { display: none; }
    .card-detail-btn { display: none; }
}
