/* Paket Seçici - Modern Profesyonel Banner Tasarım */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

.paket-secici-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8fafc;
}

.paket-secici-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #202c5a 0%, #1a2347 100%);
    padding: 40px 60px;
    position: relative;
}

/* Adımlar - Yatay Layout */
.paket-secici-step {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    animation: slideIn 0.4s ease;
}

.paket-secici-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step Header - Kompakt ve Yatay */
.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.step-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.step-icon.success {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.step-header-content {
    flex: 1;
}

.step-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.step-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-weight: 400;
}

/* Seçenekler Grid - Yatay Kompakt */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Option Card - Kompakt ve Modern */
.option-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.option-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: white;
}

.option-card.selected {
    background: white;
    border-color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.option-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
    transition: transform 0.2s ease;
}

.option-card:hover .option-icon {
    transform: scale(1.1);
}

.option-card.selected .option-icon {
    transform: scale(1.15);
}

.option-card h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: #1f2937;
    line-height: 1.4;
}

/* Sonuç Container - Kompakt */
.result-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.result-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1f2937;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.result-card p {
    font-size: 14px;
    color: #374151;
    margin: 0 0 12px 0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobilde açıklama paragrafını gizle - global */
@media (max-width: 768px) {
    .result-card h3 + p,
    .result-card p.paket-aciklama,
    .result-card > p:first-of-type {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.result-card .price {
    font-size: 32px;
    font-weight: 700;
    margin: 16px 0;
    color: #059669;
    display: block;
    line-height: 1.2;
}

/* İndirimli Fiyat */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.old-price {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
    margin: 0;
}

.sale-price {
    font-size: 36px;
    color: #dc2626;
    font-weight: 800;
    margin: 0;
}

.sale-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stok Durumu */
.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0;
    display: inline-block;
}

/* Canlı Fiyat Badge */
.live-price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.result-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #202c5a 0%, #1a2347 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(32, 44, 90, 0.4);
}

.result-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 44, 90, 0.6);
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #283a6a 0%, #202c5a 100%);
}

.result-button svg {
    width: 16px;
    height: 16px;
}

/* Butonlar - Kompakt */
.back-button,
.restart-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 6px;
}

.back-button svg,
.restart-button svg {
    width: 16px;
    height: 16px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-2px);
}

.restart-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* İlerleme Çubuğu - Kompakt ve Yatay */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-step.active .step-circle {
    background: white;
    color: #202c5a;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.progress-step.completed .step-circle {
    background: rgba(16, 185, 129, 0.9);
    color: white;
    border-color: rgba(16, 185, 129, 1);
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.progress-step.active .step-label {
    color: white;
}

.progress-step.completed .step-label {
    color: rgba(255, 255, 255, 0.8);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 12px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: white;
    transition: width 0.4s ease;
}

.progress-step.completed ~ .progress-line::after,
.progress-step.active ~ .progress-line::after {
    width: 100%;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
}

/* Seçim Özeti */
#secim-ozeti {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 16px;
}

/* Responsive - Mobil */
@media (max-width: 768px) {
    .paket-secici-wrapper {
        padding: 30px 20px;
    }
    
    .step-header {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    
    .step-header h2 {
        font-size: 16px;
    }
    
    .step-header p {
        font-size: 12px;
    }
    
    /* Mobilde ürün açıklamasını gizle */
    .result-card > p {
        display: none !important;
    }
    
    .step-icon {
        width: 36px;
        height: 36px;
    }
    
    .step-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .option-card {
        padding: 16px 10px;
    }
    
    .option-icon {
        font-size: 28px;
    }
    
    .option-card h3 {
        font-size: 12px;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .progress-line {
        width: 40px;
        margin: 0 8px;
    }
    
    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .result-card {
        padding: 24px 20px;
    }
    
    .result-card h3 {
        font-size: 18px;
    }
    
    .result-card > p:not(.price) {
        display: none !important;
    }
    
    .result-card .price {
        font-size: 28px;
        color: #10b981;
        font-weight: 800;
    }
    
    .sale-price {
        font-size: 32px !important;
    }
    
    .old-price {
        font-size: 16px !important;
    }
    
    .sale-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .result-button {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .paket-secici-wrapper {
        padding: 24px 16px;
    }
    
    .step-header {
        gap: 12px;
    }
    
    .step-header h2 {
        font-size: 15px;
    }
    
    .back-button,
    .restart-button {
        padding: 7px 16px;
        font-size: 12px;
    }
    
    .result-card {
        padding: 20px 16px;
    }
    
    .result-card h3 {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .result-card > p:not(.price) {
        display: none !important;
    }
    
    .result-card .price {
        font-size: 24px;
        color: #10b981;
        margin: 12px 0;
    }
    
    .result-container {
        max-width: 100%;
        padding: 0 8px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .option-card {
        background: rgba(31, 41, 55, 0.95);
    }
    
    .option-card h3 {
        color: #f9fafb;
    }
    
    .option-card:hover,
    .option-card.selected {
        background: #1f2937;
    }
    
    .result-card {
        background: rgba(31, 41, 55, 0.95);
    }
    
    .result-card h3 {
        color: #f9fafb;
    }
    
    .result-card p {
        color: #d1d5db;
    }
    
    .result-card .price {
        color: #34d399;
    }
}

/* Animasyon iyileştirmeleri */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Banner Stili - Üstte Sabit */
.paket-secici-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Profesyonel Grid Layout */
.options-grid.professional {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.options-grid.professional .option-card {
    flex: 0 1 auto;
    min-width: 120px;
}

/* Hover Efektleri - Daha Subtle */
.option-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 44, 90, 0.05) 0%, rgba(26, 35, 71, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 12px;
    pointer-events: none;
}

.option-card:hover::after {
    opacity: 1;
}

/* Typography İyileştirmeleri */
.step-header h2,
.option-card h3,
.result-card h3 {
    letter-spacing: -0.02em;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
