/* ============================================
   Patrick Collison Hero Website - CSS
   Modern/Bold Aesthetic
   ============================================ */

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
    /* Color Palette - Modern/Bold */
    --primary-color: #0A0E27;
    --secondary-color: #FF6B35;
    --accent-color: #F7931E;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-gray: #4A4A4A;
    --bg-light: #F8F9FA;
    --bg-card: #FFFFFF;
    --border-color: #E0E0E0;
    --highlight: #FFD700;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-light);
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
    transition: var(--transition-medium);
}

.logo:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-medium);
    transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 80%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--secondary-color);
}

/* ============================================
   HERO SECTION (HOME PAGE)
   ============================================ */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2456 100%);
    padding: 120px 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: fadeInUp 0.8s ease 0.8s both;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-visual {
    animation: fadeInRight 0.8s ease 0.4s both;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-quote {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
}

.card-author {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: var(--spacing-xl) 2rem;
    background: var(--bg-light);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

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

/* ============================================
   CONTENT PAGES
   ============================================ */

.content-page {
    padding-top: 80px;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2456 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.page-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 500;
    position: relative;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-lg) 2rem;
}

.content-container h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.content-container h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.content-container h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
}

.content-container p {
    margin-bottom: 1.2rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.content-container a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.content-container a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ============================================
   ABOUT ME PAGE STYLES
   ============================================ */

.about-intro {
    margin-bottom: 3rem;
}

.intro-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    padding: 3rem;
    border-radius: 12px;
    color: var(--text-light);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.intro-card h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    border: none;
    color: var(--text-light);
}

.intro-tagline {
    font-size: 1.2rem;
    opacity: 0.95;
}

.about-section {
    background: var(--bg-card);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.interests-grid,
.hobbies-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.interest-item,
.hobby {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.interest-item h4,
.hobby h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.about-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.about-note {
    color: var(--text-gray);
    font-style: italic;
}

/* ============================================
   TIMELINE STYLES (PERSONAL PAGE)
   ============================================ */

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.timeline-marker {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* ============================================
   QUOTE BOXES
   ============================================ */

.quote-box {
    background: var(--bg-light);
    border-left: 5px solid var(--secondary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quote-source {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ============================================
   ARTICLE & MEDIA CARDS
   ============================================ */

.article-card {
    background: var(--bg-card);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: var(--transition-medium);
}

.article-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
}

.article-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.article-link:hover {
    color: var(--accent-color);
}

/* ============================================
   PRINCIPLES & FEATURES GRIDS
   ============================================ */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.principle-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition-medium);
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.principle-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================================
   WORK PAGE STYLES
   ============================================ */

.company-intro {
    margin-bottom: 3rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2456 100%);
    padding: 3rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
}

.work-section {
    margin-bottom: 4rem;
}

.application-list,
.critique-list {
    list-style: none;
    padding-left: 0;
}

.application-list li,
.critique-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

.critique-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.movement-grid,
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.movement-item,
.integration-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.movement-item h4,
.integration-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================================
   WHY HERO PAGE STYLES
   ============================================ */

.lead-text {
    font-size: 1.3rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reason-section {
    margin-bottom: 4rem;
}

.insight-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px solid var(--secondary-color);
}

.insight-box h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.insight-box ul {
    list-style: none;
    padding-left: 0;
}

.insight-box ul li {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

.final-quote {
    background: var(--primary-color);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.final-quote .quote-text {
    color: var(--text-light);
    font-size: 1.5rem;
}

.final-quote .quote-source {
    color: var(--accent-color);
}

.closing-thought {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

/* ============================================
   MEDIA PAGE STYLES
   ============================================ */

.media-item {
    background: var(--bg-card);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: var(--transition-medium);
}

.media-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
}

.media-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.media-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.media-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.media-description {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.media-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.topic-tag {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.media-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.media-link:hover {
    color: var(--accent-color);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition-medium);
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.media-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================================
   REFERENCES PAGE STYLES
   ============================================ */

.references-intro {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reference-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
    scroll-margin-top: 100px;
}

.ref-number {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.ref-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ref-citation {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.ref-citation em {
    font-style: italic;
}

.ref-link {
    color: var(--text-gray);
    font-size: 0.9rem;
    word-break: break-all;
    text-decoration: none;
    transition: var(--transition-fast);
}

.ref-link:hover {
    color: var(--secondary-color);
}

.citation-note {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu li a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1.hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .content-container h2 {
        font-size: 2rem;
    }
    
    .media-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1.hero-title {
        font-size: 2.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .reference-item {
        grid-template-columns: 1fr;
    }
}
