/* --- Temel Ayarlar ve Değişkenler --- */
:root {
    /* Ana vurgu rengi (Site geneli için mor kalabilir veya nötrleştirilebilir) */
    --primary-color: #6C63FF; 
    --secondary-color: #2A2A72;
    
    /* --- GÜNCELLENEN RENKLER --- */
    --ubuntu-color: #D32F2F;  /* ARTIK KIRMIZI */
    --debian-color: #0056D2;  /* ARTIK KOYU MAVİ */
    --mint-color: #87CF3E;    /* YEŞİL (Aynı kaldı) */

    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --text-light: #ffffff;
    --text-dim: #b3b3b3;
    --font-main: 'Ubuntu', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigasyon --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- Dil Değiştirme Butonu --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switch span { color: var(--text-dim); font-size: 0.9rem; }
.lang-switch a { font-size: 0.9rem; font-weight: 700; color: var(--text-dim); transition: var(--transition); text-decoration: none; }
.lang-switch a:hover { color: var(--primary-color); }
.lang-switch .active-lang { color: var(--text-light); text-decoration: underline; text-underline-offset: 4px; }


/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, #2b2b2b, var(--dark-bg) 70%);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.badge {
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid var(--primary-color);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), #a099ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
}

/* --- Section Genel --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- 3 Büyük Dağıtım Kartları --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-decoration: none;
    display: block;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    color: var(--text-light);
}

.feature-card h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.role {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    color: var(--text-dim);
}

/* Marka Renkleri Hover (Güncellendi) */
.brand-ubuntu .role { color: var(--ubuntu-color); }
.brand-ubuntu:hover { border-color: var(--ubuntu-color); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2); }
.brand-ubuntu .icon-box { color: var(--ubuntu-color); }

.brand-debian .role { color: var(--debian-color); }
.brand-debian:hover { border-color: var(--debian-color); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 86, 210, 0.2); }
.brand-debian .icon-box { color: var(--debian-color); }

.brand-mint .role { color: var(--mint-color); }
.brand-mint:hover { border-color: var(--mint-color); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(135, 207, 62, 0.2); }
.brand-mint .icon-box { color: var(--mint-color); }

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- Hazırlık (Pre-install) --- */
.prep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.prep-card {
    background: #252525;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.prep-icon {
    font-size: 3rem;
    color: var(--text-dim);
    margin: 20px 0;
    display: block;
}

.prep-card h3 { margin-bottom: 15px; }
.prep-card p { font-size: 0.95rem; color: var(--text-dim); }


/* --- KURULUM SEÇİM ALANI --- */
.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.install-card {
    text-decoration: none;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.install-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border-color: var(--primary-color);
}

.install-img-wrapper {
    height: 200px;
    background: #000;
    overflow: hidden;
}

.install-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.install-card:hover .install-img-wrapper img {
    transform: scale(1.05);
}

.install-info {
    padding: 20px;
    text-align: center;
}

.install-info h3 {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- GALERİ (Simple Gallery Grid) --- */
.simple-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
}

/* --- DETAY SAYFALARI (Başlık Renk Ayarları) --- */
.guide-header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 100px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* GÜNCELLENEN HEADER RENKLERİ */
/* Ubuntu için Kırmızı Arkaplan Geçişi */
.header-ubuntu { 
    background: radial-gradient(circle at center, #8a0000, var(--dark-bg)); 
    border-bottom-color: var(--ubuntu-color); 
}

/* Debian için Mavi Arkaplan Geçişi */
.header-debian { 
    background: radial-gradient(circle at center, #002b66, var(--dark-bg)); 
    border-bottom-color: var(--debian-color); 
}

/* Mint (Yeşil - Aynı Kaldı) */
.header-mint { 
    background: radial-gradient(circle at center, #2E4C14, var(--dark-bg)); 
    border-bottom-color: var(--mint-color); 
}

.guide-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.step-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 16px;
    margin-bottom: 60px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.step-card:nth-child(even) {
    flex-direction: row-reverse;
}

.step-image-container {
    width: 55%;
    height: 100%;
    min-height: 350px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.step-content {
    width: 45%;
    padding: 40px;
}

.step-number {
    display: inline-block;
    /* Rengi HTML'deki inline stilden alıyor ama burada yedek kalsın */
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.step-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.3;
}

.step-content p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #0a0a0a;
    text-align: center;
}

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE) AYARLARI
   Bu kodları style.css'in en altına yapıştır
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. Navigasyon (Menü) Düzeni */
    .navbar {
        padding: 15px 0;
        position: relative; /* Sabit kalması bazen sorun yaratabilir mobilde */
    }
    .nav-container {
        flex-direction: column; /* Logoyu ve linkleri alt alta al */
        gap: 15px;
    }
    .nav-links {
        display: flex; 
        flex-wrap: wrap; /* Sığmazsa alt satıra geçsin */
        justify-content: center;
        gap: 15px;
        width: 100%;
        padding: 0;
    }
    .nav-links a {
        font-size: 0.9rem;
        background: rgba(255,255,255,0.05); /* Mobilde buton gibi görünsün */
        padding: 5px 10px;
        border-radius: 5px;
    }
    .lang-switch {
        margin-top: 5px;
    }

    /* 2. Hero (Giriş) Bölümü */
    .hero-content h1 {
        font-size: 2.2rem; /* Başlığı küçült */
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column; /* Butonları alt alta diz */
        width: 100%;
        gap: 15px;
    }
    .btn {
        width: 100%; /* Butonları tam genişlik yap */
        justify-content: center;
    }

    /* 3. Genel Bölüm Ayarları */
    .section {
        padding: 60px 0; /* Mobilde çok boşluk olmasın */
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 15px; /* Kenar boşluklarını daralt */
    }

    /* 4. Linux Nedir & Karşılaştırma */
    .info-list {
        flex-direction: column; /* Maddeleri alt alta diz */
        gap: 10px;
    }
    .info-list li {
        width: 100%;
    }
    .info-icon {
        display: none; /* Mobilde büyük ikonu gizle, yer kaplamasın */
    }

    /* 5. Kurulum Adımları (Step Cards) */
    .step-card, .step-card:nth-child(even) {
        flex-direction: column; /* Her zaman alt alta olsun */
    }
    .step-image-container {
        width: 100%;
        height: 250px; /* Resim yüksekliğini sınırla */
    }
    .step-content {
        width: 100%;
        padding: 30px 20px;
        text-align: center; /* Yazıları ortala */
    }
    .step-content h2 {
        font-size: 1.5rem;
    }

    /* 6. Galeri */
    .simple-gallery-grid {
        grid-template-columns: 1fr; /* Resimleri tek sütun yap */
    }
    
    /* 7. Hazırlık (Prep) Kartları */
    .prep-grid {
        grid-template-columns: 1fr;
    }
}