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

:root {
    --primary-bg: #ffffff;
    --text-color: #000000;
    --text-gray: #999999;
    --text-light-gray: #cccccc;
    --border-color: #dddddd;
}

body {
    font-family: 'Droid Sans', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 14px;
}

/* Header and Navigation */
header {
    padding: 30px 40px 20px;
    text-align: center;
}

.site-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.site-title a {
    text-decoration: none;
    color: var(--text-color);
}

nav {
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light-gray);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    font-weight: 400;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--text-color);
}

/* Hero Section - Homepage */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px 100px;
}

main.full-width {
    max-width: 100%;
    padding: 0;
}

.page-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

/* Works Page - Vertical Layout */
.works-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.work-preview {
    margin-bottom: 100px;
    text-align: center;
}

.work-preview:last-child {
    margin-bottom: 60px;
}

.work-preview a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.work-preview-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.work-preview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.work-preview a:hover .work-preview-image img {
    opacity: 0.85;
}

.work-preview-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Individual Work Gallery Page */
.work-detail {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}

.work-detail-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.work-gallery {
    margin-bottom: 80px;
}

.gallery-item {
    margin-bottom: 80px;
}

.gallery-item:last-child {
    margin-bottom: 40px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.9;
}

.gallery-item-caption {
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-gray);
    font-style: italic;
    text-align: left;
}

/* Biography */
.biography-content {
    max-width: 700px;
    margin: 0 auto;
}

.bio-image-container {
    text-align: center;
    margin-bottom: 50px;
}

.bio-image {
    width: 400px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
}

.bio-intro {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bio-intro + .bio-intro {
    margin-bottom: 50px;
}

.bio-section {
    margin-bottom: 50px;
}

.bio-section h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.exhibition-list {
    list-style: none;
}

.exhibition-list li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 13px;
    color: #333;
}

.exhibition-list li strong {
    font-weight: 600;
}

/* Contact Page */
.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left {
    padding-right: 20px;
}

.contact-email {
    font-size: 13px;
    margin-bottom: 50px;
    color: var(--text-gray);
}

.contact-email a {
    color: var(--text-gray);
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.galleries-section {
    margin-bottom: 50px;
}

.galleries-section h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}

.galleries-list {
    list-style: none;
}

.galleries-list li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    font-family: 'Droid Sans', Arial, sans-serif;
    font-size: 13px;
    background-color: #fafafa;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
    background-color: #ffffff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 10px 30px;
    border: 1px solid var(--text-color);
    cursor: pointer;
    font-size: 12px;
    font-family: 'Droid Sans', Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--text-color);
    color: #ffffff;
}

.contact-right {
    text-align: center;
    padding-left: 20px;
}

.contact-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.message {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px 40px;
    margin-top: 80px;
}

.back-to-top {
    display: inline-block;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 11px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: var(--text-color);
}

footer p {
    font-size: 11px;
    color: var(--text-light-gray);
    line-height: 1.6;
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-color);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 25px 20px 15px;
    }

    .site-title {
        font-size: 16px;
        letter-spacing: 2px;
    }

    nav ul {
        gap: 15px;
    }

    nav ul li a {
        font-size: 10px;
    }

    main {
        padding: 50px 20px 60px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .hero-text {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .works-list {
        padding: 0 20px;
    }

    .work-preview {
        margin-bottom: 60px;
    }

    .work-detail {
        padding: 0 20px;
    }

    .work-detail-title {
        font-size: 22px;
    }

    .gallery-item {
        margin-bottom: 50px;
    }

    .bio-image {
        width: 280px;
        height: 200px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-left,
    .contact-right {
        padding: 0;
    }

    .contact-image {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    nav ul {
        gap: 12px;
    }

    nav ul li a {
        font-size: 9px;
    }

    main {
        padding: 40px 15px 50px;
    }

    .hero-text {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .works-list {
        padding: 0 15px;
    }

    .work-detail {
        padding: 0 15px;
    }

    .bio-image {
        width: 220px;
        height: 160px;
    }

    .contact-image {
        max-width: 250px;
    }
}
