/* ==================== PARKO MOBILITY — GLOBAL STYLES ==================== */
/* Design System: Institutional, Clean, Professional */
/* Colors: Dark Blue (#0A1628, #1B2B4B), White, Tech Accents (#2E86DE, #54A0FF) */

:root {
    --primary-dark: #0A1628;
    --primary: #1B2B4B;
    --primary-light: #2C3E5A;
    --accent: #2E86DE;
    --accent-light: #54A0FF;
    --accent-glow: rgba(46, 134, 222, 0.15);
    --success: #27AE60;
    --warning: #F39C12;
    --danger: #E74C3C;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-light: #F7F9FC;
    --bg-white: #FFFFFF;
    --border: #E2E8F0;
    --border-light: #EDF2F7;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-logo.modal-logo {
    width: 56px;
    height: 56px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

.nav-link.active {
    color: white;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a365d 100%);
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(46, 134, 222, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(84, 160, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero h2 {
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== MAP SECTION ==================== */
.map-section {
    padding: 60px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.section-header h2 i {
    color: var(--accent);
    margin-right: 8px;
}

.section-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

#map {
    height: 550px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.map-legend {
    padding: 24px;
    background: var(--bg-light);
    border-left: 1px solid var(--border);
}

.map-legend h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-legend h4 i {
    color: var(--accent);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-secondary);
}

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

.legend-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-marker.proposed {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 134, 222, 0.2);
}

.legend-marker.existing {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

.legend-marker.zone {
    background: var(--warning);
    opacity: 0.7;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 60px 24px;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    color: var(--accent);
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-dark);
    padding: 40px 24px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.footer-brand span {
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.footer p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 4px;
}

.footer-disclaimer {
    font-size: 11px !important;
    color: rgba(255,255,255,0.3) !important;
    margin-top: 8px !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .map-container {
        grid-template-columns: 1fr;
    }
    
    #map {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        height: 400px;
    }
    
    .map-legend {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-value {
        font-size: 22px;
    }

    #map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 16px 60px;
    }

    .hero h1 {
        font-size: 24px;
    }
}
