/* Custom Properties */
:root {
    /* Colors using HSL format */
    --primary-color: 25 40% 34%; /* Rich brown #7d5330 */
    --secondary-color: 210 15% 25%; /* Deep blue-gray */
    --accent-color: 25 40% 34%; /* Rich brown accent */
    --background-light: 36 29% 62%; /* Warm beige #c1a37d */
    --background-dark: 220 20% 8%; /* Very dark blue */
    --text-primary: 220 15% 15%; /* Dark blue-gray */
    --text-secondary: 220 10% 45%; /* Medium gray */
    --text-light: 0 0% 95%; /* Light gray */
    --border-color: 220 15% 85%; /* Light border */
    --success-color: 345 63% 30%; /* Burgundy */
    --error-color: 0 70% 55%; /* Red */
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --font-caption: 'Cinzel', serif;
    --font-subheading: 'Glacial Indifference', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --navbar-height: 70px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background-light));
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce paint complexity */
.hero-section,
.about-section,
.gallery-section,
.my-story-section,
.contact-section {
    will-change: auto;
    transform: translateZ(0);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-subheading);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-subheading);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--navbar-height);
    background: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border-color));
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: hsla(0, 0%, 100%, 0.98);
    box-shadow: 0 2px 20px hsla(var(--text-primary), 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
}

.nav-logo h2 {
    font-family: var(--font-primary);
    color: hsl(var(--primary-color));
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.nav-link {
    text-decoration: none;
    color: hsl(var(--text-primary));
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary-color));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--primary-color));
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: hsl(var(--text-primary));
    transition: var(--transition-fast);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: hsl(var(--primary-color));
    color: white;
}

.btn-primary:hover {
    background: hsl(var(--primary-color) / 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px hsl(var(--primary-color) / 0.3);
}

.btn-secondary {
    background: transparent;
    color: hsl(var(--primary-color));
    border: 2px solid hsl(var(--primary-color));
}

.btn-secondary:hover {
    background: hsl(var(--primary-color));
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: hsl(var(--primary-color));
    margin: 1rem auto 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    background: linear-gradient(135deg, rgba(250, 251, 252, 0.95), rgba(240, 231, 219, 0.95)), 
                url('attached_assets/IMG_2472.jpeg') center/cover no-repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    color: black;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: black;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-subheading);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: black;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.availability-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: hsl(var(--success-color) / 0.1);
    border: 1px solid hsl(var(--success-color) / 0.3);
    border-radius: 25px;
    color: hsl(var(--success-color));
    font-weight: 500;
    width: fit-content;
}

.clickable-badge {
    cursor: pointer;
    transition: var(--transition-fast);
}

.clickable-badge:hover {
    background: hsl(var(--success-color) / 0.15);
    transform: translateY(-1px);
}

.hero-price-display {
    margin-top: 1rem;
    color: hsl(var(--success-color));
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
}

.hero-artwork {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-artwork:hover {
    transform: scale(1.02);
}

/* Image Placeholders */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: hsl(var(--border-color));
    border: 2px dashed hsl(var(--text-secondary));
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: hsl(var(--text-secondary));
    min-height: 300px;
}

.image-placeholder.large {
    min-height: 500px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.image-placeholder p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.image-placeholder small {
    font-style: italic;
    opacity: 0.7;
}

/* Home Section */
.hero-section {
    background: hsl(var(--background-light));
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    color: black;
}

.about-text p {
    color: black;
}

.about-text h3 {
    color: black;
    margin-bottom: 1.5rem;
}

.features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    color: hsl(var(--primary-color));
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: black;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    color: black;
}

.about-artwork {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 700px;
}

.church-connection {
    background: hsl(var(--background-light));
    padding: 3rem;
    border-radius: 10px;
    border-left: 4px solid hsl(var(--primary-color));
}

.church-connection h3 {
    color: black;
    margin-bottom: 1rem;
}

.church-connection p {
    color: black;
}

.inscription-translation {
    background: #c1a37d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.inscription-translation p {
    color: hsl(var(--text-primary));
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

.gallery-inscription {
    grid-column: 1 / -1;
    margin: 2rem 0;
}

/* My Story Section */
.my-story-section {
    background: hsl(var(--background-light));
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.story-text h3 {
    color: black;
    margin-bottom: 1.5rem;
    font-family: var(--font-subheading);
}

.story-text p {
    color: black;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.story-artwork {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.image-caption {
    margin-top: 1rem;
    color: hsl(var(--text-primary));
    font-style: italic;
    font-family: var(--font-caption);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-image {
        order: -1;
    }
}

/* Gallery Section */
.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px hsl(var(--text-primary) / 0.1);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px hsl(var(--text-primary) / 0.15);
}

.main-piece {
    grid-column: span 1;
}

.gallery-main-image,
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 10px;
}

.gallery-info {
    padding: 1rem;
}

.gallery-info h4 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
    font-size: 1rem;
    font-family: var(--font-caption);
}

.gallery-info p {
    margin: 0;
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
    font-family: var(--font-caption);
}

.artwork-info {
    padding: 2rem;
}

.artwork-info h3 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.artwork-subtitle {
    margin-bottom: 1.5rem;
    color: hsl(var(--primary-color));
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: var(--font-caption);
}

.artwork-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    font-size: 0.95rem;
    font-family: var(--font-caption);
}

.available {
    color: hsl(var(--success-color));
    font-weight: 600;
}

.clickable-price {
    cursor: pointer;
    transition: var(--transition-fast);
}

.clickable-price:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.price-display {
    margin-top: 0.5rem;
    color: hsl(var(--success-color));
    font-size: 1.1rem;
}

.social-link {
    text-align: center;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    background: hsl(var(--primary-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Church Connection Image */
.church-connection {
    margin-top: 2rem;
    text-align: center;
}

.church-connection-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.church-connection-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Contact Section */
.contact-section {
    background: hsl(var(--background-light));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: hsl(var(--primary-color));
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.contact-item a {
    color: hsl(var(--primary-color));
    text-decoration: none;
}

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

.purchase-info {
    background: hsl(var(--background-light));
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid hsl(var(--primary-color));
}

.purchase-info h4 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.purchase-info ul {
    list-style: none;
    padding-left: 0;
}

.purchase-info li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.purchase-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--success-color));
    font-weight: bold;
}

/* Contact Form */
.contact-form-container {
    background: hsl(var(--background-light));
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: hsl(var(--text-primary));
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid hsl(var(--border-color));
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: #c1a37d;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary-color));
    box-shadow: 0 0 0 3px hsl(var(--primary-color) / 0.1);
}

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

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.clickable-image {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.clickable-image:hover {
    opacity: 0.9;
}

/* Shop Prints Section */
.shop-prints-section {
    background: hsl(var(--background-light));
    padding: 5rem 0;
}

.prints-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.prints-info h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
    font-family: var(--font-subheading);
}

.prints-info p {
    color: hsl(var(--text-primary));
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.print-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.print-features .feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.print-features .feature i {
    color: hsl(var(--primary-color));
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.print-features .feature h4 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.print-features .feature p {
    color: hsl(var(--text-primary));
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.print-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.print-info h4 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    font-family: var(--font-subheading);
}

.print-info ul {
    list-style: none;
    padding-left: 0;
}

.print-info li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.print-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--success-color));
    font-weight: bold;
}

.prints-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.prints-showcase {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.prints-showcase:hover {
    transform: translateY(-5px);
}

.showcase-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.showcase-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-subheading);
}

.showcase-overlay p {
    margin: 0;
    opacity: 0.9;
}

.shop-buttons {
    text-align: center;
    width: 100%;
}

.shop-btn {
    background: hsl(var(--primary-color));
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.shop-btn:hover {
    background: hsl(var(--primary-color) / 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.store-info p {
    color: hsl(var(--text-secondary));
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.store-info i {
    color: hsl(var(--success-color));
}

@media (max-width: 768px) {
    .prints-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .print-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    

}

/* Book a Presentation Section */
.book-presentation-section {
    background: white;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.presentation-info h3 {
    color: black;
    margin-bottom: 1.5rem;
    font-family: var(--font-subheading);
}

.presentation-info p {
    color: black;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.presentation-includes {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.presentation-includes li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: black;
    font-size: 1rem;
}

.presentation-includes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: hsl(var(--primary-color));
    font-weight: bold;
    font-size: 1.2rem;
}

.presentation-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.presentation-features .feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.presentation-features .feature i {
    color: hsl(var(--primary-color));
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.presentation-features .feature h4 {
    color: black;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.presentation-features .feature p {
    color: black;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.booking-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.booking-info h4 {
    color: black;
    margin-bottom: 1rem;
    font-family: var(--font-subheading);
}

.booking-info ul {
    list-style: none;
    padding-left: 0;
}

.booking-info li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: black;
}

.booking-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(var(--success-color));
    font-weight: bold;
}

.availability-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.availability-info h4 {
    color: black;
    margin-bottom: 1rem;
    font-family: var(--font-subheading);
}

.availability-info p {
    color: black;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.presentation-gallery {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.presentation-gallery h4 {
    color: black;
    margin-bottom: 1.5rem;
    font-family: var(--font-subheading);
}

.presentation-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.presentation-image {
    text-align: center;
}

.presentation-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.presentation-image .image-caption {
    margin-top: 0.75rem;
    color: hsl(var(--text-primary));
    font-style: italic;
    font-family: var(--font-caption);
    font-size: 0.9rem;
}

.contact-presentation .contact-form-container {
    background: white;
}

@media (max-width: 768px) {
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .presentation-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .presentation-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Footer */
.footer {
    background: hsl(var(--text-primary));
    color: hsl(var(--text-light));
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: hsl(var(--text-light));
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: hsl(var(--primary-color));
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsl(var(--primary-color));
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px hsl(var(--primary-color) / 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--text-secondary));
    color: hsl(var(--text-secondary));
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --font-size-base: 14px;
    }
    
    /* Reduce animations on mobile for better performance */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Optimize images for mobile */
    img {
        image-rendering: auto;
        image-rendering: crisp-edges;
        image-rendering: -webkit-optimize-contrast;
    }
    
    /* Reduce GPU usage */
    .hero-section,
    .about-section,
    .gallery-section,
    .my-story-section,
    .contact-section {
        transform: none;
        will-change: auto;
    }
    
    /* Touch device optimizations */
    .touch-device button,
    .touch-device .clickable-image,
    .touch-device .nav-link {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
    
    .touch-active {
        transform: scale(0.98);
        opacity: 0.8;
    }
    
    /* Image loading states */
    img.loading {
        opacity: 0.5;
        filter: blur(2px);
    }
    
    img.loaded {
        opacity: 1;
        filter: none;
        transition: opacity 0.3s ease, filter 0.3s ease;
    }
    
    /* Reduced motion preferences */
    .reduce-motion * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Gallery mobile layout */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-main-image,
    .gallery-image {
        height: 200px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: #c1a37d;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition-smooth);
        box-shadow: 0 4px 20px hsl(var(--text-primary) / 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: calc(var(--navbar-height) + 2rem) 0 2rem;
    }
    
    .hero-image {
        padding-left: 0;
        padding-top: 2rem;
        width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .main-piece {
        grid-row: span 1;
    }
    
    .features {
        gap: 1.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .church-connection,
    .purchase-info,
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .availability-notice {
        justify-content: center;
        width: 100%;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

/* Loading and Animation States */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: hsl(var(--error-color));
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: hsl(var(--success-color));
}

.error-message {
    color: hsl(var(--error-color));
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar,
    .contact-form-container,
    .social-links,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section,
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
}

/* Inspiration Page Styles */
.inspiration-page {
    padding-top: var(--navbar-height);
}

.inspiration-hero {
    background: linear-gradient(135deg, hsl(var(--background-light)), hsl(var(--background-light) / 0.9));
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-header .hero-description {
    font-size: 1.2rem;
    color: hsl(var(--text-primary));
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.historical-context {
    background: white;
    padding: 5rem 0;
}

.historical-context h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: hsl(var(--text-primary));
    margin-bottom: 2rem;
    text-align: center;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
}

.inspiration-gallery {
    background: hsl(var(--background-light));
    padding: 5rem 0;
}

.inspiration-gallery h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: hsl(var(--text-primary));
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

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

.gallery-item .image-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: hsl(var(--border-color));
    color: hsl(var(--text-secondary));
}

.gallery-item .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.image-caption {
    padding: 1.5rem;
}

.image-caption h4 {
    font-family: var(--font-subheading);
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.image-caption p {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
    font-size: 0.95rem;
}

.significance {
    background: white;
    padding: 5rem 0;
}

.significance h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: hsl(var(--text-primary));
    text-align: center;
    margin-bottom: 3rem;
}

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

.significance-item {
    text-align: center;
    padding: 2rem;
    background: hsl(var(--background-light));
    border-radius: 12px;
}

.significance-item i {
    font-size: 3rem;
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.significance-item h3 {
    font-family: var(--font-subheading);
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.significance-item p {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

.museum-notice {
    background: hsl(var(--primary-color) / 0.05);
    padding: 4rem 0;
    border-top: 2px solid hsl(var(--primary-color) / 0.2);
    border-bottom: 2px solid hsl(var(--primary-color) / 0.2);
}

.notice-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.notice-content h2 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
}

.notice-content p {
    font-size: 1.1rem;
    color: hsl(var(--text-primary));
    line-height: 1.7;
    margin-bottom: 2rem;
}

.museum-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: hsl(var(--primary-color));
}

.info-item i {
    font-size: 1.2rem;
}

.inspiration-cta {
    background: hsl(var(--background-light));
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: hsl(var(--text-primary));
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: hsl(var(--text-primary));
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: hsl(var(--primary-color));
    border: 2px solid hsl(var(--primary-color));
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: hsl(var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Inspiration Page */
@media (max-width: 768px) {
    .inspiration-hero {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .historical-context,
    .inspiration-gallery,
    .significance,
    .museum-notice,
    .inspiration-cta {
        padding: 3rem 0;
    }
    
    .notice-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .notice-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .museum-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .significance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Upload Page Styles */
.upload-section {
    padding: 4rem 0;
    background: white;
}

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

.upload-item {
    background: hsl(var(--background-light));
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.upload-item h3 {
    font-family: var(--font-subheading);
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.upload-area {
    margin-bottom: 1.5rem;
}

.upload-placeholder {
    background: white;
    border: 2px dashed hsl(var(--primary-color) / 0.3);
    border-radius: 8px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-placeholder:hover {
    border-color: hsl(var(--primary-color) / 0.6);
    background: hsl(var(--primary-color) / 0.05);
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
}

.upload-placeholder p {
    color: hsl(var(--text-secondary));
    margin: 0;
}

.upload-actions {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid hsl(var(--border-color));
}

/* Direct Contact Styles */
.contact-direct-container,
.presentation-contact-direct {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-direct h3,
.presentation-contact-direct h3 {
    color: black;
    margin-bottom: 1rem;
    font-family: var(--font-subheading);
}

.contact-direct p,
.presentation-contact-direct p {
    color: black;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-actions,
.presentation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: center;
}

.email-btn.btn-primary {
    background: hsl(var(--primary-color));
    color: white;
}

.email-btn.btn-primary:hover {
    background: hsl(var(--primary-color-dark));
    transform: translateY(-2px);
}

.email-btn.btn-secondary {
    background: transparent;
    color: hsl(var(--primary-color));
    border: 2px solid hsl(var(--primary-color));
}

.email-btn.btn-secondary:hover {
    background: hsl(var(--primary-color));
    color: white;
}

.contact-note,
.presentation-contact-info {
    background: hsl(var(--background-secondary));
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1.5rem;
}

.contact-note p,
.presentation-contact-info p {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.contact-note p:last-child,
.presentation-contact-info p:last-child {
    margin-bottom: 0;
}

.contact-note a,
.presentation-contact-info a {
    color: hsl(var(--primary-color));
    text-decoration: none;
}

.contact-note a:hover,
.presentation-contact-info a:hover {
    text-decoration: underline;
}

.presentation-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: hsl(var(--background-secondary));
    border-radius: 5px;
}

.presentation-details h4 {
    color: black;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.presentation-details ul {
    list-style: none;
    padding-left: 0;
}

.presentation-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.presentation-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: hsl(var(--primary-color));
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact-actions,
    .presentation-actions {
        flex-direction: column;
    }
    
    .contact-direct-container,
    .presentation-contact-direct {
        padding: 1.5rem;
    }
}

/* Email Copy Section Styles */
.email-copy-section {
    margin-top: 1.5rem;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: hsl(var(--background-secondary));
    border-radius: 8px;
    border: 2px solid hsl(var(--primary-color) / 0.2);
}

.email-copyable {
    font-family: monospace;
    font-size: 1.1rem;
    color: hsl(var(--primary-color));
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid hsl(var(--primary-color) / 0.3);
}

.email-copyable:hover {
    background: hsl(var(--primary-color) / 0.05);
    border-color: hsl(var(--primary-color));
}

.copy-btn {
    background: hsl(var(--primary-color));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: hsl(var(--primary-color-dark));
    transform: translateY(-1px);
}

.copy-btn.small {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

.email-templates {
    margin-top: 2rem;
}

.email-templates h4 {
    color: black;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.template-section {
    margin-bottom: 2rem;
}

.template-section h5 {
    color: hsl(var(--primary-color));
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.template-box {
    background: white;
    border: 1px solid hsl(var(--border-color));
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.template-box p {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.template-text,
.template-text-2 {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid hsl(var(--border-color));
    border-radius: 4px;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    cursor: pointer;
    background: hsl(var(--background-light));
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.template-text:hover,
.template-text-2:hover {
    background: hsl(var(--background-secondary));
    border-color: hsl(var(--primary-color) / 0.5);
}

.email-address {
    font-family: monospace;
    color: hsl(var(--primary-color));
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.email-address:hover {
    color: hsl(var(--primary-color-dark));
}

.copy-hint {
    display: block;
    color: hsl(var(--text-secondary));
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .email-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .email-copyable {
        font-size: 1rem;
        word-break: break-all;
    }
    
    .template-text,
    .template-text-2 {
        font-size: 0.8rem;
    }
}
