/* =========================================
   MAP Test Merkezi - Global Değişkenler
========================================= */
:root {
    --map-primary: #30d5c8;
    --map-primary-hover: #4ecec3;
    --map-text-dark: #1e293b;
    --map-text-gray: #64748b;
    --map-bg-main: #f8fafc;
    --map-bg-card: #ffffff;
    --map-border: #e2e8f0;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--map-bg-main);
    color: var(--map-text-dark);
    line-height: 1.6;
}



.back-link {
    text-decoration: none;
    color: var(--map-text-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--map-primary);
}

/* Navbar yapısı */
.mock-navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 2rem; 
   
}


.back-link,
.navbar-right-text {
    flex: 1; 
}


.navbar-right-text {
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--map-primary); 
}


.back-link {
    text-align: left;
    text-decoration: none;
    color: inherit; 
}


.logo {
    display: flex;
    justify-content: center; 
    flex: 0 1 auto; 
}

.logo img,
.logo svg {
    height: 4.5rem; 
    width: auto;
    display: block;
    object-fit: contain;
}
/* =========================================
   Ana Konteyner ve Başlık
========================================= */
.map-test-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.test-header {
    text-align: center;
    margin-bottom: 3rem;
}

.test-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    color: var(--map-text-dark);
}

.test-subtitle {
    font-size: 1.1rem;
    color: var(--map-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Sekmeler (Tabs)
========================================= */
.test-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.test-tabs {
    display: flex;
    background: var(--map-bg-card);
    padding: 0.5rem;
    border-radius: 99px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--map-border);
    gap: 0.5rem;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--map-text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--map-primary);
    background: #f1f5f9;
}

.tab-btn.active {
    background: var(--map-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(35, 190, 195, 0.25);
}

/* =========================================
   Grid ve Kart Tasarımı
========================================= */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.test-card {
    background: var(--map-bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--map-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(35, 195, 195, 0.1);
    border-color: var(--map-primary);
}

/* =========================================
   Kart İçi Elemanlar (İkon ve Rozetler)
========================================= */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(35, 190, 195, 0.1);
    color: var(--map-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Etiketler (Badges) */
.badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-new { background: #dcfce7; color: #16a34a; }
.badge-soon { background: #fef3c7; color: #d97706; }
.badge-hot { background: #fee2e2; color: #dc2626; }

/* Kart Metinleri */
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-desc {
    color: var(--map-text-gray);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 2rem;
}

/* =========================================
   Kart Alt Bilgisi ve Butonlar
========================================= */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--map-border);
    padding-top: 1.25rem;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--map-text-gray);
    font-weight: 500;
}

/* Aksiyon Butonu */
.start-btn {
    background: rgba(35, 171, 195, 0.1);
    color: var(--map-primary);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.start-btn:hover:not(:disabled) {
    background: var(--map-primary);
    color: white;
}

.start-btn:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* =========================================
   Animasyonlar
========================================= */
@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.98) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-card {
    animation: fadeInScale 0.4s ease forwards;
    opacity: 0; 
}

/* =========================================
   Mobil Uyumluluk (Responsive Design)
========================================= */
@media (max-width: 768px) {
    .map-test-container {
        padding: 2rem 1rem;
    }
    
    .test-title {
        font-size: 1.8rem;
    }
    
    .test-subtitle {
        font-size: 1rem;
    }
    
    .test-tabs-wrapper {
        margin-bottom: 2rem;
    }
    
    .test-tabs {
        flex-direction: column;
        width: 100%;
        border-radius: 16px;
        padding: 0.5rem;
    }
    
    .tab-btn {
        justify-content: center;
        padding: 1rem;
    }
    
    .test-grid {
        gap: 1.5rem;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .card-meta {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .start-btn {
        width: 100%;
        text-align: center;
    }
}