.mainSlide-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: transparent;
}


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


/* Vignette / Overlay */
.slide {
    border-radius: 0;
    overflow: hidden;
}

.slide-image-container {
    position: relative;
    width: 100%;
    line-height: 0;
    border-radius: 0;
    overflow: hidden;
}

.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;
    object-fit: cover;
    padding: 0 !important;
}

.main-slide-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    padding: 0 !important;
    border-radius: 0;
}


/* 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(3, 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: rgba(160, 92, 137, 0.55); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.s-link-card.white {
    /* background: rgba(255, 255, 255, 0.5); */
    color: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.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(6, 104, 178, 0.3); */
    background-color: rgb(6, 104, 178);
    border-color: rgb(6, 104, 178);
}

/* Search Bar Smaller */
.slider-search-bar {
    /* background: rgba(255, 255, 255, 0.5); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    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(44, 180, 49, 0.08);
}

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

.res-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--corporate-blue);
    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: #fff;
    background: transparent;
    width: 100%;
}

.search-submit-btn {
    width: 44px; /* Reduced from 60px */
    height: 44px; /* Reduced from 60px */
    background: #2cb431;
    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: rgb(6, 104, 178);
    transform: scale(1.05);
    /* box-shadow: 0 10px 25px rgba(6, 104, 178, 0.4); */
}

/* 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; }
}

/* Typewriter Effect CSS styling */
.typewriter-prefix-wrapper {
    /* margin-bottom: 10px; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.slide-typewriter-prefix {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.typewriter-cursor {
    font-size: 32px;
    color: #ffffff;
    font-weight: 700;
    animation: blink-caret 0.75s step-end infinite;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.slide-title-main {
    font-family: 'Dancing Script', cursive !important;
    font-size: 85px;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-transform: none !important;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    margin: 15px 0 0 0; /* Slightly increased top margin to balance rotation */
    line-height: 1.1;
    display: inline-block;
    transform: rotate(-4deg);
    background: rgba(6, 104, 178, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 45px;
    border-radius: 18px;
}

@keyframes blink-caret {
    from, to { color: transparent }
    50% { color: #ffffff; }
}

@media (max-width: 992px) {
    .slide-typewriter-prefix {
        font-size: 24px;
    }
    .typewriter-cursor {
        font-size: 24px;
    }
    .slide-title-main {
        font-size: 56px;
        padding: 8px 30px;
        border-radius: 14px;
    }
    .shortcut-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .slide-typewriter-prefix {
        font-size: 18px;
    }
    .typewriter-cursor {
        font-size: 18px;
    }
    .slide-title-main {
        font-size: 34px;
        letter-spacing: 2px;
        padding: 6px 20px;
        border-radius: 10px;
    }
    .shortcut-top-grid {
        grid-template-columns: 1fr;
    }
}

/* Slider Side Menu */
.slider-side-menu {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ssm-btn {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    padding: 10px 5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* gap: 4px; */
}
.ssm-btn i {
    font-size: 20px;
    margin-bottom: 2px;
}
.ssm-btn span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.ssm-orange {
    background: rgba(6, 104, 178, 0.85); /* Deeper Corporate Blue */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.ssm-orange:hover {
    background: rgba(6, 104, 178, 1);
    border-color: #fff;
    transform: translateX(-5px);
}

.ssm-teal {
    background: rgba(20, 25, 35, 0.5); /* Modern Dark Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.ssm-teal:hover {
    background: rgba(20, 25, 35, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-5px);
}




/* Dropdown */
.ssm-main-item {
    position: relative;
}

.ssm-dropdown {
    position: absolute;
    right: calc(100% + 20px);
    top: -20px;
    width: 260px;
    background: rgba(6, 104, 178, 0.85); /* Theme Blue Glass */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: -1;
    transform: translateX(20px) scale(0.95);
    transform-origin: right top;
}

.ssm-dropdown::after {
    display: none; 
}

.ssm-main-item:hover .ssm-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 10;
}

.ssm-dropdown-header {
    background: rgba(0, 0, 0, 0.15); 
    color: #fff;
    padding: 18px 20px;
    border-radius: 16px 16px 0 0;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ssm-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ssm-dropdown-list li {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ssm-dropdown-list li:last-child {
    border-bottom: none;
}

.ssm-dropdown-list a {
    color: #fff !important;
    text-decoration: none !important;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ssm-dropdown-list a i {
    font-size: 12px;
    opacity: 0.6;
    transition: all 0.3s;
}

.ssm-dropdown-list a:hover {
    background-color: rgba(255,255,255,0.1);
    padding-left: 28px;
}
.ssm-dropdown-list a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .slider-side-menu {
        display: none;
    }
}
