/* Duru Slider Styles */
.duru-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    opacity: 0;
}

.background-image.active {
    opacity: 1 !important;
}

/* İlk slide her zaman görünür olsun */
.background-image:first-child,
.background-image.slide-0 {
    opacity: 1 !important;
}

.background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.main-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.main-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    max-width: 800px;
}

.pre-title {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.solutions-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.95);
}

.solution-item {
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border-right: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solution-item:last-child {
    border-right: none;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.solution-item:hover::before {
    left: 0;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: clamp(6rem, 8vw, 7rem) !important;
    height: clamp(6rem, 8vw, 7rem) !important;
    margin: 0 auto 1.5rem;
    background: transparent !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: none !important;
    box-shadow: none !important;
}

.solution-item:hover .solution-icon {
    transform: scale(1.1) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.solution-icon svg {
    width: clamp(4rem, 6vw, 5rem) !important;
    height: clamp(4rem, 6vw, 5rem) !important;
    color: #3b82f6 !important;
}

.solution-icon img {
    width: clamp(4rem, 6vw, 5rem) !important;
    height: clamp(4rem, 6vw, 5rem) !important;
    object-fit: contain;
    filter: none;
}

.solution-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.solution-description {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #64748b;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.solution-item:hover .solution-description {
    color: #475569;
}

/* Full width container */
.duru-slider-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Tablet Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .duru-slider {
        height: 100vh;
        min-height: 600px;
    }

    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solution-item {
        min-height: 160px;
        padding: 2rem 1.5rem;
    }
    
    .solution-icon {
        width: 5rem !important;
        height: 5rem !important;
    }

    .solution-icon svg {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    
    .solution-icon img {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    
    .solution-title {
        font-size: 1.2rem;
    }

    .solution-description {
        font-size: 0.95rem;
    }
}

/* Mobile Design */
@media (max-width: 768px) {
    .duru-slider {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
    }

    .background-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .background-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important;
    }

    .content-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100% - 200px) !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center !important;
        overflow: hidden;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    .main-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
        text-align: center !important;
    }

    .main-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2rem;
        text-align: center !important;
        max-width: 90% !important;
    }

    .solutions-container {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 200px !important;
        z-index: 3;
    }

    .solutions-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        gap: 0 !important;
        height: 100% !important;
    }

    .solution-item {
        border-right: 1px solid rgba(30, 64, 175, 0.1) !important;
        border-bottom: none !important;
        min-height: 180px !important;
        height: 100% !important;
        padding: 1.5rem 0.8rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.8rem !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .solution-item:last-child {
        border-right: none !important;
    }

    .solution-icon {
        width: 2.5rem !important;
        height: 2.5rem !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .solution-icon svg {
        width: 2rem !important;
        height: 2rem !important;
    }
    
    .solution-icon img {
        width: 2rem !important;
        height: 2rem !important;
    }

    .solution-content {
        flex: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .solution-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }

    .solution-description {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }

    .solution-item:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .duru-slider {
        height: 100vh !important;
        overflow: hidden !important;
    }

    .background-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .background-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important;
    }

    .content-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100% - 180px) !important;
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    .main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        text-align: center !important;
        margin-bottom: 1rem !important;
    }

    .main-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        text-align: center !important;
        max-width: 95% !important;
        margin-bottom: 0 !important;
    }

    .solutions-container {
        height: 180px !important;
    }

    .solution-item {
        padding: 1rem 0.5rem !important;
        min-height: 160px !important;
        height: 100% !important;
        gap: 0.6rem !important;
    }

    .solution-icon {
        width: 2.2rem !important;
        height: 2.2rem !important;
    }

    .solution-icon svg {
        width: 1.8rem !important;
        height: 1.8rem !important;
    }
    
    .solution-icon img {
        width: 1.8rem !important;
        height: 1.8rem !important;
    }

    .solution-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
    }

    .solution-description {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .duru-slider {
        height: 100vh;
    }

    .solution-item {
        padding: 3rem 2.5rem;
        min-height: 220px;
    }

    .solution-icon {
        width: 6.5rem;
        height: 6.5rem;
    }

    .solution-icon svg {
        width: 4.5rem;
        height: 4.5rem;
    }

    .solution-title {
        font-size: 1.4rem;
    }

    .solution-description {
        font-size: 1rem;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.duru-slider .main-title,
.duru-slider .main-subtitle {
    animation: fadeInUp 0.8s ease-out;
}

.duru-slider .solution-item {
    animation: fadeInUp 0.6s ease-out;
}

.duru-slider .solution-item:nth-child(1) {
    animation-delay: 0.1s;
}

.duru-slider .solution-item:nth-child(2) {
    animation-delay: 0.2s;
}

.duru-slider .solution-item:nth-child(3) {
    animation-delay: 0.3s;
}