/* 
   Gallery Core CSS - Layout, Typography, and Structure
   NO colors, backgrounds, or theming - those go in gallery-theme.css
   
   This file contains:
   - Typography and font hierarchies
   - Layout grids and flexbox
   - Spacing and sizing
   - Base component structure
*/

/* =================================
   TYPOGRAPHY & TEXT HIERARCHY
   ================================= */

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}

h1 { font-size: 2.5rem; letter-spacing: 1px; }
h2 { font-size: 2rem; letter-spacing: 1px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-weight-normal { font-weight: normal; }
.font-weight-bold { font-weight: bold; }
.font-weight-600 { font-weight: 600; }

.font-italic { font-style: italic; }

.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }

.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-half { letter-spacing: 0.5px; }

/* =================================
   LAYOUT SYSTEMS
   ================================= */

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Systems */
.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid-5 { grid-template-columns: repeat(5, 1fr); }

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

.gallery-grid-auto-small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-grid-auto-large {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow-1 { flex-grow: 1; }

/* =================================
   SPACING SYSTEM
   ================================= */

/* Margin Utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 2rem; }
.m-6 { margin: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 1rem; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }

/* Padding Utilities */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }
.p-6 { padding: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 2rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 2rem; }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 0.25rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-3 { padding-left: 1rem; }
.pl-4 { padding-left: 1.5rem; }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 0.25rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 1rem; }
.pr-4 { padding-right: 1.5rem; }

/* =================================
   CARD & CONTAINER STRUCTURE
   ================================= */

/* Base Card Structure */
.card-base {
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-padding { padding: 20px; }
.card-padding-small { padding: 15px; }
.card-padding-large { padding: 30px; }

/* =================================
   GALLERY BROWSE - THUMBNAIL GRID
   ================================= */

/* Main Gallery Container */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Gallery Image Cards - Browse View */
.gallery .image-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: auto; /* Allow natural height */
}

.gallery .image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Gallery Image Link Container */
.gallery .image-link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Don't shrink the image area */
}

/* Gallery Thumbnail Images */
.gallery .image-link img {
    width: 100%;
    height: 200px; /* Fixed height for consistent grid */
    object-fit: contain; /* Contain to show full thumbnails */
    transition: transform 0.3s;
    display: block;
}

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

/* Gallery Image Info - Below Image */
.gallery .image-info {
    padding: 15px;
    flex-grow: 1; /* Take remaining space */
    display: flex;
    flex-direction: column;
}

/* Alternative: Landing Page Cards (larger, contain images) */
.landing-image-card,
.preview-card,
.thumbnail-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.landing-image-card:hover,
.preview-card:hover,
.thumbnail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.landing-image-card img,
.preview-card img,
.thumbnail-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain for landing page cards */
    transition: transform 0.3s ease;
}

.landing-image-card:hover img,
.preview-card:hover img,
.thumbnail-card:hover img {
    transform: scale(1.02);
}

/* Image Info for Landing Cards */
.landing-image-card .image-info,
.preview-card .image-info,
.thumbnail-card .image-info {
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.image-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-link {
    text-decoration: none;
    flex: 1;
    transition: all 0.3s ease;
}

.image-metadata {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* =================================
   LANDING PAGE LAYOUT COMPONENTS
   ================================= */

/* Main Content Container */
.landing-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

/* Preview Grid (Visitor Version) */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* Thumbnail Grids (Logged-In Version) */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Image placeholder structure */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    text-align: center;
    font-family: 'Georgia', serif;
}

/* Preview overlay structure */
.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 10px;
    font-size: 0.9rem;
    font-family: 'Georgia', serif;
}

.preview-category {
    opacity: 0.8;
    font-size: 0.8rem;
}

/* Thumbnail info structure */
.thumbnail-info {
    padding: 12px;
}

.thumbnail-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-family: 'Georgia', serif;
}

.thumbnail-meta {
    font-size: 0.8rem;
    font-family: 'Georgia', serif;
}

/* Indicator positioning */
.new-indicator,
.favorite-indicator {
    position: absolute;
    top: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
}

.new-indicator {
    left: 8px;
}

.favorite-indicator {
    right: 8px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* =================================
   QUICK ACTIONS SECTION
   ================================= */

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-card {
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.action-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Georgia', serif;
}

.action-description {
    font-size: 0.8rem;
    font-family: 'Georgia', serif;
}

/* =================================
   VALUE PROPOSITION SECTION
   ================================= */

.value-section {
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.value-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Georgia', serif;
}

.value-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.value-point {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.value-point h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Georgia', serif;
}

.value-point p {
    line-height: 1.5;
    font-family: 'Georgia', serif;
}

/* =================================
   CONVERSION PROMPT SECTION
   ================================= */

.conversion-prompt {
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.prompt-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Landing page specific buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Georgia', serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    padding: 10px 28px;
    border: 2px solid;
}

/* =================================
   ANNOUNCEMENTS BAR
   ================================= */

.announcements-bar {
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0;
    font-family: 'Georgia', serif;
}

.announcement-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
}

.announcement-icon {
    font-size: 1.1em;
}

.announcement-date {
    font-size: 0.9em;
    opacity: 0.8;
    margin-left: 10px;
}

.notification-announcement {
    padding: 8px 12px;
    border-radius: 6px;
    margin: 4px 0;
}

/* =================================
   HERO INTEGRATION COMPONENTS
   ================================= */

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

.welcome-back {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.hero-subtitle,
.last-visit {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.hero-updates {
    margin: 20px auto;
    max-width: 700px;
    text-align: left;
}

.hero-update-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    padding: 0;
}

.update-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.update-text {
    flex-grow: 1;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    line-height: 1.3;
}

.update-action {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 8px;
    font-family: 'Georgia', serif;
}

.update-action:hover {
    text-decoration: underline;
}

.hero-actions {
    margin-top: 20px;
    text-align: center;
}

.hero-action-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.hero-action-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.action-separator {
    margin: 0 12px;
    opacity: 0.6;
}

/* =================================
   FEATURED FAVORITE SECTION
   ================================= */

.featured-favorite-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.favorite-popularity {
    font-size: 0.85rem;
    font-style: italic;
    font-family: 'Georgia', serif;
}

/* =================================
   STATUS MESSAGE STRUCTURE
   ================================= */

.status-message {
    padding: 12px 0;
    margin-bottom: 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    border: 2px solid transparent;
    position: relative;
    z-index: 10;
}

.status-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.status-icon {
    flex-shrink: 0;
    font-size: 16px;
}

.status-text {
    flex-grow: 1;
    text-align: center;
    font-weight: 500;
}

.status-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    flex-shrink: 0;
    border-radius: 50%;
    transition: opacity 0.2s ease;
}

.status-close:hover {
    opacity: 1;
}

/* =================================
   QUEUE STATUS & PROCESSING
   ================================= */

.art-drop-queue-status {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'Georgia', serif;
}

.queue-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.queue-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.queue-main {
    font-weight: 600;
    font-size: 1rem;
}

.queue-detail {
    font-size: 0.875rem;
    opacity: 0.85;
}

.queue-estimate {
    text-align: right;
    flex-shrink: 0;
}

.estimate-text {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

/* Dynamic Queue Info Display */
.queue-info-display {
    border-radius: 6px;
    padding: 10px 12px;
    margin: 12px 0 8px 0;
    text-align: center;
}

.queue-stats {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.queue-number {
    font-weight: 600;
    font-size: 0.9rem;
}

/* =================================
   CONVERSION BANNER STRUCTURE
   ================================= */

.conversion-banner {
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0 30px 0;
    text-align: center;
}

.conversion-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-family: 'Georgia', serif;
}

.conversion-content p {
    opacity: 0.95;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Georgia', serif;
}

.conversion-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* No Results Display */
.no-results {
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.no-results p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.8;
}

/* =================================
   NAVIGATION STRUCTURE
   ================================= */

/* Breadcrumbs */
.gallery-breadcrumbs {
    font-size: 13px;
    padding: 8px 0;
    font-family: 'Georgia', serif;
}

.breadcrumb-link {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.breadcrumb-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb-separator {
    opacity: 0.6;
    margin: 0 8px;
    font-weight: normal;
}

.breadcrumb-current {
    font-weight: 500;
    opacity: 1;
}

/* Navigation Buttons */
.navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    margin: 30px 0;
    align-items: center;
}

.nav-btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.nav-btn.prev { justify-self: start; }
.nav-btn.center { justify-self: center; }
.nav-btn.next { justify-self: end; }

.nav-btn.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.nav-btn.disabled:hover {
    transform: none;
}

/* =================================
   PAGINATION STRUCTURE
   ================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-family: 'Georgia', serif;
    border: 1px solid transparent;
    min-width: 44px;
    text-align: center;
}

.page-btn:hover {
    text-decoration: none;
}

.page-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.page-btn.disabled:hover {
    transform: none;
}

.page-btn.first-last {
    padding: 10px 12px;
    font-size: 0.9rem;
    min-width: auto;
}

.page-btn.current {
    font-weight: 600;
}

/* =================================
   BUTTON STRUCTURE
   ================================= */

.btn,
.gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    border: 2px solid transparent;
    min-height: 44px;
    gap: 8px;
}

.btn:hover,
.gallery-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn:active,
.gallery-button:active {
    transform: translateY(0);
}

.btn:disabled,
.gallery-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* Button Sizes */
.btn-small { 
    padding: 8px 16px; 
    font-size: 0.875rem; 
    min-height: 36px;
}

.btn-large { 
    padding: 16px 32px; 
    font-size: 1.125rem; 
    min-height: 52px;
}

/* Button Groups */
.btn-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-group-vertical {
    flex-direction: column;
}

/* =================================
   FORM STRUCTURE
   ================================= */

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-control:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.form-help {
    font-size: 0.875rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* Form Layouts */
.form-row {
    display: flex;
    gap: 15px;
    align-items: end;
}

.form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* =================================
   SECTION STRUCTURE
   ================================= */

.section {
    padding: 40px 0;
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: normal;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    flex: 1;
}

.section-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    font-family: 'Georgia', serif;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.section-action {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.section-action:hover {
    text-decoration: underline;
}

/* =================================
   HERO STRUCTURE
   ================================= */

.landing-hero {
    text-align: center;
    border-radius: 12px;
    margin: 20px auto 40px auto;
    max-width: 1200px;
    padding: 25px 30px;
    transition: all 0.3s ease;
}

.landing-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.hero-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    opacity: 0.9;
}

/* =================================
   FEATURED ARTWORK STRUCTURE
   ================================= */

.featured-artwork {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.featured-image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 25px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-image-container:hover {
    transform: scale(1.02);
}

.featured-image-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.featured-content {
    width: 100%;
    text-align: center;
    margin: 0;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.featured-meta {
    font-size: 1.1rem;
    margin: 0 0 25px 0;
}

.featured-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* =================================
   LOADING AND ERROR STATES
   ================================= */

.loading-state,
.empty-state {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Georgia', serif;
}

.error-banner {
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
    font-family: 'Georgia', serif;
}

/* =================================
   UTILITY CLASSES
   ================================= */

/* Visibility */
.hidden { display: none; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Z-index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-1000 { z-index: 1000; }
.z-2000 { z-index: 2000; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }

/* Border Radius */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 4px; }
.rounded { border-radius: 6px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 10px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 50%; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Transitions */
.transition-all { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }
.transition-none { transition: none; }

/* Transform */
.transform { transform: translateZ(0); } /* Enable hardware acceleration */
.scale-105:hover { transform: scale(1.05); }
.scale-110:hover { transform: scale(1.1); }
.translate-y-1:hover { transform: translateY(-4px); }
.translate-y-2:hover { transform: translateY(-8px); }

/* Box Shadow */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); }
.shadow-xl { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }

/* =================================
   ASPECT RATIOS
   ================================= */

.aspect-square { aspect-ratio: 1/1; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-photo { aspect-ratio: 3/4; }
.aspect-landscape { aspect-ratio: 4/3; }
.aspect-wide { aspect-ratio: 21/9; }

/* =================================
   LIST STYLES
   ================================= */

.list-none { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

/* =================================
   ACCESSIBILITY
   ================================= */

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.focus-outline:focus {
    outline: 2px solid;
    outline-offset: 2px;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 100000;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.skip-link:focus {
    top: 6px;
}

.