/* MetroTech Solutions NYC - Industrial Precision Minimalism Design */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

/* CSS Variables - Design System */
:root {
    /* Primary Colors */
    --primary-700: #0D2C54;
    --primary-500: #1A53A0;
    --primary-100: #E8EEF6;
    
    /* Accent */
    --accent-500: #D4A056;
    
    /* Neutral */
    --neutral-900: #111827;
    --neutral-600: #4B5563;
    --neutral-300: #D1D5DB;
    --neutral-100: #FFFFFF;
    --neutral-50: #F9FAFB;
    
    /* Semantic */
    --success: #059669;
    --warning: #F59E0B;
    --error: #DC2626;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing - 8px grid */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    
    /* Shadows */
    --shadow-md: 0 4px 6px -1px rgba(13, 44, 84, 0.08), 0 2px 4px -2px rgba(13, 44, 84, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(13, 44, 84, 0.1), 0 4px 6px -4px rgba(13, 44, 84, 0.08);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    
    /* Layout */
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--neutral-900);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--neutral-900);
}

h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 37px;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-700);
}

small {
    font-size: 14px;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header & Navigation */
header {
    background: var(--neutral-100);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-700);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

nav a {
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 16px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover,
nav a.active {
    color: var(--primary-500);
    background: var(--primary-100);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--neutral-900);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--neutral-100);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.hero h1 {
    color: var(--neutral-100);
    margin-bottom: var(--space-md);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: var(--space-xl);
    color: var(--neutral-50);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-primary {
    background: var(--primary-500);
    color: var(--neutral-100);
}

.btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--accent-500);
    color: var(--neutral-900);
}

.btn-accent:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Sections */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--neutral-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--neutral-600);
    font-size: 16px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* Tags */
.tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.tag {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Team Cards */
.team-card {
    text-align: center;
    background: var(--neutral-100);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-500);
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-sm);
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-title {
    font-size: 14px;
    color: var(--primary-500);
}

/* Stats */
.stats {
    background: var(--primary-700);
    color: var(--neutral-100);
    text-align: center;
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-item h3 {
    color: var(--accent-500);
    font-size: 48px;
    margin-bottom: var(--space-sm);
}

.stat-item p {
    color: var(--neutral-50);
    font-size: 18px;
}

/* Footer */
footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    color: var(--neutral-100);
    margin-bottom: var(--space-md);
    font-size: 18px;
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--neutral-300);
}

.footer-section a:hover {
    color: var(--accent-500);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-600);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 46px; }
    h2 { font-size: 37px; }
    h3 { font-size: 30px; }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 26px; }
    
    body {
        font-size: 16px;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--neutral-100);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        background-attachment: scroll;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-500); }
.text-accent { color: var(--accent-500); }
.bg-light { background: var(--neutral-50); }
.bg-white { background: var(--neutral-100); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
