/* ARAÇLAR SAYFASI GENEL AYARLAR */
.tools-page {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tools-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(49, 168, 255, 0.3);
}

.tools-sub {
    color: #94a3b8;
    margin-bottom: 70px;
}

/* KAPSAYICI PANEL */
.tools-container {
    display: flex;
    gap: 40px;
    background: rgba(30, 41, 59, 0.5);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(49, 168, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* SOL TARAF: SİDEBAR (ARAÇ LİSTESİ) */
.tools-sidebar {
    flex: 1; /* Alanın 1/3'ünü kapla */
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    padding-right: 30px;
}

.tool-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    text-align: left;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #31a8ff;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Hover ve Aktif (Seçili) Durum */
.tool-btn:hover {
    background: rgba(49, 168, 255, 0.1);
    color: #fff;
}

.tool-btn.active {
    background: #31a8ff;
    color: #fff;
    box-shadow: 0 0 20px rgba(49, 168, 255, 0.3);
}

.tool-btn.active .tool-icon {
    background: #fff;
    color: #31a8ff;
    border: 1px solid #fff;
}

/* SAĞ TARAF: İÇERİK ALANI */
.tools-content {
    flex: 2; /* Alanın 2/3'ünü kapla */
    position: relative;
    text-align: left;
}

.tool-detail {
    display: none; /* Başta gizli */
}

.tool-detail.active {
    display: block; /* Sadece seçili olanı göster */
    animation: fadeInTool 0.5s ease;
}

@keyframes fadeInTool {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #31a8ff;
    padding-bottom: 15px;
}

.tool-header h2 {
    color: #fff;
    font-size: 1.8rem;
}

.tool-shortcut {
    color: #31a8ff;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(49, 168, 255, 0.1);
    padding: 5px 12px;
    border-radius: 5px;
    border: 1px solid #31a8ff;
}

.tool-detail img {
    width: 100%; /* Kutunun tamamını kapla */
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.tool-detail p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1rem;
}

/* MOBİL AYARI */
@media (max-width: 768px) {
    .tools-container {
        flex-direction: column; /* Mobilde alt alta gelsin */
        padding: 20px;
    }
    .tools-sidebar {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        padding-bottom: 20px;
    }
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tool-card-mini {
    background: rgba(30, 41, 59, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(49, 168, 255, 0.1);
    transition: 0.3s;
    text-align: left;
}

.tool-card-mini:hover {
    border-color: #31a8ff;
    background: rgba(49, 168, 255, 0.05);
    transform: translateY(-5px);
}

.tool-key {
    background: #31a8ff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 10px;
}

.tool-head {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}