/* ================================================
   Kulüp PDF Slider Component Styles
   ================================================ */

.kulup-pdf-slider-section {
    position: relative;
    padding: 80px 20px 100px;
    background: #1a1a1a;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kulup-slider-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* ================================================
   Header Section
   ================================================ */

.kulup-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 20px;
    flex-wrap: wrap;
}

.slide-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.slide-counter .current-slide,
.slide-counter .total-slides {
    color: #ffffff;
    font-weight: 700;
}

.kulup-slider-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex: 1;
    text-align: left;
}

.kulup-slider-navigation {
    display: flex;
    gap: 12px;
}

.kulup-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.kulup-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.kulup-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.kulup-nav-btn svg {
    width: 24px;
    height: 24px;
}

.kulup-prev-btn {
    background: rgba(255, 255, 255, 0.15);
}

.kulup-next-btn {
    background: #ffffff;
    color: #1a1a1a;
}

.kulup-next-btn:hover:not(:disabled) {
    background: #f0f0f0;
}

/* ================================================
   Slider Wrapper
   ================================================ */

.kulup-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.kulup-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.kulup-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.kulup-slide-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
}

/* ================================================
   Main Preview (Tablet/Desktop View)
   ================================================ */

.main-preview {
    flex: 1;
    max-width: 1200px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    background: #ffffff;
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ================================================
   Phone Mockups
   ================================================ */

.phone-mockups {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-shrink: 0;
}

.phone-mockup {
    position: relative;
    width: 280px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #1a1a1a;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
    transform: scale(1.02);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stagger animation for multiple phones */
.phone-1 {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.phone-2 {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.phone-3 {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

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

/* ================================================
   Pagination Dots
   ================================================ */

.kulup-slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pagination-dot.active {
    background: #ffffff;
    width: 32px;
    border-radius: 5px;
}

/* ================================================
   PDF Download Button
   ================================================ */

.kulup-pdf-download {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ffffff;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.pdf-download-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.pdf-download-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdf-download-btn:hover svg {
    transform: translateX(4px);
}

/* ================================================
   Responsive Design
   ================================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .kulup-slider-title {
        font-size: 64px;
    }
    
    .phone-mockup {
        width: 320px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .kulup-slider-title {
        font-size: 52px;
    }
    
    .main-preview {
        max-width: 800px;
    }
    
    .phone-mockup {
        width: 260px;
    }
}

/* Tablet Large (992px - 1199px) */
@media (max-width: 1199px) {
    .kulup-pdf-slider-section {
        padding: 60px 20px 80px;
    }
    
    .kulup-slider-title {
        font-size: 44px;
    }
    
    .kulup-slide-content {
        gap: 30px;
    }
    
    .main-preview {
        max-width: 700px;
    }
    
    .phone-mockup {
        width: 240px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .kulup-slider-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .kulup-slider-title {
        font-size: 36px;
        text-align: center;
        width: 100%;
    }
    
    .kulup-slider-navigation {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .slide-counter {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .kulup-slide-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .main-preview {
        max-width: 100%;
    }
    
    .phone-mockups {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .phone-mockup {
        width: 200px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .kulup-pdf-slider-section {
        padding: 40px 15px 60px;
    }
    
    .kulup-slider-title {
        font-size: 32px;
    }
    
    .kulup-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .kulup-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .phone-mockups {
        gap: 15px;
    }
    
    .phone-mockup {
        width: 180px;
    }
    
    .pdf-download-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .kulup-pdf-download {
        justify-content: center;
    }
}

/* Mobile Medium (400px - 575px) */
@media (max-width: 575px) {
    .kulup-slider-title {
        font-size: 28px;
    }
    
    .phone-mockups {
        flex-direction: column;
        gap: 20px;
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .slide-counter {
        font-size: 14px;
    }
}

/* Mobile Small (<400px) */
@media (max-width: 399px) {
    .kulup-pdf-slider-section {
        padding: 30px 10px 50px;
    }
    
    .kulup-slider-title {
        font-size: 24px;
    }
    
    .kulup-slider-header {
        margin-bottom: 30px;
    }
    
    .kulup-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .kulup-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .phone-mockup {
        max-width: 100%;
    }
    
    .pdf-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   Accessibility
   ================================================ */

.kulup-nav-btn:focus-visible,
.pagination-dot:focus-visible,
.pdf-download-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .kulup-slider-track {
        transition: none;
    }
    
    .phone-mockup,
    .kulup-nav-btn,
    .pagination-dot,
    .pdf-download-btn {
        transition: none;
        animation: none;
    }
    
    .phone-1, .phone-2, .phone-3 {
        animation: none;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .kulup-slider-navigation,
    .kulup-slider-pagination,
    .kulup-pdf-download {
        display: none;
    }
    
    .kulup-slider-track {
        display: block;
    }
    
    .kulup-slide {
        page-break-inside: avoid;
        page-break-after: always;
    }
}
/* ===================================
   Kulüp PDF Slider - Carousel Stilleri
   =================================== */

/* 1. Ana wrapper'a (ID'li olan) taşmayı gizle */
.kulup-slider-wrapper {
    overflow: hidden;
    /* Dokunmatik kaydırmanın düzgün çalışması için */
    touch-action: pan-y; 
}

/* 2. Track'e (kayan alan) yumuşak geçiş ve boşluk ver */
.kulup-slider-track {
    display: flex;
    /* Slaytlar arası boşluk (istediğiniz gibi ayarlayın) */
    gap: 20px; 
    
    /* Yumuşak bir kayma efekti için */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 3. Her bir slayta esnek genişlik ver */
.kulup-slide {
    /* Slaytların genişliği (örn: %80). Kalan %20 peeking alanı olur */
    flex-basis: 80%; 
    flex-shrink: 0;
    
    /* İçeriğin (metin + resim) bozulmasını engelle */
    overflow: hidden; 
    border-radius: 20px; /* Köşeleri yuvarlatmak şık durur */
    
    /* Aktif olmayan slaytları soluklaştır ve küçült (Opsiyonel) */
    opacity: 0.6;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 4. Aktif olan slaytı öne çıkar (JS ile eklediğimiz sınıfa göre) */
.kulup-slide.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* 5. Mobil için ayar */
@media (max-width: 768px) {
    .kulup-slide {
        /* Mobilde yanlarda daha az boşluk bırak */
        flex-basis: 90%; 
    }
    .kulup-slider-track {
        gap: 10px; /* Mobilde boşluğu azalt */
    }
}
/* ===================================
   Dinamik Header Başlığı Stilleri
   =================================== */

/* Header'daki başlık konteynerine stil */
.kulup-dynamic-title-container {
    position: relative; /* İçindeki başlıkları hizalamak için */
    text-align: center;
    flex-grow: 1; /* Alanda kalan boşluğu doldurur */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30px; /* Başlık alanı yüksekliği (kaymayı engeller) */
}

/* Tüm dinamik başlıkları gizle */
.kulup-dynamic-title-container .kulup-slider-title {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    
    /* Üst üste binmeleri için absolute kullan */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Orijinal stilin korunması için */
    margin: 0;
    font-size: 20px; /* veya mevcut stil neyse */
    color: white;
}

/* Sadece aktif olan başlığı göster */
.kulup-dynamic-title-container .kulup-slider-title.active {
    opacity: 1;
    position: relative; /* Akışa geri al */
    transform: none;
}