/* ===================================
   HERO SLIDER STYLES
   =================================== */

/* Main Slider Container */
.hero-slider {
    width: 100%;
    height: 50vh;
    min-height: 550px;
    max-height: 700px;
    position: relative;
    overflow: visible;
    margin-top: -120px;
    margin-bottom: 80px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Image */
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(11, 44, 84, 0.85) 0%,
            rgba(11, 44, 84, 0.6) 40%,
            rgba(11, 44, 84, 0.3) 70%,
            transparent 100%);
    z-index: 3;
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 240px;
    transform: translateY(-50%);
    z-index: 4;
    max-width: 700px;
    color: var(--doruk-white);
}

/* Slide Title */
.slide-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--doruk-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide.active .slide-title {
    animation: slideInLeft 0.8s ease-out;
}

/* Slide Subtitle */
.slide-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.slide.active .slide-subtitle {
    animation: slideInLeft 1s ease-out 0.2s both;
}

/* Slide Buttons */
.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.slide.active .slide-buttons {
    animation: slideInLeft 1.2s ease-out 0.4s both;
}

.btn-slide-primary,
.btn-slide-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-slide-primary {
    background: var(--doruk-accent);
    color: var(--doruk-white);
    border: 2px solid var(--doruk-accent);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-slide-primary:hover {
    background: var(--doruk-accent-light);
    border-color: var(--doruk-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    color: var(--doruk-white);
}

.btn-slide-secondary {
    background: transparent;
    color: var(--doruk-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-slide-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--doruk-white);
    transform: translateY(-2px);
    color: var(--doruk-white);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--doruk-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 50px;
}

.slider-next {
    right: 50px;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: var(--doruk-accent);
    border-color: var(--doruk-accent);
    width: 40px;
    border-radius: 6px;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .slide-title {
        font-size: 48px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .slide-content {
        max-width: 600px;
    }
}

@media (max-width: 991px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .slide-title {
        font-size: 40px;
    }

    .slide-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .slide-content {
        max-width: 500px;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .slider-prev {
        left: 20px;
    }

    .slider-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 450px;
    }

    .slide-overlay {
        background: linear-gradient(to top,
                rgba(11, 44, 84, 0.95) 0%,
                rgba(11, 44, 84, 0.7) 50%,
                rgba(11, 44, 84, 0.4) 100%);
    }

    .slide-content {
        top: auto;
        bottom: 80px;
        transform: none;
        max-width: 100%;
    }

    .slide-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .slide-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .btn-slide-primary,
    .btn-slide-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .slider-dots {
        bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-subtitle {
        font-size: 14px;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-slide-primary,
    .btn-slide-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .slider-nav {
        display: none;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 30px;
    }

    .slider-search-bar {
        display: none;
    }
}

/* ===================================
   SLIDER SEARCH BAR
   =================================== */

.slider-search-bar {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    z-index: 10;
}

.search-bar-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Search Input Wrapper */
.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 60px;
    padding: 10px 10px 10px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(11, 44, 84, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-input-wrapper:focus-within {
    box-shadow: 0 12px 48px rgba(11, 44, 84, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.search-icon {
    color: #0B2C54;
    font-size: 24px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 17px;
    color: #333333;
    background: transparent;
    padding: 14px 8px;
    font-weight: 500;
}

.search-input::placeholder {
    color: #999999;
    font-weight: 400;
}

.search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.search-button i {
    font-size: 18px;
}

/* Responsive Search Bar */
@media (max-width: 991px) {
    .slider-search-bar {
        bottom: -50px;
    }

    .search-bar-container {
        padding: 20px;
    }

    .search-tabs {
        gap: 8px;
    }

    .search-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .search-tab i {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .slider-search-bar {
        bottom: -40px;
    }

    .search-bar-container {
        padding: 16px;
        border-radius: 16px;
    }

    .search-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .search-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .search-input-wrapper {
        padding: 6px 6px 6px 20px;
    }

    .search-input {
        font-size: 14px;
    }

    .search-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .search-tab span {
        display: none;
    }

    .search-button span {
        display: none;
    }

    .search-button {
        padding: 12px;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
}