/* =========================================
   EasyHEIC - Master Stylesheet
   ========================================= */

:root {
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar & Modern Logo */
.navbar {
    background: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}
.navbar-brand { letter-spacing: -0.5px; }
.nav-link { font-weight: 500; color: var(--text-muted); }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Language Switcher */
.lang-switcher .dropdown-toggle::after { vertical-align: middle; }
.lang-switcher .dropdown-item:hover { background-color: #f1f5f9; }
.lang-switcher .dropdown-item.active { background-color: var(--primary); color: white; }

/* Tool & Dropzone (Index) */
.tool-wrapper {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 30px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}
.settings-bar {
    background: #f1f5f9; padding: 15px 20px; border-radius: 12px; margin-bottom: 25px;
    display: flex; gap: 20px; flex-wrap: wrap; align-items: center; border: 1px solid var(--border-color);
}
.setting-item { display: flex; align-items: center; gap: 10px; flex-grow: 1; min-width: 200px; }
.setting-item label { font-weight: 600; font-size: 0.9rem; margin: 0; }

.drop-zone {
    border: 2px dashed #cbd5e1; border-radius: 12px; padding: 60px 20px;
    text-align: center; cursor: pointer; transition: all 0.3s ease; background: #f8fafc;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--primary); background: #eff6ff; }
.drop-zone i.main-icon { font-size: 54px; color: var(--primary); margin-bottom: 15px; display: block; }
.drop-zone input[type="file"] { display: none; }

.file-item {
    display: flex; justify-content: space-between; align-items: center; padding: 15px;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; margin-top: 10px;
}

/* Typography & Content Layout */
.content-section { margin-top: 60px; margin-bottom: 60px; }
.content-section h2, .article-content h2 { font-weight: 700; color: var(--text-dark); font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; }
.content-section h3, .article-content h3 { font-weight: 600; color: var(--text-dark); font-size: 1.4rem; margin-top: 30px; margin-bottom: 15px; }
.content-section p, .article-content p, .article-content ul { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 20px; }

/* Article specific */
.article-header {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color); border-radius: 16px; padding: 50px 40px;
    margin-top: 40px; margin-bottom: 40px; text-align: center;
}
.article-title { font-weight: 700; font-size: 2.5rem; letter-spacing: -0.5px; margin-bottom: 20px; line-height: 1.2; }
.breadcrumb { justify-content: center; font-size: 0.9rem; font-weight: 500; }
.breadcrumb a { color: var(--primary); text-decoration: none; }

/* Note Box */
.note-box {
    background-color: #eff6ff; border-left: 4px solid var(--primary); padding: 20px;
    border-radius: 0 8px 8px 0; margin: 30px 0;
}
.note-box p { margin: 0; color: #1d4ed8; font-size: 1rem; }

/* Sticky CTA */
.sticky-sidebar { position: sticky; top: 20px; }
.cta-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%); border-radius: 20px; padding: 40px 25px;
    text-align: center; box-shadow: 0 15px 35px rgba(13, 110, 253, 0.2); position: relative; overflow: hidden; border: none;
}
.cta-card::after {
    content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    background: rgba(255, 255, 255, 0.1); border-radius: 50%;
}
.cta-card i.main-icon { font-size: 54px; color: #ffffff; margin-bottom: 20px; display: block; }
.cta-card h4 { font-weight: 700; color: #ffffff; margin-bottom: 15px; font-size: 1.4rem; }
.cta-card p { color: rgba(255, 255, 255, 0.85); font-size: 1rem; margin-bottom: 25px; line-height: 1.5; }
.btn-cta {
    background-color: #ffffff; color: var(--primary); font-weight: 700; font-size: 1.05rem; padding: 14px 24px;
    border-radius: 12px; display: inline-block; width: 100%; text-decoration: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; position: relative; z-index: 2;
}
.btn-cta:hover { background-color: #f8f9fa; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); }

/* Footer */
footer { background: #1e293b; color: #94a3b8; padding: 40px 0; margin-top: auto; }
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: #fff; }

/* =========================================
   Mobile Optimization (Media Queries)
   ========================================= */
@media (max-width: 768px) {
    .article-header { padding: 30px 20px; margin-top: 20px; }
    .article-title { font-size: 1.8rem; }
    .drop-zone { padding: 40px 15px; }
    .tool-wrapper { padding: 20px; }
    .settings-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .setting-item { width: 100%; }
    .content-section h2, .article-content h2 { font-size: 1.5rem; }
    
    /* Mobil dosya listesi düzeni */
    .file-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    .file-item .btn { width: 100%; }
}