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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-color: #eaeaea;
    --text-muted: #b0b0b0;
    --link-color: #4a9eff;
    --link-hover: #6bb3ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 3rem 2rem 2rem;
    color: white;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

.painting-note {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.painting-note p {
    color: var(--text-color) !important;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Main Content */
main {
    padding: 3rem 0;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
}

.about-page .about p {
    text-align: justify;
}

/* Projects */
.projects {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card.featured {
    border-color: var(--link-color);
    border-width: 2px;
    background: rgba(74, 158, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--link-color);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-link {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Selected Work */
.selected-work {
    margin-bottom: 4rem;
}

.work-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.work-item:last-child {
    margin-bottom: 0;
}

.work-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.work-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Links */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--link-color);
    background: rgba(255, 255, 255, 0.08);
}

.link-card .icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.link-card span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Me Section */
.about-me-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.about-me-card {
    max-width: 300px !important;
    width: auto !important;
    justify-content: center;
    flex-shrink: 0;
    min-width: 200px;
}

/* Navigation */
.back-nav {
    margin-bottom: 2rem;
}

.back-link {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 1rem;
}

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

/* Washington Face Link */
.washington-face-link {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.35;
}

.washington-face-link:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.hero:hover .washington-face-link {
    opacity: 0.7;
}

.youtube-icon-overlay {
    width: 40px;
    height: 40px;
    fill: white;
}

.interests-media-section {
    margin-top: 2rem;
}

.interests-media-grid {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
}

.mma-video-container {
    position: relative;
    width: 700px;
    max-width: 700px;
    margin: 25px 10px 25px 0;
    flex: 0 0 700px;
}

.mma-video-container video {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mma-video-container video:hover {
    transform: scale(1.02);
}

.primary-video-wrap {
    position: relative;
}

.primary-video-wrap .primary-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.primary-video-wrap .primary-video.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.secondary-video {
    width: 100%;
    margin-top: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    pointer-events: none; /* no clicking/unmuting */
}

.video-overlay-text {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: white;
    font-size: 12px;
    opacity: 0.7;
    pointer-events: none;
}

.side-media-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 410px;
    margin-top: 25px;
}

.side-media-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    aspect-ratio: 1 / 1;
}

.side-media-card.tall {
    aspect-ratio: 1 / 1.24;
}

.side-media-card img,
.side-media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.side-media-card video {
    pointer-events: none;
}

@media (max-width: 1180px) {
    .interests-media-grid {
        flex-direction: column;
    }

    .mma-video-container {
        width: 100%;
        max-width: 700px;
        flex: none;
        margin-right: 0;
    }

    .side-media-column {
        width: 100%;
        max-width: 700px;
        margin-top: 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .side-media-card,
    .side-media-card.tall {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .side-media-column {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .side-media-column {
        grid-template-columns: 1fr;
    }

    .side-media-card,
    .side-media-card.tall {
        aspect-ratio: 16 / 11;
    }
}






/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 300px;
        margin: 1rem 0;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .about-me-card {
        max-width: 100%;
        width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-overlay h1 {
        font-size: 1.75rem;
    }

    .about p {
        font-size: 1rem;
    }
}
