/* ========================================
   FEATURES PAGE STYLES
======================================== */

/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0L50 50L100 0L100 100L50 50L0 100Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
}

.features-hero .container {
    position: relative;
    z-index: 1;
}

.features.hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.features-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.features-hero .hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Detailed Features Section */
.detailed-features {
    padding: 100px 0;
    background: #f8f9fa;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.feature-detail:last-child {
    margin-bottom: 0;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse .feature-content {
    direction: ltr;
}

/* Slider yönü her zaman soldan sağa olmalı */
.feature-detail.reverse .feature-slider-container {
    direction: ltr; 
}

.feature-content {
    padding: 20px 0;
    margin-left: 60px;
    
}

.feature-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #43abdd 0%, #5eb3d6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(67, 171, 221, 0.3);
    position: relative;
}

.feature-badge.pro {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.pro-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: #FF6B6B;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.feature-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.15rem;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list i {
    color: #43abdd;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========================================
   SLIDER STYLES (NEW)
======================================== */

/* ========================================
   KARIŞIK YÖNLÜ (MIXED) SLIDER STİLİ
======================================== */
/* HTML'de: <div class="feature-slider-container mixed"> kullanın */

/* Mixed sınıfını bu şekilde güncelleyin */
.feature-slider-container.mixed {
    background: transparent !important; /* Arka plan rengini kaldır */
    box-shadow: none; /* İsterseniz gölgeyi de kaldırabilirsiniz, sadece resim kalsın */
}

.feature-slider-container.mixed .feature-slide {
    height: auto; /* Yüksekliği serbest bırak */
    align-items: flex-start; /* Yukarı hizala */
}

.feature-slider-container.mixed .feature-slide img {
    width: 100%;
    height: auto; /* Resmin kendi boyutu */
    max-height: 600px; /* Çok uzun dikey resimler ekranı kaplamasın diye sınır */
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); /* Gölgeyi resme veriyoruz, kutuya değil */
}

.feature-slider-container {
    position: relative;
    width: 100%;
    
    /* BURAYI DEĞİŞTİRİN: 600px yerine 800px veya %100 yapabilirsiniz */
    max-width: 100%;  /* Önerilen: Alanı tamamen kaplaması için %100 */
    
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #fff;
    align-self: center;
    
    /* İPUCU: Eğer resmi daha "kare" veya "uzun" yapmak isterseniz burayı değiştirin */
    aspect-ratio: 9/11; /* Örn: Daha büyük görünüm için 4/3 veya 16/9 yapabilirsiniz */
    transition: height 0.3s ease, aspect-ratio 0.3s ease;
}

.feature-slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
}

.feature-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8; /* Resim yüklenene kadar arka plan */
}

.feature-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* veya contain, resmin nasıl durmasını istediğinize göre */
    display: block;
    cursor: pointer; /* Lightbox için */
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #43abdd;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.feature-slider-container:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: #43abdd;
    color: white;
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 5px 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
    background: #43abdd;
}

/* Fullscreen Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    padding: 40px;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    color: #2c3e50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: #43abdd;
    color: white;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Platform Tour Section */
.platform-tour {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
}

.tour-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tour-main-screen {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
}

.tour-screenshot {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: opacity 0.3s ease;
}

.tour-info {
    text-align: center;
}

.tour-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tour-info p {
    font-size: 1.15rem;
    color: #5a6c7d;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Tour Thumbnails */
.tour-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tour-thumb {
    background: white;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    text-align: center;
}

.tour-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tour-thumb.active {
    border-color: #43abdd;
    box-shadow: 0 10px 30px rgba(67, 171, 221, 0.3);
}

.tour-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.tour-thumb span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Tour Controls */
.tour-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.tour-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #43abdd;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tour-btn:hover {
    background: #43abdd;
    color: white;
    transform: scale(1.1);
}

.tour-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.features-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #74badb 0%, #f0f2f4 100%);
    color: black;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    gap: 0.75rem;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   MOBILE NAVIGATION STYLES (from index.css)
======================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color, #43abdd);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

body.menu-open {
    overflow: hidden;
}

/* Active nav link */
.nav-links a.active {
    color: #43abdd !important;
    font-weight: 600;
}

/* ========================================
   FOOTER STYLES (from index.css)
======================================== */

.footer {
    background: linear-gradient(135deg, #43abdd 0%, #5eb3d6 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.payment-text {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-img {
    height: 40px;
    background: linear-gradient(135deg, #43abdd 0%, #5eb3d6 100%);
    padding: 8px 12px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-bottom {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
======================================== */

@media (max-width: 992px) {
    .features-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .feature-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        margin-bottom: 60px;
    }

    .feature-detail.reverse {
        direction: ltr;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
======================================== */

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
        margin-bottom: 2rem;
    }
    
    .nav-links li {
        display: block !important;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
    }
    
    .nav-links a {
        display: block !important;
        padding: 1rem 0;
        color: #333 !important;
        font-weight: 500;
        text-decoration: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: #43abdd !important;
        background-color: #f8f9fa;
        padding-left: 10px;
    }
    
    .nav-cta {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    /* Hero Section */
    .features-hero {
        padding: 80px 0 60px;
    }

    .features-hero .hero-content h1 {
        font-size: 2rem;
    }

    .features-hero .hero-content p {
        font-size: 1rem;
    }

    /* Feature Details (DÜZELTİLEN KISIMLAR) */
    .detailed-features {
        padding: 60px 0;
    }

    .feature-detail {
        padding: 30px 20px;
        margin-bottom: 40px;
        gap: 20px; /* EKLENDİ: Metin ile resim arasındaki boşluk azaltıldı (40px -> 20px) */
    }

    .feature-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* EKLENDİ: Yazı içeriğinin altındaki gereksiz boşluk silindi */
    .feature-content {
        padding-bottom: 0;
        margin-left: 0;
    }

    .feature-content h2 {
        font-size: 1.75rem;
    }

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

    /* EKLENDİ: Liste altındaki boşluk azaltıldı */
    .feature-list {
        margin-bottom: 1.5rem; 
    }

    .feature-list li {
        font-size: 0.95rem;
    }

    /* Slider Mobile (DÜZELTİLEN KISIM) */
    .feature-slider-container {
        margin-top: 0; /* DEĞİŞTİ: 20px -> 0 (Zaten gap var) */
        aspect-ratio: 9/11; 
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        opacity: 1 !important; 
    }

    /* Platform Tour */
    .platform-tour {
        padding: 60px 0;
    }

    .tour-main-screen {
        padding: 20px;
    }

    .tour-info h3 {
        font-size: 1.5rem;
    }

    .tour-info p {
        font-size: 1rem;
    }

    .tour-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tour-thumb img {
        height: 60px;
    }

    .tour-thumb span {
        font-size: 0.75rem;
    }

    .tour-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* CTA Section */
    .features-cta {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* 2. Ödeme Yöntemleri Görsellerini Düzenle */
    .payment-methods {
        flex-direction: column; /* Resimleri yan yana değil alt alta dizersen daha iyi sığar */
        align-items: center;
        gap: 15px;
    }

    .payment-img {
        /* Resmin ekrandan taşmasını engelle */
        max-width: 100%; 
        
        /* Genişlik %100 olunca boyu bozulmasın diye auto yapıyoruz */
        height: auto; 
        
        /* Görsel çok devasa olmasın diye maksimum yükseklik sınırı */
        max-height: 50px; 
        
        /* Resmi ortala */
        display: block;
        margin: 0 auto;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
======================================== */

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .features-hero {
        padding: 60px 0 40px;
    }

    .features-hero .hero-content h1 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .feature-detail {
        padding: 25px 15px;
    }

    .feature-content h2 {
        font-size: 1.5rem;
    }

    /* Lightbox mobile adjustments */
    .image-lightbox {
        padding: 20px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .tour-thumbnails {
        grid-template-columns: 1fr;
    }

    .tour-controls {
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus, button:focus {
    outline: 2px solid #43abdd;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .feature-detail,
    .tour-main-screen {
        border: 2px solid currentColor;
    }
}