/* ================================================== */
/* İLANLAR ÖZEL STİLLERİ (ilanlar.css)                */
/* ================================================== */

:root {
    --primary-color: #0d6efd;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
}

/* 1. SAYFA BAŞLIĞI */
.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.page-header p { /* Detay sayfasındaki alt başlık için */
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* 2. ANA İÇERİK BÖLÜMÜ */
.content-section {
    padding-bottom: 3rem;
}

/* 3. İLAN LİSTESİ (Index.cshtml) */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px; /* Liste çok geniş olmasın, ortalansın */
    margin: 0 auto;
}

.job-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.job-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.job-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}
.job-header .job-company {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.job-list p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.job-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* "Detaylar" linki (Anasayfadaki .news-card-link stili) */
.job-footer .btn-link {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0.2rem;
    transition: all 0.15s ease-in-out;
}
.job-footer .btn-link:hover {
    color: #fff;
    background-color: var(--primary-color);
    text-decoration: none;
}


/* 4. İLAN DETAY SAYFASI (Details.cshtml) */
.detail-content {
    background-color: var(--bg-white);
    padding: 2rem 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: var(--text-muted);
}
.detail-meta span {
    font-weight: 500;
}

.detail-text {
    color: #333;
    line-height: 1.8;
}
.detail-text h3 {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.detail-text p {
    margin-bottom: 1rem;
}

/* Geri Dön Butonu */
.detail-content .btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
    margin-top: 2rem;
}
.detail-content .btn:hover {
    color: var(--bg-white);
    background-color: var(--primary-color);
}