/* ============================================
   LOS SANTOS İLÇE ŞERİF DEPARTMANI - LSSD
   Resmi Web Sitesi Stil Dosyası
   Tema: Koyu Yeşil/Zeytin + Ten/Altın (LASD Tarzı)
   Layout: Sol Sidebar Navigasyon
   ============================================ */

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

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    color: #2a2a2a;
    background-color: #d9d3c7;
    line-height: 1.6;
}

a {
    color: #2c4a1e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #1a2e12;
}

/* === ÜST BANNER === */
.dept-banner {
    background: linear-gradient(180deg, #1a2a12 0%, #2c4a1e 40%, #1a2a12 100%);
    color: #fff;
    position: relative;
}

.banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.banner-left {
    flex-shrink: 0;
}

.sheriff-badge-img {
    width: 280px;
    height: auto;
    object-fit: contain;
    display: block;
}

.banner-center {
    flex: 1;
    text-align: center;
}

.banner-sup {
    font-size: 13px;
    color: #b8c4a8;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.banner-center h1 {
    font-family: Georgia, serif;
    font-size: 30px;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 4px 0;
}

.banner-sub {
    font-size: 12px;
    color: #8a9e78;
    font-style: italic;
}

.banner-motto {
    font-size: 11px;
    color: #d4a843;
    font-style: italic;
    margin-top: 4px;
}

.banner-right {
    flex-shrink: 0;
    text-align: right;
}

.banner-contact {
    font-size: 12px;
    color: #b8c4a8;
    line-height: 1.8;
}

.banner-contact strong {
    color: #d4a843;
}

.banner-right a {
    color: #b8c4a8;
    font-size: 11px;
    display: inline-block;
    margin-top: 4px;
}

.banner-right a:hover {
    color: #d4a843;
    text-decoration: underline;
}

.banner-stripe {
    height: 6px;
    background: linear-gradient(90deg, #d4a843 0%, #8a6b1e 50%, #d4a843 100%);
}

/* === SAYFA GÖVDE === */
.page-body {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0;
    min-height: calc(100vh - 200px);
}

/* === SOL NAVİGASYON === */
.sidebar-nav {
    width: 250px;
    flex-shrink: 0;
    background-color: #2c3e1f;
    border-right: 3px solid #d4a843;
    padding-bottom: 20px;
}

.nav-section {
    border-bottom: 1px solid #3a5228;
}

.nav-section-title {
    background-color: #1a2a12;
    color: #d4a843;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    border-bottom: 1px solid #3a5228;
    border-top: 1px solid #3a5228;
}

.nav-section ul {
    list-style: none;
}

.nav-section ul li a {
    display: block;
    padding: 7px 15px 7px 25px;
    color: #c8d4bc;
    font-size: 13px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    border-bottom: 1px solid #344a24;
    transition: all 0.15s;
    text-decoration: none;
    position: relative;
}

.nav-section ul li a::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #d4a843;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-section ul li a:hover {
    background-color: #3a5228;
    color: #d4a843;
    padding-left: 20px;
    text-decoration: none;
}

.nav-section ul li a.active {
    background-color: #d4a843;
    color: #1a2a12;
    font-weight: bold;
}

/* === ARANIYOR KUTUSU === */
.wanted-box {
    margin: 15px 10px;
    background-color: #1a1a12;
    border: 2px solid #8b0000;
}

.wanted-title {
    background-color: #8b0000;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: "Segoe UI", sans-serif;
}

.wanted-placeholder {
    padding: 10px;
    text-align: center;
}

.wanted-photo {
    width: 80px;
    height: 90px;
    background-color: #333;
    border: 1px solid #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 10px;
    margin-bottom: 8px;
}

.wanted-info {
    color: #ccc;
    font-size: 11px;
    font-family: "Segoe UI", sans-serif;
}

.wanted-info strong {
    color: #d4a843;
}

.wanted-link {
    display: block;
    text-align: center;
    padding: 5px;
    background-color: #2a1a1a;
    color: #d4a843 !important;
    font-size: 11px;
    font-family: "Segoe UI", sans-serif;
    border-top: 1px solid #8b0000;
}

/* === ANA İÇERİK === */
.main-content {
    flex: 1;
    padding: 20px 25px;
    background-color: #ece6d8;
    min-width: 0;
}

/* === HOŞ GELDİNİZ === */
.welcome-section {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: #fff;
    border: 1px solid #b0a890;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.seal-large-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    border: 4px solid #2c4a1e;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: block;
}

.welcome-seal {
    flex-shrink: 0;
}

.welcome-text h2 {
    color: #2c4a1e;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #d4a843;
    padding-bottom: 5px;
}

.welcome-text p {
    font-size: 13px;
    margin-bottom: 8px;
    color: #444;
    font-family: "Segoe UI", sans-serif;
}

/* === BİLGİ KARTLARI === */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.info-card {
    background-color: #fff;
    border: 1px solid #b0a890;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: border-color 0.2s;
}

.info-card:hover {
    border-color: #d4a843;
}

.card-icon {
    font-size: 16px;
    margin-bottom: 8px;
    color: #d4a843;
    font-weight: bold;
    font-family: "Courier New", monospace;
    background-color: #2c4a1e;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
}

.info-card h3 {
    color: #2c4a1e;
    font-size: 14px;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 12px;
    color: #666;
    font-family: "Segoe UI", sans-serif;
    margin-bottom: 8px;
}

.card-link {
    font-size: 12px;
    color: #d4a843 !important;
    font-weight: bold;
    font-family: "Segoe UI", sans-serif;
}

/* === BÖLÜM BLOKLARI === */
.section-block {
    background-color: #fff;
    border: 1px solid #b0a890;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-title-bar {
    background: linear-gradient(180deg, #2c4a1e 0%, #1f3515 100%);
    padding: 8px 15px;
    border-bottom: 3px solid #d4a843;
}

.section-title-bar h2 {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* === HABER LİSTESİ === */
.news-list {
    padding: 0;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #e0dace;
    transition: background-color 0.15s;
}

.news-item:hover {
    background-color: #f5f0e5;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    width: 50px;
    flex-shrink: 0;
    text-align: center;
    background-color: #2c4a1e;
    color: #fff;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-day {
    font-size: 20px;
    font-weight: bold;
    font-family: Georgia, serif;
    line-height: 1;
}

.date-month {
    font-size: 9px;
    letter-spacing: 2px;
    color: #d4a843;
}

.news-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.news-content h4 a {
    color: #2c4a1e;
}

.news-content h4 a:hover {
    color: #d4a843;
}

.news-content p {
    font-size: 12px;
    color: #666;
    font-family: "Segoe UI", sans-serif;
    margin-bottom: 4px;
}

.news-category {
    display: inline-block;
    font-size: 9px;
    padding: 1px 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Segoe UI", sans-serif;
    font-weight: bold;
}

.cat-operation { background-color: #8b0000; color: #fff; }
.cat-personnel { background-color: #4a3800; color: #d4a843; }
.cat-info { background-color: #2c4a1e; color: #b8c4a8; }

.section-more {
    text-align: right;
    padding: 8px 15px;
    border-top: 1px solid #e0dace;
    font-size: 12px;
    font-family: "Segoe UI", sans-serif;
}

/* === ŞERİF MESAJI === */
.sheriff-message {
    display: flex;
    gap: 20px;
    padding: 15px;
}

.sheriff-photo {
    flex-shrink: 0;
    text-align: center;
}

.photo-placeholder {
    width: 100px;
    height: 130px;
    background-color: #c0b8a0;
    border: 2px solid #8a8068;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 11px;
    margin-bottom: 6px;
}

.sheriff-name {
    font-size: 12px;
    color: #2c4a1e;
}

.sheriff-name small {
    color: #888;
    font-family: "Segoe UI", sans-serif;
}

.sheriff-text p {
    font-size: 13px;
    margin-bottom: 8px;
    font-family: "Segoe UI", sans-serif;
    color: #444;
}

.sheriff-sign {
    font-style: italic;
    font-weight: bold;
    color: #2c4a1e;
}

/* === İSTASYON GRID === */
.station-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.station-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e0dace;
    border-right: 1px solid #e0dace;
}

.station-item:nth-child(even) {
    border-right: none;
}

.station-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.station-item h4 {
    color: #2c4a1e;
    font-size: 13px;
    margin-bottom: 3px;
}

.station-item p {
    font-size: 12px;
    color: #666;
    font-family: "Segoe UI", sans-serif;
}

.station-item small {
    color: #999;
    font-style: italic;
}

/* === FOOTER === */
.site-footer {
    background-color: #1a2a12;
    color: #8a9e78;
    border-top: 4px solid #d4a843;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 25px 20px;
    border-bottom: 1px solid #2c3e1f;
}

.footer-section h4 {
    color: #d4a843;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: "Segoe UI", sans-serif;
}

.footer-section p {
    font-size: 12px;
    line-height: 1.6;
    font-family: "Segoe UI", sans-serif;
}

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

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

.footer-section ul li a {
    color: #8a9e78;
    font-size: 12px;
    font-family: "Segoe UI", sans-serif;
}

.footer-section ul li a:hover {
    color: #d4a843;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 12px 20px;
    font-size: 11px;
    font-family: "Segoe UI", sans-serif;
}

.footer-disclaimer {
    font-style: italic;
    color: #5a6e4a;
    margin-top: 3px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .page-body {
        flex-direction: column;
    }
    
    .sidebar-nav {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid #d4a843;
    }
    
    .nav-section ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    .nav-section ul li a {
        padding: 5px 10px;
        border-bottom: none;
        border-right: 1px solid #344a24;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .station-grid {
        grid-template-columns: 1fr;
    }
    
    .station-item {
        border-right: none !important;
    }
    
    .banner-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-right {
        text-align: center;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
    }
    
    .sheriff-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .banner-center h1 {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-date {
        width: auto;
        flex-direction: row;
        gap: 8px;
        padding: 3px 10px;
    }
}

/* ===== PHP Dinamik İçerik Stilleri ===== */

/* Alert Banner */
.alert-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #856404;
}
.alert-banner .alert-icon {
    font-size: 18px;
}
.alert-banner a {
    color: #856404;
    font-weight: bold;
    text-decoration: underline;
}

/* Section Body */
.section-body {
    padding: 16px;
}

/* HTML Content */
.html-content p {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.info-table td {
    padding: 8px 12px;
    font-size: 14px;
}
.info-table .label-col {
    font-weight: bold;
    width: 35%;
    color: #333;
}
.info-table .value-col {
    color: #555;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.stat-item {
    background: #f0f4f8;
    border: 1px solid #d0d7de;
    padding: 16px;
    text-align: center;
    border-radius: 3px;
}
.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #1b4d3e;
}
.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.process-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.step-number {
    background: #1b4d3e;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}
.step-content h4 {
    margin: 0 0 4px;
    font-size: 15px;
}
.step-content p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

/* Contact Table */
.contact-table {
    width: 100%;
    border-collapse: collapse;
}
.contact-table tr:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.contact-table td {
    padding: 8px 12px;
    font-size: 14px;
}
.contact-label {
    font-weight: bold;
    width: 30%;
    color: #333;
}
.contact-value {
    color: #555;
}

/* Rank Table */
.rank-table {
    width: 100%;
    border-collapse: collapse;
}
.rank-table th {
    background: #1b4d3e;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
}
.rank-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.rank-table tr:hover {
    background: #f5f5f5;
}
