/* Lora Font Declarations */
@font-face {
    font-family: 'Lora';
    src: url('../fonts/Lora-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/Lora-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/Lora-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/Lora-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'Lora', 'Times New Roman', Times, serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #FAFAFA;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand a {
    font-size: 1.2rem;
    font-weight: 400;
    color: #333;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #666;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 40px;
    min-height: 300px;
}

.hero-content {
    text-align: center;
    color: #254321;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.welcome-text {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 2px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #254321;
    z-index: 2;
}

.hero-image {
    max-width: 800px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    padding: 20px 0 80px 0;
    background-color: #fafafa;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text {
    padding-right: 20px;
}

.process-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.process-image {
    overflow: hidden;
    width: 100%;
    height: 200px;
}

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

.intro-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    font-weight: 400;
}

.learn-more-btn {
    display: inline-block;
    background-color: #254321;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #355E3B;
}

.intro-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* Page Sections */
.archive-section,
.about-section,
.contact-section {
    margin-top: 100px;
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.gallery-item {
    text-align: center;
}

.gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-box {
    background-color: #FAFAFA;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.gallery-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-label {
    padding: 20px;
    text-align: center;
    background-color: #FFFFFF;
}

.gallery-label h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: #333;
}

.gallery-label .availability {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0 0;
}

.gallery-title {
    padding: 0 10px;
}

.gallery-title h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #333;
}

.gallery-title p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* About Page */
.about-content {
    margin-top: 40px;
}

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

.exhibitions-section {
    text-align: left;
    margin-top: 2rem;
}

.exhibitions-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
}

.about-text .about-image {
    text-align: center;
    margin: 2rem 0;
}

.about-text .about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* Contact Page */
.follow-section {
    text-align: center;
    margin: 30px 0 5px;
}

.follow-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: center;
}

.social-links {
    margin-top: 10px;
}

.social-link {
    color: #254321;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #254321;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 600px;
}

.contact-item {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    line-height: 1.6;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #666;
}

.contact-info a {
    color: #254321;
    text-decoration: none;
    border-bottom: 1px solid #254321;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
}

.contact-info a:hover {
    opacity: 0.7;
}

/* Contact Form */
.contact-form {
    background-color: #fafafa;
    padding: 40px;
    border: 1px solid #f0f0f0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

/* Form Message Styles */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 400;
}

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

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

.submit-button {
    background-color: #254321;
    color: white;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #355E3B;
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}


/* Newsletter Section */
.newsletter-section {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    background-color: #FAFAFA;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: #333;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: #254321;
}

.newsletter-button {
    padding: 12px 32px;
    background-color: #254321;
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.newsletter-button:hover {
    background-color: #355E3B;
}

/* Footer */
.footer {
    background-color: #254321;
    border-top: 1px solid #eee;
    padding: 40px 0;
    margin-top: 0;
    width: 100%;
    clear: both;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: white;
}

.footer-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        right: -300px;
        width: 250px;
        height: auto;
        background-color: rgba(255, 255, 255, 0.98);
        border: 1px solid #f0f0f0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        gap: 0;
        padding: 20px 0;
        transition: right 0.3s ease;
        border-radius: 0 0 0 8px;
        z-index: 999;
    }

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

    .nav-link {
        padding: 12px 20px;
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
        display: block;
        text-align: left;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .nav-link.active::after {
        display: none;
    }

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

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-content {
        gap: 20px;
    }

    .welcome-text {
        font-size: 3rem;
        top: 15px;
    }

    .tagline {
        font-size: 1rem;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        margin-top: 60px;
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .intro-text {
        padding-right: 0;
    }

    .intro-section {
        padding: 20px 0 40px 0;
    }

    .process-images {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        max-width: 100%;
        margin: 0 auto;
    }

    .process-image {
        height: 180px;
    }

    .intro-text p {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .welcome-text {
        font-size: 2.5rem;
        top: 10px;
    }

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

    .follow-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }

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

/* Detail Page Styles */
.detail-section {
    margin-top: 100px;
    min-height: calc(100vh - 180px);
    padding: 40px 0;
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.detail-image {
    margin-bottom: 30px;
    text-align: center;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #f0f0f0;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: left;
    color: #333;
}

.detail-description {
    margin-bottom: 30px;
}

.detail-description p:first-child {
    font-family: 'Lora', Times, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.detail-description p:nth-child(2) {
    font-family: 'Lora', Times, serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.detail-description p:not(:first-child):not(:nth-child(2)) {
    font-family: 'Lora', Times, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.detail-meta {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
}

.detail-meta li {
    display: inline-block;
    font-size: 1.1rem;
    color: #666;
    margin: 0 20px;
    position: relative;
}

.detail-meta li:before {
    content: '•';
    margin-right: 8px;
    color: #666;
}

.availability-status {
    font-size: 1.1rem;
    color: #666;
    margin: 20px 0 30px 0;
    text-align: left;
    font-style: italic;
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    color: #254321;
    text-decoration: none;
    border-bottom: 1px solid #254321;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 2rem;
        text-align: left;
    }

    .detail-meta li {
        display: block;
        margin: 10px 0;
    }
}

/* ConvertKit Newsletter Popup Styles */
.formkit-form .formkit-subheader p {
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 20px !important;
}

.formkit-form .formkit-header h2 {
    margin-bottom: 15px !important;
}

@media (max-width: 600px) {
    .formkit-form .formkit-subheader {
        font-size: 16px !important;
    }
    
    .formkit-form .formkit-subheader p {
        padding: 0 15px !important;
    }
}

/* ConvertKit Inline Form Styles */
.formkit-form[data-format="inline"] {
    margin: 0 auto 60px auto !important;
    max-width: 600px !important;
    padding: 40px 20px !important;
    position: relative !important;
}

/* Hide the powered by Kit branding */
.formkit-form .formkit-powered-by,
.formkit-form .formkit-powered-by-convertkit,
.formkit-form a[href*="kit.com"],
.formkit-form a[href*="convertkit.com"] {
    display: none !important;
}

.formkit-form[data-format="inline"] .formkit-header h2 {
    font-family: 'Lora', serif !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    color: #333 !important;
}

.formkit-form[data-format="inline"] .formkit-subheader p {
    font-family: 'Lora', serif !important;
    font-size: 1rem !important;
    color: #666 !important;
    line-height: 1.6 !important;
}