/* ========================================
   Tim Dietrich - Personal Website
   University of Washington Color Theme
   Purple: #4B2E83 | Gold: #B7A57A
   ======================================== */

/* CSS Custom Properties */
:root {
    /* UW Colors */
    --uw-purple: #4B2E83;
    --uw-purple-dark: #3a2466;
    --uw-purple-light: #6b4a9e;
    --uw-gold: #B7A57A;
    --uw-gold-light: #d4c9a9;
    --uw-gold-dark: #9a8a5f;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.25rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--uw-purple);
    transition: var(--transition-fast);
}

.nav-logo:hover {
    color: var(--uw-purple-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--uw-gold);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--uw-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--uw-purple);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--uw-purple-dark);
    color: var(--white) !important;
}

.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: var(--space-xs);
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-greeting {
    font-size: 1rem;
    font-weight: 500;
    color: var(--uw-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--uw-purple);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 500px;
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--uw-purple) 0%, var(--uw-purple-light) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, var(--uw-purple) 0%, var(--uw-gold) 100%);
    border-radius: 50%;
    z-index: -1;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: 50%;
    z-index: -1;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray-400), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--uw-purple);
    border: 2px solid var(--uw-purple);
}

.btn-secondary:hover {
    background: var(--uw-purple);
    color: var(--white);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--uw-purple);
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--uw-gold);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: -2rem auto var(--space-3xl);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.about-text strong {
    color: var(--uw-purple);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.highlight-card {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.highlight-card:hover {
    border-color: var(--uw-gold);
    transform: translateY(-2px);
}

.highlight-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--uw-purple);
    line-height: 1;
}

.highlight-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: var(--space-sm);
}

/* ========================================
   Experience Section
   ======================================== */
.experience {
    background: var(--gray-50);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--uw-purple);
    border: 3px solid var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--uw-gold);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--uw-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.timeline-company {
    font-size: 1rem;
    font-weight: 500;
    color: var(--uw-purple);
    margin-bottom: var(--space-sm);
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--uw-purple);
    background: rgba(75, 46, 131, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

/* ========================================
   Volunteer Section
   ======================================== */
.volunteer {
    background: var(--white);
}

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

.volunteer-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.volunteer-card:hover {
    border-color: var(--uw-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.volunteer-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.volunteer-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--uw-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.volunteer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.volunteer-org {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--uw-purple);
    margin-bottom: var(--space-sm);
}

.volunteer-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   Hobbies Section
   ======================================== */
.hobbies {
    background: var(--white);
}

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

.hobby-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.hobby-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--uw-gold);
}

.hobby-image {
    height: 280px;
    overflow: hidden;
}

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

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

.hobby-info {
    padding: var(--space-lg);
}

.hobby-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--uw-purple);
    margin-bottom: var(--space-sm);
}

.hobby-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   Swimming Section (Compact)
   ======================================== */
.swimming-compact {
    background: var(--gray-50);
    padding: var(--space-2xl) 0;
}

.swimming-content {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.swimming-image {
    flex-shrink: 0;
    position: relative;
}

.swimming-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--uw-purple);
}

.swimming-caption {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: var(--space-xs);
    font-style: italic;
}

.swimming-summary {
    text-align: left;
}

.swimming-summary p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .swimming-content {
        flex-direction: column;
        text-align: center;
    }

    .swimming-summary {
        text-align: center;
    }
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: -2rem auto var(--space-3xl);
    line-height: 1.7;
}

.swimming-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.swimming-era {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.swimming-era:hover {
    border-color: var(--uw-gold);
    box-shadow: var(--shadow-md);
}

.era-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--uw-gold);
}

.era-years {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: var(--uw-purple);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.era-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.era-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.era-achievements {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.achievement-badge {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--uw-gold-dark);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.achievement-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.era-details {
    margin-top: var(--space-md);
}

.era-details p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.coaching-section {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.coaching-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--uw-purple);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.coaching-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.coaching-role {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.coaching-org {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    background: var(--white);
}

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

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-category {
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.skill-category:hover {
    border-color: var(--uw-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.skill-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--uw-purple);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--uw-gold);
}

.skill-list li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-200);
}

.skill-list li:last-child {
    border-bottom: none;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    background: var(--gray-50);
}

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

.projects-grid.projects-single {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    text-decoration: none;
    display: block;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--uw-gold);
}

.project-featured {
    grid-column: span 1;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--uw-purple) 0%, var(--uw-purple-light) 100%);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-base);
}

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

.project-logo-bg {
    background: var(--uw-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: var(--transition-base);
}

.project-card:hover .project-logo {
    transform: scale(1.1);
}

.project-patent {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.patent-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.patent-icon {
    width: 80px;
    height: 80px;
    color: var(--uw-purple);
}

.patent-number {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 0.05em;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 4rem;
}

.project-info {
    padding: var(--space-lg);
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--uw-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.project-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.project-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--uw-purple);
    transition: var(--transition-fast);
}

.project-card:hover .project-link {
    color: var(--uw-gold-dark);
}

/* ========================================
   Education Section
   ======================================== */
.education {
    background: var(--white);
}

.education-card {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.education-logo {
    flex-shrink: 0;
}

.uw-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--uw-purple);
    color: var(--uw-gold);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
}

.education-school {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--uw-purple);
    margin-bottom: var(--space-xs);
}

.education-detail {
    font-size: 1rem;
    color: var(--uw-gold-dark);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.education-years {
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}

.education-location {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: linear-gradient(135deg, var(--uw-purple) 0%, var(--uw-purple-dark) 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title::after {
    background: var(--uw-gold);
}

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

.contact-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-base);
}

.contact-link:hover {
    background: var(--uw-gold);
    color: var(--uw-purple);
    border-color: var(--uw-gold);
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-xl) 0;
    text-align: center;
    font-size: 0.875rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual,
    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: row;
        justify-content: center;
    }

    .swimming-timeline {
        grid-template-columns: 1fr;
    }

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

    .hobbies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-4xl) var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-marker {
        left: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: column;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-card {
        flex-direction: column;
        text-align: center;
    }

    .coaching-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero {
        padding-top: var(--space-3xl);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Smooth reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
