/* 
 * Haki Tutorial Container 
 * java.zamkinos.com/assets/css/_main_column_haki.css
 * 
 */

/* TUTORIAL BOX - inline stillerden class'lara çevrildi */
.haki-tutorial-box {
    display: flex;
    width: 100%;
    max-width: 48rem;
    flex-direction: row;
    border-radius: 12px 12px 0 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    padding-top: 60px; /* DEĞİŞTİ: 45px → 48px (12px grid) */
    padding-bottom: 35px;
    border: 1px solid #8A9A5B;
}

.haki-tutorial-top-bar {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: #f3ad1a; /* BURASI: "⊙ Java Tutorial 161:" rengi */
    background: #3B5159;
    padding: 8px 20px 8px 12px; /* Üst:8px, Sağ:20px, Alt:8px, Sol:12px */
    margin: 0;
    border-radius: 12px 12px 0 0;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 45px; /* DEĞİŞTİ: 45px → 48px (padding-top ile aynı) */
}

.haki-tutorial-icon {
    width: 28px; /* veya 24px */
    height: 28px; /* width ile aynı olmalı */
    vertical-align: middle; /* Bu çok önemli, metinle hizalar */
    margin-right: 10px; /* Logo ile yazı arasındaki boşluk */
    margin-left: 0; /* Logo sola yanaşık ama top-bar ayarında. */
    filter: brightness(0) invert(1); /* Logo SVG olduğu için renk ayarı yapıyoruz.! */
}

.haki-tutorial-top-bar-text {
    display: flex;
    align-items: center;
}

.haki-tutorial-dot {
    margin-right: 8px;
}

.haki-tutorial-title {
    margin-left: 5px;
    color: #C1CD97; /* DEĞİŞTİ: Açık renkli haki tonu */
    font-weight: 500; /* BOLD değil */
    font-size: 0.9rem; /* YENİ: Puntosu biraz büyüdü */
}

.haki-tutorial-left-column {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 320px;
}

.haki-tutorial-image-area {
    position: relative;
    width: 320px;
    margin: 0;
    overflow: hidden;
    background: white;
}

.haki-tutorial-image {
    width: 320px;
    height: 180px;
    object-fit: contain;
    border-radius: 0; /* Alt köşeler 90 derece */
    background: #f5f5f5;
    display: block;
}

.haki-tutorial-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 0; /* Alt köşeler 90 derece */
}

.haki-tutorial-right-column {
    padding: 0 20px 20px 20px; /* Üst: 10px, Sağ: 20px, Alt: 20px, Sol: 20px */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
}

.haki-key-concepts-title {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
    margin: 0 0 12px 0; /* Normal margin */
    padding-bottom: 6px;
    border-bottom: 2px solid #fecaca;
    text-transform: titlecase;
    letter-spacing: 0.5px;
}

.haki-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.5;
}

.haki-highlight-dot {
    color: #005235;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

.haki-highlight-text {
    flex: 1;
    font-weight: 500;
}

/* ===== BUTON STİLLERİ ===== */

/* BUTON TEMEL STİLİ - Tüm butonlar için ortak (PILL SHAPE korundu) */
.haki-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 20px; /* PILL SHAPE için bu çok önemli! */
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent; /* Tüm butonlarda border var ama transparent */
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    height: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* AKTİF BUTONLAR */

/* YouTube Butonu - Aktif */
.haki-youtube-button {
    color: #F2C2CF;
    background: #ff0000;
    box-shadow: 0 1px 2px rgba(255, 0, 0, 0.2);
    border-color: #cc0000; /* Koyu kırmızı border */
}

.haki-youtube-button:hover {
    background: #73020C;
    color: #F2C2CF;
    box-shadow: 0 1px 3px rgba(38, 1, 4, 0.3);
    border-color: #73020C; /* Hover'da border rengi de değişsin */
}

/* Tutorial Butonu - Aktif (mavi) */
.haki-tutorial-button {
    color: #C2D2F2;
    background: #3b82f6;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
    border-color: #2563eb; /* Koyu mavi border */
}

.haki-tutorial-button:hover {
    background: #1B0273;
    color: #C2D2F2;
    box-shadow: 0 1px 3px rgba(27, 2, 115, 0.3);
    border-color: #1B0273; /* Hover'da border rengi de değişsin */
}

/* Sayfa Link Butonu - Aktif (turuncu) */
.haki-page-button {
    color: #FFF3E0;
    background: #f97316;
    box-shadow: 0 1px 2px rgba(249, 115, 22, 0.2);
    border-color: #ea580c; /* Koyu turuncu border */
}

.haki-page-button:hover {
    background: #c2410c;
    color: #FFF3E0;
    box-shadow: 0 1px 3px rgba(194, 65, 12, 0.3);
    border-color: #c2410c; /* Hover'da border rengi de değişsin */
}

/* PASİF BUTONLAR (tıklanamaz) */

/* Tutorial Butonu - Pasif (pastel mavi) */
.haki-tutorial-button-passive {
    color: #93C5FD;
    background: #DBEAFE;
    box-shadow: 0 1px 2px rgba(219, 234, 254, 0.5);
    cursor: default;
    pointer-events: none; /* Tıklamayı engelle */
    border-color: #93C5FD; /* Açık mavi border - BEYAZ ZEMİNDE GÖRÜNSÜN */
}

.haki-tutorial-button-passive:hover {
    background: #DBEAFE; /* Hover'da değişmez */
    color: #93C5FD;
    box-shadow: 0 1px 2px rgba(219, 234, 254, 0.5);
    border-color: #93C5FD; /* Hover'da da aynı border */
}

/* Sayfa Link Butonu - Pasif (pastel turuncu) */
.haki-page-button-passive {
    color: #FDBA74;
    background: #FFEDD5;
    box-shadow: 0 1px 2px rgba(255, 237, 213, 0.5);
    cursor: default;
    pointer-events: none; /* Tıklamayı engelle */
    border-color: #FDBA74; /* Açık turuncu border - BEYAZ ZEMİNDE GÖRÜNSÜN */
}

.haki-page-button-passive:hover {
    background: #FFEDD5; /* Hover'da değişmez */
    color: #FDBA74;
    box-shadow: 0 1px 2px rgba(255, 237, 213, 0.5);
    border-color: #FDBA74; /* Hover'da da aynı border */
}

/* BUTONLAR İÇİN İKON STİLLERİ */
.haki-button svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.haki-no-highlights {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

.haki-tutorials-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

/* ALT ŞERİT - container'ın İÇİNE alındı */
.haki-tutorial-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: #8A9A5B; /* DEĞİŞTİ: Koyu renk haki */
    background: #D4E0B3; /* DEĞİŞTİ: Açık renk haki (pastel haki) */
    padding: 8px 20px;
    margin: 0;
    border-radius: 0; /* Köşeler 90 derece */
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 35px;
    border-top: 2px solid rgba(138, 154, 91, 0.3); /* DEĞİŞTİ: Koyu haki rengi */
}

.haki-tutorial-bottom-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.haki-tutorial-bottom-dot {
    color: #8A9A5B; /* DEĞİŞTİ: Koyu renk haki */
    font-size: 1rem;
}

.haki-tutorial-bottom-title {
    color: #5A6542; /* DEĞİŞTİ: Daha koyu haki */
    font-weight: 400;
}

/* Mobile responsive */
@media (max-width: 830px) {
    .haki-tutorial-box {
        flex-direction: column;
        max-width: 100%;
        padding-top: 40px;
        padding-bottom: 30px; /* Mobile için daha az */
    }
    
    .haki-tutorial-left-column {
        width: 100%;
    }
    
    .haki-tutorial-image-area {
        width: 100%;
    }
    
    .haki-tutorial-image {
        width: 100%;
        height: 225px;
        border-radius: 0;
    }
    
    .haki-tutorial-buttons {
        border-radius: 0;
        flex-wrap: wrap; /* Mobile'de butonlar satır atlayabilir */
    }
    
    .haki-tutorial-right-column {
        padding-bottom: 35px; /* Mobile için daha az */
    }
    
    .haki-tutorial-bottom-bar {
        height: 30px;
        padding: 6px 15px;
        font-size: 0.7rem;
    }
    
    /* Mobile'de buton yüksekliği */
    .haki-button {
        height: 23px;
        padding: 2px 10px;
        border-radius: 20px; /* Mobile'de de pill shape korunsun */
    }
}