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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: #333;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover {
    color: #666;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none;
    letter-spacing: 0.5px;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin: 3rem 0 2rem;
    letter-spacing: 1px;
}

/* Gallery Grid */
.featured-works {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: #666;
    font-size: 0.9rem;
}

/* Gallery Page Styles */
.gallery-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.gallery-page h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 1px;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.artwork-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.artwork-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.artwork-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.artwork-info {
    padding: 1.5rem;
}

.artwork-info h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.artwork-info .date {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.artwork-info .medium {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* Lightbox/Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    min-width: 300px;
    border-radius: 4px;
}

.lightbox-caption h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #333;
}

.lightbox-caption .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.lightbox-caption .medium {
    color: #666;
    font-size: 1rem;
    font-style: italic;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

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

/* About Page */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 3px solid #e0e0e0;
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-content {
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
}

.about-content ul,
.contact-info ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-content li,
.contact-info li {
    margin-bottom: 0.5rem;
}

.contact-info h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.contact-section h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 2rem;
    border-left: 3px solid #333;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: #333;
    text-decoration: underline;
}

.contact-info a:hover {
    color: #666;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #666;
    margin: 0 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        text-align: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

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

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-content img {
        max-height: 70vh;
    }

    .lightbox-close {
        font-size: 2.5rem;
        top: -35px;
    }
}
