/* Metro Police Department - Official Website */
:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #c9a227;
    --bg-dark: #0d1b2a;
    --bg-light: #f7fafc;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --border: #e2e8f0;
    --warning: #c53030;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary);
    color: white;
    padding: 0;
    border-bottom: 4px solid var(--accent);
}

.header-top {
    background: var(--bg-dark);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.emergency-banner {
    color: var(--accent);
    font-weight: 600;
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo-badge {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid white;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text .tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.main-nav a:hover {
    border-bottom-color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Alert Banner */
.alert-banner {
    background: var(--warning);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
}

.alert-banner a {
    color: white;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: -40px auto 40px;
    position: relative;
    z-index: 10;
}

.quick-link {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quick-link .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.quick-link h3 {
    font-size: 1rem;
    color: var(--primary);
}

/* Press Releases Section */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 15px;
}

.section-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

/* Press Release Cards */
.press-releases {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.press-release {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: start;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.press-release:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.pr-date {
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    min-width: 70px;
}

.pr-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.pr-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.pr-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.pr-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pr-type {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pr-type.incident { background: #fed7d7; color: #c53030; }
.pr-type.statement { background: #bee3f8; color: #2b6cb0; }
.pr-type.advisory { background: #faf089; color: #975a16; }
.pr-type.update { background: #c6f6d5; color: #276749; }

/* Stats Section */
.stats-section {
    background: var(--bg-dark);
    color: white;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-item .label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about p {
    opacity: 0.8;
    margin-top: 10px;
}

.footer-links h4 {
    margin-bottom: 15px;
    color: var(--accent);
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .press-release {
        grid-template-columns: 1fr;
    }
    
    .pr-date {
        display: flex;
        gap: 10px;
        align-items: center;
    }
}
