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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Navigation Sidebar */
.sidebar {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
    padding: 40px 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 24px;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 4px;
}

.logo-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.artist-name {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 40px;
    color: #333333;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #333333;
}

.nav-link.active {
    color: #333333;
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 60px 60px 40px 60px;
    max-width: calc(100vw - 250px);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
    letter-spacing: -0.02em;
}

/* Artwork Grid */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.artwork-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
}

.artwork-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 16px;
    background-color: transparent;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.artwork-title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 4px;
    text-align: center;
    width: 100%;
    line-height: 1.3;
    min-height: 1.3em;
}

.artwork-year {
    font-size: 14px;
    color: #666666;
    text-align: center;
    width: 100%;
    min-height: 1.2em;
}

/* Home page styles */
.home-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('assets/homebackground.png');
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
}

.home-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.home-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.home-title {
    font-size: 36px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    font-style: italic;
}

.home-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.home-nav-link {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    font-style: italic;
}

.home-nav-link:hover {
    color: #666666;
}

.home-name {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 32px;
    font-style: italic;
}

/* About page styles */
.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 40px 20px;
        max-width: 100vw;
    }
    
    .page-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .home-nav-link {
        font-size: 16px;
    }
    
    .artwork-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .home-nav-link {
        font-size: 14px;
    }
    
    .artwork-grid {
        gap: 20px;
    }
}

/* Related Works Page Styles */
.related-works-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.related-works-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-link {
    display: block;
    padding: 20px 30px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.related-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-link:active {
    transform: translateY(0);
}

/* Specific link colors */
.bookstore-link {
    background-color: rgba(139, 69, 19, 0.08);
}

.ferris-link {
    background-color: rgba(128, 128, 128, 0.08);
}

.instagram-link {
    background-color: rgba(34, 139, 34, 0.08);
}

.youtube-link {
    background-color: rgba(220, 20, 60, 0.08);
}

@media (max-width: 768px) {
    .related-works-content {
        padding: 20px 15px;
    }
    
    .related-link {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-title {
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-close {
        top: -35px;
        font-size: 28px;
    }
    
    .lightbox-image {
        max-height: 75vh;
    }
    
    .lightbox-title {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        top: -30px;
        font-size: 24px;
    }
    
    .lightbox-image {
        max-height: 70vh;
    }
    
    .lightbox-title {
        font-size: 14px;
        margin-top: 10px;
    }
}


