* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8rem;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

/* Increase font size when displaying Tibetan in header */
[lang="bo"] .nav-link {
    font-size: 1.5rem;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.tibetan-text {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.date {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-button {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    padding: 1rem 3rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Coming Soon Section */
.coming-soon {
    min-height: 100vh;
    background: url('img/background-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.coming-soon-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    position: relative;
}

.coming-soon h2 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 300;
}

.coming-soon h3 {
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 3rem;
    font-weight: 300;
}

.portrait {
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}

.portrait img {
    width: 400px;
    height: auto;
    filter: grayscale(100%);
    border-radius: 10px;
}

/* Gallery Section */
.gallery {
    min-height: 100vh;
    background: url('img/background-flipped.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 2rem;
    text-align: center;
}

.gallery h2 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 4rem;
    font-weight: 300;
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto 4rem auto;
    overflow-x: auto;
    padding: 0 2rem;
    scroll-behavior: smooth;
}

.gallery-item {
    min-width: 250px;
    width: 250px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

/* Mobile hamburger menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    padding-top: 1rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #d4af37;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 0;
}

.mobile-nav-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-nav-link:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.1);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Mobile menu active states */
.mobile-nav.active {
    display: flex;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav-left, .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        padding-top: 3rem;
    }

    .navbar {
        justify-content: space-between;
        padding: 1rem 2rem;
    }

    .logo {
        flex: none;
    }

    .hero {
        height: 100vh;
        background: url('img/hero-background-mobile.jpg');
        background-size: cover;
        background-position: center;
    }

    .tibetan-text {
        font-size: 1.8rem;
    }

    .coming-soon h2 {
        font-size: 2.5rem;
    }

    .coming-soon h3 {
        font-size: 1.3rem;
    }

    .gallery h2 {
        font-size: 2.5rem;
    }

    .portrait {
        display: none;
    }

    .gallery-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Tablet breakpoint */
@media (min-width: 768px) and (max-width: 1100px) {
    .hero {
        height: 100vh;
        background: url('img/hero-background-tablet.jpg');
        background-size: cover;
        background-position: center;
    }
}

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

    .nav-left, .nav-right {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero {
        height: 100vh;
        background: url('img/hero-background-mobile.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    .gallery-item {
        min-width: 200px;
        width: 200px;
    }
}

/* About Page Styles */
.about-section {
    min-height: 100vh;
    background: url('img/background-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem 4rem 2rem;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 10px;
}

.about-title {
    font-size: 3.5rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

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

.about-image img {
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-content p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Gallery Page Styles */
.gallery-page {
    min-height: 100vh;
    background: url('img/background-flipped.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem 4rem 2rem;
}

.gallery-page-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-page-title {
    font-size: 4rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.gallery-introduction {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.gallery-intro-title {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 500;
}

.gallery-intro-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
}

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

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Center line for timeline */
.timeline-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.3));
    z-index: 1;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.timeline-left .timeline-content {
    grid-column: 1;
    text-align: right;
    padding-right: 0;
}

.timeline-left .timeline-dot {
    grid-column: 2;
    justify-self: center;
}

.timeline-right .timeline-dot {
    grid-column: 2;
    justify-self: center;
}

.timeline-right .timeline-content {
    grid-column: 3;
    text-align: left;
    padding-left: 0;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #d4af37;
    border: 4px solid #000;
    border-radius: 50%;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    width: 28px;
    height: 28px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.timeline-content {
    max-width: 350px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

.timeline-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.timeline-item:hover .timeline-content img {
    filter: grayscale(0%);
}

.gallery-item-caption {
    background: rgba(0, 0, 0, 0.8);
    padding: 1.2rem;
    flex-grow: 1;
}

.gallery-item-caption p {
    color: #d4af37;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Programme Page Styles */
.programme-section {
    min-height: 100vh;
    background: url('img/background-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programme-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 10px;
}

.programme-title {
    font-size: 3.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.programme-content {
    text-align: center;
}

.programme-placeholder {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.8;
}

.programme-event-title {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.programme-event {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.event-date {
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.event-location {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.event-description {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.event-registration {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid #d4af37;
    border-radius: 5px;
    text-align: center;
}

.registration-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 500;
}

.registration-text {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.registration-link {
    display: inline-block;
    background: #d4af37;
    color: #000;
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.registration-link:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

/* Contact Page Styles */
.contact-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem 4rem 2rem;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 10px;
}

.contact-title {
    font-size: 3.5rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.contact-item {
    flex: 1;
    text-align: center;
}

.contact-item h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-placeholder {
    color: #fff;
    font-size: 1.1rem;
}

.contact-form {
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #d4af37;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #d4af37;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.form-group textarea {
    resize: vertical;
}

/* Responsive styles for new pages */
@media (max-width: 768px) {
    .about-title,
    .gallery-page-title,
    .programme-title,
    .contact-title {
        font-size: 2.5rem;
    }

    .about-container,
    .programme-container,
    .contact-container {
        padding: 2rem;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-title,
    .gallery-page-title,
    .programme-title,
    .contact-title {
        font-size: 2rem;
    }

    .about-container,
    .programme-container,
    .contact-container {
        padding: 1.5rem;
    }

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

/* About Us Page Styles */
.aboutus-section {
    min-height: 100vh;
    background: url('img/background-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem 4rem 2rem;
}

.aboutus-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 10px;
}

.aboutus-title {
    font-size: 3.5rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.aboutus-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.initiative-section,
.foreword-section,
.credit-section,
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 1.8rem;
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.section-text,
.foreword-preview,
.credit-text,
.contact-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
}

.credit-text-italic {
    color: #fff;
    font-size: 1rem;
    line-height: 1.9;
    text-align: center;
    font-style: italic;
}

.contact-email-italic {
    color: #fff;
    font-size: 1rem;
    line-height: 1.9;
    text-align: center;
    font-style: italic;
}

.contact-email-italic a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email-italic a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright-text {
    color: #888;
    font-size: 0.75rem;
    line-height: 1.8;
    text-align: center;
    margin-top: 2rem;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem;
    text-align: center;
}

.footer .copyright-text {
    margin: 0;
    color: #888;
}

.developer-credit {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    margin: 0 rem 0;
}

.developer-credit a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #888;
    text-decoration: underline;
}

.read-more-link {
    display: inline-block;
    width: fit-content;
    background: #d4af37;
    color: #000;
    padding: 0.7rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.read-more-link:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.contact-email {
    color: #ccc;
    font-size: 1rem;
}

.contact-email a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Foreword Page Styles */
.foreword-page-section {
    min-height: 100vh;
    background: url('img/background-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem 4rem 2rem;
}

.foreword-page-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 10px;
}

.foreword-page-title {
    font-size: 3.5rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.foreword-subtitle {
    font-size: 2rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.foreword-subheading {
    font-size: 1.5rem;
    color: #d4af37;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.foreword-page-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.foreword-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify;
}

.foreword-author {
    color: #d4af37;
    font-size: 1.1rem;
    font-style: italic;
    text-align: right;
    margin-top: 1rem;
}

.acknowledgments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.acknowledgment-title {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
    font-weight: 500;
}

.acknowledgment-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.back-link-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.back-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

/* Responsive About Us & Foreword Pages */
@media (max-width: 768px) {
    .aboutus-title,
    .foreword-page-title {
        font-size: 2.5rem;
    }

    .aboutus-container,
    .foreword-page-container {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-text,
    .foreword-preview,
    .credit-text,
    .contact-text,
    .foreword-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .aboutus-title,
    .foreword-page-title {
        font-size: 2rem;
    }

    .aboutus-container,
    .foreword-page-container {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-text,
    .foreword-preview,
    .credit-text,
    .contact-text,
    .foreword-text {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* Works Gallery Section Styles */
.works-gallery-section {
    background: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 2rem;
}

.works-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.works-gallery-title {
    font-size: 3rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.works-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

.works-release-notice {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.release-text {
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}

.works-gallery-item-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-gallery-item-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.works-gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 3/4;
    min-height: auto;
}

.works-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.works-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: filter 0.3s ease;
}

.works-gallery-item:hover img {
    filter: grayscale(0%);
}

/* Gallery item info */
.gallery-item-info {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-item-title {
    color: #d4af37;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
    word-break: break-word;
}

.gallery-item-meta {
    font-size: 0.75rem;
    color: #ccc;
    margin: 0;
    word-break: break-word;
}

/* Responsive gallery grid */
@media (max-width: 1200px) {
    .works-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .works-gallery-title {
        font-size: 2rem;
    }

    .works-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .works-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 0.8rem;
    }
    
    .works-gallery-item {
        min-height: 150px;
    }
    
    .gallery-item-info {
        padding: 0.6rem;
        font-size: 0.7rem;
    }
    
    .gallery-item-title {
        font-size: 0.8rem;
    }
    
    .gallery-item-meta {
        font-size: 0.65rem;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    padding: 2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent background scrolling when lightbox is active */
body:has(.lightbox-modal.active) {
    overflow: hidden;
}

.lightbox-modal-content {
    position: relative;
    width: 100%;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    overflow-y: auto;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    overflow-y: auto;
    gap: 2rem;
}

.lightbox-main {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    height: 100%;
    align-items: flex-start;
}

.lightbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    aspect-ratio: auto;
    max-width: 45vw;
    max-height: 90vh;
    margin-bottom: 0;
    flex-shrink: 0;
}

#lightbox-image {
    width: auto;
    height: auto;
    max-width: 45vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-info {
    max-width: 45vw;
    max-height: 90vh;
    color: #fff;
    overflow-y: auto;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.lightbox-title {
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 0;
    font-weight: 500;
}

.lightbox-detail {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.lightbox-detail strong {
    color: #d4af37;
}

.lightbox-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #d4af37;
    text-align: left;
    max-width: none;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid #d4af37;
    border-radius: 5px;
    margin-bottom: 0;
    word-wrap: break-word;
    max-height: none;
    overflow-y: auto;
    flex-shrink: 0;
}

.lightbox-comments {
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ddd;
    max-height: 15vh;
    overflow-y: auto;
}

.lightbox-comments p {
    margin-bottom: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #d4af37;
    color: #d4af37;
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    z-index: 2001;
}

.lightbox-close:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.lightbox-controls {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
    position: absolute;
    bottom: 2rem;
    left: 0;
}

.lightbox-btn {
    background: #d4af37;
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lightbox-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.lightbox-btn:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-modal-content {
        flex-direction: column;
        max-width: 95vw;
        max-height: 95vh;
        gap: 1rem;
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .lightbox-content {
        flex-direction: column;
        max-width: 95vw;
        max-height: 95vh;
        gap: 1rem;
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .lightbox-main {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .lightbox-container {
        width: 100%;
        max-width: 90vw;
        max-height: 50vh;
        margin-bottom: 1rem;
    }

    #lightbox-image {
        max-width: 90vw;
        max-height: 50vh;
    }

    .lightbox-info {
        max-width: 90vw;
        max-height: 30vh;
        padding-right: 0;
        padding-bottom: 1rem;
        flex: none;
    }

    .lightbox-title {
        font-size: 1.4rem;
    }

    .lightbox-detail {
        font-size: 0.9rem;
    }

    .lightbox-description {
        font-size: 0.9rem;
        text-align: left;
    }

    .lightbox-controls {
        gap: 1rem;
        position: static;
        width: auto;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        justify-content: center;
    }

    .lightbox-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Advertisement Modal Styles */
.ad-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ad-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ad-modal-content {
    position: relative;
    max-width: 70vw;
    max-height: 70vh;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.ad-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.ad-desktop {
    display: block;
}

.ad-mobile {
    display: none;
}

.ad-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #d4af37;
    color: #d4af37;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.ad-close-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Mobile advertisement adjustments */
@media (max-width: 768px) {
    .ad-modal-content {
        max-width: 90vw;
        max-height: 80vh;
    }

    .ad-close-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }

    .ad-desktop {
        display: none;
    }

    .ad-mobile {
        display: block;
    }
}

/* Language Switcher Dropdown Styles */
.language-switcher-container {
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    z-index: 9999;
    pointer-events: auto;
}

.language-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #d4af37;
    box-shadow: none;
    pointer-events: auto;
}

.language-dropdown-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.language-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.language-label {
    font-weight: 500;
    color: #d4af37;
    min-width: 40px;
    font-size: 0.8rem;
}

.dropdown-arrow {
    color: #d4af37;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #d4af37;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100000;
    pointer-events: auto;
}

.language-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    color: #333;
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    pointer-events: auto;
}

.language-option:hover {
    background: rgba(212, 175, 55, 0.1);
    padding-left: 1rem;
}

.language-option-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-switcher-container {
        top: 1rem;
        right: 1rem;
    }

    .language-dropdown-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .language-flag {
        width: 18px;
        height: 18px;
    }

    .language-label {
        min-width: 35px;
        font-size: 0.7rem;
    }

    .language-option {
        padding: 0.7rem 1rem;
    }

    .language-option:hover {
        padding-left: 1.2rem;
    }
}