/* 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;
    }
}

/* ================================
   Satirical Ads - GTA Style
   ================================ */
.ad-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent);
    position: relative;
    margin: 2rem 0;
}

.ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ad-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.ad-banner {
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-icon { font-size: 3rem; margin-bottom: 0.75rem; }

.ad-headline {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.ad-subhead {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    margin-bottom: 1rem;
}

.ad-cta {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-cta:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
    color: white;
}

.ad-disclaimer {
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.05);
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.5;
    font-style: italic;
}

.sidebar-ad {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent);
    position: relative;
    margin-bottom: 1.5rem;
}

.sidebar-ad-label {
    background: var(--accent);
    color: white;
    padding: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.sidebar-ad-content {
    padding: 1.25rem;
    text-align: center;
}

.sidebar-ad-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.sidebar-ad-headline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.sidebar-ad-text {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.sidebar-ad-tagline {
    font-size: 0.75rem;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 1rem;
}

.sidebar-ad-cta {
    display: block;
    background: var(--primary);
    border: none;
    padding: 0.75rem;
    border-radius: 0.25rem;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.sidebar-ad-cta:hover {
    opacity: 0.9;
    transform: scale(1.02);
    color: white;
}

.sidebar-ad-disclaimer {
    padding: 0.75rem;
    background: rgba(0,0,0,0.03);
    font-size: 0.6rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Sponsor Section */
.sponsors {
    background: #f8fafc;
    padding: 3rem 0;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
}

.sponsor-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    border: 2px solid #fbbf24;
}

.sponsor-card .ad-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fbbf24;
    color: #1e293b;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.6rem;
    font-weight: 700;
}

.sponsor-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sponsor-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.sponsor-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.sponsor-card .ad-disclaimer {
    font-size: 0.7rem;
    color: #94a3b8;
    font-style: italic;
}

/* Logo Images */
.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
}

/* Company links - default blue link style */
.company-link {
    color: #2563eb;
    text-decoration: underline;
}
.company-link:hover {
    color: #1d4ed8;
}
