/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
}

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

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #333;
}

/* Main content */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
}

/* Grid layouts */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.work-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.work-info {
    padding: 1.5rem;
}

.work-info h3 {
    margin-bottom: 0.5rem;
}

.year, .materials, .dimensions {
    display: inline-block;
    background: #f0f2f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Work detail page */
.work {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.work-header {
    margin-bottom: 2rem;
    text-align: center;
}

.work-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

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

.work-image {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
}

.work-image figcaption {
    padding: 1rem;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

/* Navigation */
.work-nav {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #333;
}

/* Page header */
.page-header {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
}

/* News section */
.recent-news, .featured-works {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    margin-bottom: 0.5rem;
}

.news-item h3 a {
    text-decoration: none;
    color: #333;
}

.news-item time {
    color: #666;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .work-gallery {
        grid-template-columns: 1fr;
    }
    
    .work-meta {
        flex-direction: column;
        align-items: center;
    }
}