/* 
 * Enterprise Station Cluster - Premium Design System (V5.0)
 * Crafted for high-end corporate aesthetics and SEO efficiency.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - Stable Business Navy & Charcoal */
    --primary: #1e293b;
    --primary-dark: #0f172a;
    --accent: #0284c7; /* Professional Blue */
    --accent-hover: #0369a1;
    --secondary: #475569;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --border: #cbd5e1;
    
    /* Technical & Sharp Styles */
    --shadow-sm: 0 1px 1px rgba(0,0,0,0.05);
    --shadow: 1px 1px 0 rgba(0,0,0,0.05); /* Technical sharp shadow */
    --shadow-lg: 3px 3px 0 rgba(0,0,0,0.05);
    --transition: all 0.2s ease-out;
    
    /* Layout */
    --container: 1200px;
    --header-height: 70px;
    --radius: 2px; /* Sharp professional radius */
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    background: var(--white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--primary-light);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }

.city-badge {
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.city-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    border-bottom: 8px solid var(--accent);
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    gap: 12px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Section Controls */
section { padding: 80px 0; }

.section-head {
    margin-bottom: 48px;
    text-align: center;
}

.section-head h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-head p {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Card Grid Styles */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 24px; }

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Detail Page Layout */
.main-wrapper {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.content-area {
    flex: 1;
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar {
    width: 380px;
}

.widget {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
}

/* Content Typography */
.article-header {
    margin-bottom: 32px;
    border-bottom: 2px solid var(--bg);
    padding-bottom: 32px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.article-body {
    font-size: 1.125rem;
    color: var(--text);
    line-height: 1.8;
}

.article-body p { margin-bottom: 24px; }

.article-body img {
    border-radius: 12px;
    margin: 32px 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--secondary);
}

.breadcrumb a:hover { color: var(--accent); }

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 60px;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); padding-left: 8px; }

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .main-wrapper { flex-direction: column; }
    .sidebar { width: 100%; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    nav { display: none; } /* Mobile Menu should be added */
    .grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 100px; }
    .hero h1 { font-size: 2rem; }
}

/* Extra Smooth Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up { animation: fadeInUp 0.8s ease backwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }