/* Custom Font */
@font-face {
    font-family: 'Lithos Pro';
    src: url('../Web Images/Fonts/lithos-pro/LithosPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #7d7d7d;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #7d7d7d;
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #fff;
    text-decoration: none;
    font-family: Georgia, serif;
    display: block;
    line-height: 0;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    font-weight: 300;
    font-family: 'Lithos Pro', sans-serif;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-menu a.active {
    color: #000;
    font-weight: 500;
    border-bottom: 2px solid #000;
    padding-bottom: 3px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 60px;
    padding-top: 2rem;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 2rem;
}

.hero-image img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
}

.hero-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.arrow {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 3rem;
    color: #333;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.arrow:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
}

/* Content Pages */
.content-wrapper {
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    padding: 4rem 2rem;
    background-color: #7d7d7d;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    display: none;
}

/* Bio Page Styles */
.bio-container {
    max-width: 650px;
    background-color: #8d8d8d;
    padding: 3rem 3.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bio-slideshow {
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
}

.bio-slideshow-container {
    position: relative;
    width: 60%;
    height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-image {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    display: none;
    border: 2px solid #2a2a2a;
    transition: opacity 0.5s ease-in-out;
    object-fit: contain;
}

.slideshow-image.active {
    display: block;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 1.5rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slideshow-arrow:hover {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
}

.bio-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #2a2a2a;
    text-align: center;
    font-family: 'Lithos Pro', sans-serif;
    letter-spacing: 2px;
}

.bio-quote {
    font-style: italic;
    font-size: 1rem;
    padding: 2.5rem;
    border-left: 4px solid #2a2a2a;
    margin: 2rem 0 3rem 0;
    background-color: rgba(0, 0, 0, 0.05);
    color: #2a2a2a;
    line-height: 1.8;
}

.bio-text p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: #2a2a2a;
    text-align: justify;
}

/* Exhibitions Page Styles */
.exhibitions-container {
    max-width: 750px;
    background-color: #8d8d8d;
    padding: 3rem 3.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.exhibitions-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2a2a2a;
    text-align: center;
    font-family: 'Lithos Pro', sans-serif;
    letter-spacing: 2px;
}

.exhibitions-table {
    width: 100%;
}

.exhibition-row {
    display: flex;
    padding: 0.6rem 0;
    border-bottom: 1px solid #757575;
}

.exhibition-row:last-child {
    border-bottom: none;
}

.exhibition-year {
    flex-shrink: 0;
    width: 130px;
    padding-right: 2rem;
    font-weight: 500;
    color: #2a2a2a;
    font-size: 1rem;
}

.exhibition-details {
    flex: 1;
    color: #2a2a2a;
    font-size: 1rem;
    line-height: 1.5;
}

/* Legacy bio styles for compatibility */
.bio-section {
    margin-bottom: 4rem;
}

.bio-section h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #2a2a2a;
    font-family: Georgia, serif;
}

.bio-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #2a2a2a;
}

.history-list {
    line-height: 2;
    color: #2a2a2a;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: transparent;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    border: 2px solid #2a2a2a;
}

.gallery-item:hover {
    transform: scale(1.03);
}

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

.gallery-item-title {
    display: none;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.category-card {
    text-decoration: none;
    color: #000;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: transparent;
    margin-bottom: 1rem;
    border: 2px solid #2a2a2a;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-name {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 0.5rem;
    font-family: 'Lithos Pro', sans-serif;
    color: #000;
}

#category-title {
    color: #000;
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin: 0;
    font-family: 'Lithos Pro', sans-serif;
    flex: 1;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

#back-button {
    background: #7d7d7d;
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    height: 2.5rem;
}

#back-button:hover {
    background-color: #666;
}

/* Contact Page */
.contact-container {
    max-width: 850px;
    background-color: #8d8d8d;
    padding: 3rem 3.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-top {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: #2a2a2a;
    font-style: italic;
}

.contact-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-form-section {
    flex: 1;
}

.contact-intro {
    font-size: 1rem;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2a2a2a;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #999;
    background-color: #d9d9d9;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: #2a2a2a;
}

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

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

.submit-btn {
    background-color: #7d7d7d;
    color: #fff;
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #666;
}

.contact-image-section {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-image-section img {
    max-width: 100%;
    height: auto;
    border: 2px solid #2a2a2a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #7d7d7d;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .content-wrapper {
        padding: 2rem 1rem;
    }

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

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-container {
        padding: 2rem 1.5rem;
    }

    .contact-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form-section {
        max-width: 100%;
    }

    .contact-image-section {
        order: -1;
        flex: 0 0 auto;
    }

    .contact-image-section img {
        max-width: 60%;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .hero-arrows {
        padding: 0 1rem;
    }

    .exhibition-row {
        flex-direction: column;
        padding: 1rem 0;
    }

    .exhibition-year {
        width: 100%;
        padding: 0 0 0.5rem 0;
        font-weight: 600;
    }

    .exhibition-details {
        padding: 0;
    }

    .bio-container {
        padding: 2rem 1.5rem;
    }

    .bio-slideshow-container {
        width: 80%;
        height: 200px;
    }

    .slideshow-image {
        max-height: 200px;
    }

    .slideshow-arrow {
        font-size: 1.5rem;
        padding: 0.3rem 0.7rem;
    }

    .exhibitions-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

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

/* LightGallery Custom Styles */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.95);
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
    border-color: #7d7d7d;
}
