@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --dxp-card-transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dxp-hero-section {
    position: relative;
    min-height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    overflow: hidden;
    text-align: center;
    border-radius: 20px;
    margin: 20px 0;
}

/* Video Arka Plan */
.dxp-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    border-radius: 20px;
}

/* Görsel Arka Plan */
.dxp-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    border-radius: 20px;
}

/* Overlay - yazıların okunabilirliği için */
.dxp-overlay {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 20px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.dxp-hero-content {
    position: relative;
    z-index: 3;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 280px;
}

.dxp-pre-title {
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.dxp-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    max-width: 750px;
    line-height: 1.2;
    margin: 10px auto 30px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.dxp-cta-button {
    display: inline-block;
    background-color: #fff;
    color: #1a1a1a;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
}

.dxp-cta-button:hover {
    transform: scale(1.05);
    color: #1a1a1a;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dxp-projects-slider-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.dxp-projects-slider {
    display: flex;
    gap: 20px;
    padding: 20px 40px;
    overflow-x: auto;
    cursor: grab;
    user-select: none;
    scrollbar-width: none;
}

.dxp-projects-slider::-webkit-scrollbar {
    display: none;
}

.dxp-projects-slider.active {
    cursor: grabbing;
}

/* Kart Tasarımı */
.dxp-project-card {
    min-width: 280px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--dxp-card-transition);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dxp-project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
}

.dxp-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.dxp-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dxp-project-card:hover .dxp-card-image {
    transform: scale(1.05);
}

.dxp-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

.dxp-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dxp-card-image-wrapper:hover .dxp-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.dxp-play-icon svg {
    width: 18px;
    fill: #1a1a1a;
    margin-left: 2px;
}

.dxp-card-content {
    padding: 20px;
    text-align: left;
    color: #fff;
}

.dxp-card-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.dxp-card-content p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.85;
    color: #fff;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.dxp-no-projects {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    text-align: center;
}

.dxp-no-projects p {
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.dxp-no-projects a {
    color: #fff;
    text-decoration: underline;
}

.dxp-no-projects a:hover {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .dxp-hero-section {
        min-height: 90vh;
        margin: 10px 0;
        padding: 30px 15px;
    }
    
    .dxp-hero-content {
        margin-bottom: 200px;
    }
    
    .dxp-main-title {
        font-size: 2.5rem;
    }
    
    .dxp-projects-slider {
        padding: 10px 20px;
    }
    
    .dxp-project-card {
        min-width: 250px;
    }
    
    .dxp-projects-slider-container {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .dxp-hero-content {
        margin-bottom: 180px;
    }
    
    .dxp-main-title {
        font-size: 2rem;
    }
    
    .dxp-pre-title {
        font-size: 0.9rem;
    }
    
    .dxp-cta-button {
        padding: 12px 26px;
        font-size: 0.95rem;
    }
    
    .dxp-project-card {
        min-width: 220px;
    }
}
