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

body {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}

a {
    color: #F23456;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Typography */
.title, .subtitle {
    font-family: "Fira Sans", sans-serif;
    font-weight: 500;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

/* Navigation */
.nav-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: #333;
    text-decoration: underline;
}

.nav-link.active {
    font-weight: bold;
}

.nav-separator {
    color: #666;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Content */
.content {
    margin-top: 1.5rem;
}

.content p {
    margin-bottom: 1rem;
}

.content ul {
    list-style: none;
    margin-left: 0;
}

.content li {
    margin-bottom: 0.5rem;
}

.content li:before {
    content: "-";
    padding-right: 8px;
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.work-item {
    text-align: left;
}

.work-item a {
    color: inherit;
    text-decoration: none;
}

.work-image {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-title {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    font-weight: normal;
}

/* About Page */
.profile-image {
    margin: 2rem 0;
}

.me {
    max-width: 350px;
    max-height: 350px;
    width: 100%;
    height: auto;
}

.awards-list li a {
    color: #F23456;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
}

.social-icon {
    width: 48px;
    height: 48px;
    fill: #666;
    transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
    fill: #F23456;
}

/* Work Detail Page */
.work-detail {
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.gallery img {
    width: 100%;
    height: auto;
}

.work-content {
    max-width: 800px;
}

.year {
    color: #666;
    font-size: 1.1rem;
}

.credits {
    margin: 2rem 0;
}

.credits h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.credits dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem;
}

.credits dt {
    font-weight: bold;
}

.credits dd {
    margin-left: 0;
}

.tags {
    margin-top: 2rem;
}

.tag {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .credits dl {
        grid-template-columns: 1fr;
    }
    
    .credits dt {
        margin-top: 1rem;
    }
    
    .credits dt:first-child {
        margin-top: 0;
    }
}