/* ==========================================================================
   Inauguration Group - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties (Design System)
   ========================================================================== */
:root {
    /* Colors */
    --inauguration-navy: #0A1628;
    --inauguration-gold: #B8860B;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-6);
    
    /* Transitions */
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--slate-900);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--slate-700);
}

a {
    color: var(--inauguration-navy);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--inauguration-gold);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-title {
    font-size: var(--text-4xl);
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--slate-900);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.section-link {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--inauguration-navy);
    transition: all var(--transition-base);
}

.section-link:hover {
    color: var(--inauguration-gold);
    transform: translateX(4px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .main-nav {
        background-color: var(--white);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4) var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--inauguration-navy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--inauguration-navy);
    margin: 4px 0;
    transition: all var(--transition-base);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--space-8);
}

.nav-menu a {
    font-weight: 500;
    color: var(--slate-700);
    transition: color var(--transition-base);
}

.nav-menu a:hover {
    color: var(--inauguration-navy);
}

.nav-cta {
    background-color: var(--inauguration-navy);
    color: var(--white) !important;
    padding: var(--space-2) var(--space-6);
    border-radius: 30px;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background-color: var(--slate-800);
    transform: translateY(-1px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: var(--space-3) var(--space-8);
    font-weight: 500;
    text-align: center;
    border-radius: 30px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--inauguration-navy);
    border-color: var(--inauguration-navy);
}

.btn-secondary:hover {
    background-color: var(--inauguration-navy);
    color: var(--white);
}

/* Hero section button overrides */
.hero .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-secondary:hover {
    background-color: var(--white);
    color: var(--inauguration-navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--inauguration-navy) 0%, #040813 100%);
    overflow: hidden;
    margin-top: 60px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-8);
}

.hero-title {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
    margin-bottom: var(--space-6);
    color: var(--white);
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: var(--slate-300);
    margin-bottom: var(--space-10);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--white) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--white) 0%, transparent 50%);
    background-size: 600px 600px;
}

/* ==========================================================================
   Three Pillars Section
   ========================================================================== */
.pillars {
    padding: var(--space-24) 0;
    background-color: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.pillar-card {
    text-align: center;
    padding: var(--space-8);
    background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
    border-radius: 8px;
    transition: all var(--transition-slow);
    position: relative;
    border: 1px solid var(--slate-200);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: linear-gradient(180deg, var(--slate-300) 0%, var(--white) 100%);
    border-radius: 8px 8px 0 0;
    opacity: 0.3;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 25px 30px -5px rgba(0, 0, 0, 0.08),
        0 15px 15px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--inauguration-navy);
}

.pillar-icon {
    margin-bottom: var(--space-6);
}

.pillar-card h3 {
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--inauguration-navy);
}

.pillar-card p {
    font-size: var(--text-base);
    line-height: 1.7;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
    background-color: var(--inauguration-navy);
    padding: var(--space-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--inauguration-gold);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* ==========================================================================
   Portfolio Preview
   ========================================================================== */
.portfolio-preview {
    padding: var(--space-24) 0;
    background-color: var(--slate-50);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.portfolio-card {
    background-color: var(--white);
    padding: var(--space-8);
    border-radius: 8px;
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-4);
}

.portfolio-logo-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.portfolio-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--inauguration-navy);
}

.portfolio-card h3 {
    font-family: var(--font-sans);
    font-size: var(--text-2xl);
    color: var(--inauguration-navy);
}

.portfolio-tag {
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-1) var(--space-3);
    background-color: var(--slate-100);
    color: var(--slate-700);
    border-radius: 4px;
}

.portfolio-metric {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.metric-label {
    font-size: var(--text-sm);
    color: var(--slate-600);
}

.metric-value {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--inauguration-navy);
}

.portfolio-link {
    display: inline-block;
    margin-top: var(--space-4);
    font-weight: 500;
    color: var(--inauguration-navy);
    transition: all var(--transition-base);
}

.portfolio-link:hover {
    color: var(--inauguration-gold);
    transform: translateX(4px);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: var(--space-24) 0;
    background-color: var(--inauguration-navy);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-6);
}

.cta-content p {
    color: var(--slate-300);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--inauguration-navy);
}

.cta-section .btn-primary:hover {
    background-color: var(--slate-100);
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--inauguration-navy);
}

/* ==========================================================================
   Page Hero (for all non-homepage heroes)
   ========================================================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    margin-top: 60px;
    padding: var(--space-16) 0;
}

.page-hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-8);
}

.page-hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--inauguration-navy);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.page-hero .lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--slate-600);
    font-weight: 400;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: var(--slate-900);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.footer-brand h3 {
    font-family: var(--font-serif);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.footer-brand p {
    color: var(--slate-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    margin-bottom: var(--space-4);
}

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

.footer-column li {
    margin-bottom: var(--space-2);
}

.footer-column a {
    color: var(--slate-300);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--slate-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-500);
    font-size: var(--text-sm);
}