/* ============================================
   LOS SANTOS POLİS DEPARTMANI - LSPD
   Resmi Web Sitesi Stil Dosyası
   Tema: Koyu Lacivert + Altın (LAPD Tarzı)
   ============================================ */

/* === RESET & GENEL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #e8e8e8;
    line-height: 1.5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    color: #1a3a6b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #0d2240;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* === ÜST BİLGİ BANDI === */
.top-strip {
    background-color: #0d1b2a;
    color: #aab8c2;
    font-size: 11px;
    padding: 4px 0;
    border-bottom: 1px solid #1b2f45;
}

.top-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right {
    font-style: italic;
}

/* === DEPARTMAN BAŞLIĞI === */
.dept-header {
    background: linear-gradient(180deg, #0f2744 0%, #1a3a6b 100%);
    padding: 20px 0;
    border-bottom: 4px solid #c5a55a;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dept-seal-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid #d4b86a;
    box-shadow: 0 0 10px rgba(197, 165, 90, 0.3);
    background-color: #0f2744;
}

.dept-title h1 {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.dept-subtitle {
    color: #8faabe;
    font-size: 13px;
    font-style: italic;
    margin-top: 2px;
}

.dept-motto {
    color: #c5a55a;
    font-size: 14px;
    font-style: italic;
    margin-top: 4px;
    font-family: Georgia, serif;
}

/* === NAVİGASYON === */
.main-nav {
    background-color: #1a3a6b;
    border-bottom: 2px solid #c5a55a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: block;
    color: #d0d8e0;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #2a4f80;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-list li:first-child a {
    border-left: 1px solid #2a4f80;
}

.nav-list li a:hover,
.nav-list li a.active {
    background-color: #c5a55a;
    color: #0f2744;
    text-decoration: none;
}

/* === ANA İÇERİK === */
.main-content {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    flex: 1;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* === DUYURU BANDI === */
.alert-banner {
    background-color: #fff3cd;
    border: 1px solid #d4a843;
    border-left: 4px solid #c5a55a;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #664d03;
}

.alert-banner a {
    color: #664d03;
    font-weight: bold;
    text-decoration: underline;
}

/* === İÇERİK KUTULARI === */
.content-box {
    background-color: #ffffff;
    border: 1px solid #b0b0b0;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.box-header {
    background: linear-gradient(180deg, #1a3a6b 0%, #15305a 100%);
    padding: 8px 15px;
    border-bottom: 2px solid #c5a55a;
}

.box-header h2 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Georgia, serif;
}

.box-body {
    padding: 15px;
}

.box-body p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.section-subtitle {
    font-size: 14px;
    color: #1a3a6b;
    border-bottom: 1px solid #c5a55a;
    padding-bottom: 4px;
    margin: 15px 0 8px 0;
    font-family: Georgia, serif;
}

/* === ŞEF MESAJI === */
.chief-message {
    display: flex;
    gap: 15px;
}

.chief-photo-placeholder {
    width: 120px;
    height: 150px;
    background-color: #d0d0d0;
    border: 2px solid #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 11px;
    flex-shrink: 0;
}

.chief-text p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.chief-sign {
    font-style: italic;
    font-weight: bold;
    color: #1a3a6b;
    margin-top: 10px;
}

/* === HABER TABLOSU === */
.news-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.news-table thead th {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
}

.news-table tbody td {
    border: 1px solid #ddd;
    padding: 6px 10px;
}

.news-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.news-table tbody tr:hover {
    background-color: #e8f0fe;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 2px;
}

.badge-info {
    background-color: #1a3a6b;
    color: #fff;
}

.badge-ops {
    background-color: #8b0000;
    color: #fff;
}

.badge-report {
    background-color: #2d5016;
    color: #fff;
}

.badge-hr {
    background-color: #6b4c1a;
    color: #fff;
}

.more-link {
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
}

/* === İSTATİSTİKLER === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 15px 5px;
    background-color: #f0f4f8;
    border: 1px solid #c0cfe0;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #1a3a6b;
    font-family: "Courier New", monospace;
}

.stat-label {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* === SIDEBAR === */
.sidebar-box {
    background-color: #ffffff;
    border: 1px solid #b0b0b0;
    margin-bottom: 15px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.sidebar-header {
    background: linear-gradient(180deg, #1a3a6b 0%, #15305a 100%);
    padding: 6px 12px;
    border-bottom: 2px solid #c5a55a;
}

.sidebar-header h3 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-body {
    padding: 10px 12px;
}

.quick-links {
    list-style: none;
}

.quick-links li {
    border-bottom: 1px dotted #ccc;
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links li a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: #1a3a6b;
}

.quick-links li a:hover {
    color: #c5a55a;
    background-color: #f5f5f5;
    padding-left: 5px;
}

/* === ACİL NUMARA KUTUSU === */
.emergency-header {
    background: linear-gradient(180deg, #8b0000 0%, #6b0000 100%) !important;
    border-bottom-color: #ff4444 !important;
}

.emergency-number {
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.emergency-number:last-child {
    border-bottom: none;
}

.emergency-number strong {
    color: #8b0000;
}

/* === HARİTA PLACEHOLDER === */
.map-placeholder {
    width: 100%;
    height: 150px;
    background-color: #d0d8e0;
    border: 2px dashed #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 14px;
}

.map-placeholder small {
    font-size: 10px;
    color: #777;
}

/* === BİLGİ TABLOSU === */
.info-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.info-table td {
    padding: 4px 0;
    border-bottom: 1px dotted #ddd;
}

.info-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 55%;
}

/* === FOOTER === */
.site-footer {
    background-color: #0d1b2a;
    color: #8faabe;
    padding: 25px 0 15px;
    margin-top: auto;
    border-top: 4px solid #c5a55a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1b2f45;
}

.footer-col h4 {
    color: #c5a55a;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 12px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 4px;
}

.footer-col ul li a {
    color: #8faabe;
    font-size: 12px;
}

.footer-col ul li a:hover {
    color: #c5a55a;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 11px;
}

.disclaimer {
    font-style: italic;
    margin-top: 4px;
    color: #5a7a90;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-list {
        flex-wrap: wrap;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .chief-message {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .dept-title h1 {
        font-size: 18px;
    }
    
    .nav-list li a {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* === PHP DYNAMIC EXTRAS === */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.data-table th {
    background: #1a3a6b;
    color: #fff;
    padding: 8px 12px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
}
.data-table td { padding: 8px 12px; border-bottom: 1px solid #ddd; }
.data-table tr:nth-child(even) { background: #f9f9f9; }

.steps-list { list-style: none; counter-reset: step; }
.steps-list li {
    padding: 12px 0 12px 45px;
    border-bottom: 1px solid #eee;
    position: relative;
    counter-increment: step;
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 12px;
    width: 32px;
    height: 32px;
    background: #1a3a6b;
    color: #c5a55a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.steps-list li strong { display: block; color: #1a3a6b; margin-bottom: 4px; }
.steps-list li p { font-size: 12px; color: #666; margin: 0; }

.top-right a {
    color: #aab8c2;
    margin-left: 15px;
    font-size: 11px;
}
.top-right a:hover { color: #c5a55a; text-decoration: none; }

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #1a3a6b;
    font-family: "Courier New", monospace;
    display: block;
}

/* === BAŞVURU FORMU === */
.academy-intro p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.academy-requirements ul {
    margin: 8px 0 0 20px;
    font-size: 13px;
}
.academy-requirements li {
    margin-bottom: 4px;
    line-height: 1.6;
}
.app-message {
    padding: 12px 18px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}
.app-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.app-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.app-info-banner {
    background: #e8f0fe;
    border-left: 4px solid #1a3a6b;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #1a3a6b;
}
.app-closed-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-grid .form-group { margin-bottom: 0; }
.content-area .form-group {
    margin-bottom: 15px;
}
.content-area .form-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1a3a6b;
    margin-bottom: 5px;
}
.content-area .form-group label.required::after {
    content: ' *';
    color: #c0392b;
}
.content-area .form-group input[type="text"],
.content-area .form-group input[type="number"],
.content-area .form-group select,
.content-area .form-group textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.content-area .form-group input:focus,
.content-area .form-group select:focus,
.content-area .form-group textarea:focus {
    border-color: #1a3a6b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26,58,107,0.1);
}
.content-area .form-group small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #888;
}
.content-area .form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.scenario-box {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-left: 4px solid #c5a55a;
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
}
.scenario-box p { margin: 0; }
.app-disclaimer {
    background: #fff3cd;
    border: 1px solid #d4a843;
    border-left: 4px solid #c5a55a;
    padding: 10px 15px;
    font-size: 12px;
    line-height: 1.6;
    color: #664d03;
}
.app-disclaimer p { margin: 0; }
.btn-academy {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(180deg, #1a3a6b, #15305a);
    color: #fff;
    text-decoration: none;
    border: 2px solid #c5a55a;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-academy:hover {
    background: linear-gradient(180deg, #c5a55a, #b8963f);
    color: #0f2744;
}
.btn-academy-submit {
    font-size: 15px;
    padding: 12px 40px;
}
.sidebar-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
}
.sidebar-info-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}
.sidebar-info-list li:last-child { border-bottom: none; }
.process-steps .step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #eee;
}
.process-steps .step:last-child { border-bottom: none; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #1a3a6b;
    color: #c5a55a;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}
