﻿/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a4d6d;
    --secondary-blue: #2e7d9f;
    --accent-gold: #fdebbe;
    --dark-navy: #2c303b;
    --text-dark: #2c3e50;
    --text-light: #595959;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --border: #dee2e6;
    --success: #1e7a1e;
    --danger: #dc3545;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-large: 0 8px 32px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== LOADING STATES ===== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    z-index: 10;
}

button.loading {
    color: transparent;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--dark-navy);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1); 
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-large);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;  /* adjust this to your logo size */
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-gold);
}

.favourites-link,
.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-gold);
    transition: var(--transition);
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

/* ===== SHOPPING CART & FAVOURITES BADGES ===== */
.cart-badge,
.fav-count {
    background: var(--accent-gold);
    color: var(--dark-navy);
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0 0.35rem;
}

.cart-badge.has-items {
    animation: cartPulse 0.3s ease-out;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ===== HERO SECTION WITH KEN BURNS EFFECT ===== */
.hero {
    width: 100%;
    background: var(--background-light);
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-image.ken-burns {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

.hero-placeholder span {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 1rem;
    opacity: 0.8;
}

/* ===== QUOTE BANNER ===== */
.quote-banner {
    background: #374151;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1); 
}

.quote-banner blockquote {
    margin: 0;
}

.quote-banner p {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.quote-banner cite {
    font-size: 1rem;
    opacity: 0.9;
    font-style: normal;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 4rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

.featured-painting {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.featured-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.featured-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: var(--transition);
}

.featured-image-placeholder:hover {
    transform: scale(1.02);
}

.featured-image-placeholder:hover::after {
    background: rgba(0,0,0,0.1);
}

.featured-image-placeholder span {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.featured-info {
    padding: 1rem 0;
}

.painting-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.painting-details {
    margin-bottom: 1.5rem;
    background: var(--background-light);
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-blue);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-value {
    color: var(--text-light);
}

.painting-description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.description-main {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.description-featured {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 5px;
    margin-top: 1rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.installment-info {
    font-size: 0.85rem;
    color: var(--text-light);
}

.availability {
    color: var(--success);
    font-weight: 600;
    white-space: nowrap;
}

.featured-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.buy-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.buy-button:hover:not(:disabled) {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.buy-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.inquiry-button {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.inquiry-button:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.secondary-button {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.secondary-button:hover {
    background: var(--background-light);
    transform: translateY(-2px);
}

.secondary-button.in-wishlist {
    background: var(--primary-blue);
    color: white;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.gallery-header {
    margin-bottom: 2rem;
}

.gallery-header-left h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.gallery-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.result-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.favourites-toggle-btn,
.share-favourites-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.favourites-toggle-btn:hover,
.share-favourites-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.favourites-toggle-btn.active {
    background: var(--primary-blue);
    color: white;
}

.share-icon {
    font-size: 1.1rem;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    margin-bottom: 1.5rem;
}

#search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
}

#search-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 77, 109, 0.1);
}

.search-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.search-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.search-icon {
    font-size: 1.2rem;
}

/* ===== GALLERY CONTROLS ===== */
.gallery-controls {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    align-items: flex-end;
    transition: var(--transition);
}

.gallery-controls:hover {
    box-shadow: var(--shadow-hover);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.control-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.control-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 5px;
    background: white;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.control-group select:hover {
    border-color: var(--primary-blue);
}

.control-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 77, 109, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    min-width: auto;
    flex-direction: row;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.clear-filters-btn {
    background: white;
    color: var(--danger);
    border: 2px solid var(--danger);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
}

.clear-filters-btn:hover {
    background: var(--danger);
    color: white;
    transform: translateY(-2px);
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.gallery-item-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.wishlist-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.wishlist-btn:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-hover);
}

.wishlist-btn.in-wishlist {
    background: #ff6b6b;
}

.gallery-item-image {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.05);
}

.gallery-item-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.gallery-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-image::after {
    background: rgba(0,0,0,0.1);
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
}

.gallery-item-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 5;
}

.original-badge,
.featured-badge,
.fav-count-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.featured-badge {
    background: var(--accent-gold);
    color: var(--dark-navy);
}

.fav-count-badge {
    background: #ff6b6b;
    color: white;
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-title {
    color: var(--primary-blue);
}

.gallery-item-details {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.availability-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.availability-badge.available {
    color: var(--success);
}

.availability-badge.sold {
    color: var(--danger);
}

.gallery-item-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.installment-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ===== PAGINATION ===== */
#pagination-controls {
    margin-top: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    min-width: 44px;
}

.pagination-btn:hover:not(.active) {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination-dots {
    padding: 0 0.5rem;
    color: var(--text-light);
}

/* ===== RECENTLY SOLD SECTION ===== */
.recently-sold-section {
    padding: 4rem 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.recently-sold-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.recently-sold-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.recently-sold-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.recently-sold-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.recently-sold-image {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
}

.sold-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.recently-sold-info {
    padding: 1.5rem;
}

.recently-sold-info h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.recently-sold-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.sold-date {
    font-style: italic;
    color: var(--danger) !important;
}

.sold-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue) !important;
    margin-top: 0.75rem;
}

/* ===== COMMISSIONS SECTION ===== */
.commissions-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-centered h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.commission-showcase {
    margin-bottom: 4rem;
}

.commission-showcase h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
}

/* ===== COMMISSION CAROUSEL ===== */
.commission-carousel {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-hover);
}

.carousel-main {
    position: relative;
    margin-bottom: 1.5rem;
}

.carousel-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.commission-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.commission-details h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.commission-details p {
    color: var(--text-dark);
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot:hover,
.carousel-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.15);
    background: var(--secondary-blue);
}

.process-step h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.process-step p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-duration {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.commission-info-box {
    background: var(--primary-blue);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
    margin: 3rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-hover);
}

.commission-info-box:hover {
    transform: scale(1.02);
}

.commission-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.commission-info-box ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.commission-info-box li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.commission-info-box li:last-child {
    border-bottom: none;
}

.commission-note {
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
}

.commission-cta {
    text-align: center;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 4rem 0;
    background: var(--background);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.testimonial-card:hover .testimonial-stars {
    transform: scale(1.1);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.testimonial-painting {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    
}
.about-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.about-image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.about-image-placeholder span {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-details {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.about-details h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.about-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.about-details li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    transition: var(--transition);
}

.about-details li:hover {
    transform: translateX(5px);
}

.about-details li:before {
    content: "◆ ";
    color: var(--accent-gold);
    font-weight: bold;
    margin-right: 0.5rem;
}

.text-link-button {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.75rem 0;
    display: inline-block;
}

.text-link-button:hover {
    color: var(--secondary-blue);
    transform: translateX(5px);
}

.about-cta {
    margin-top: 2rem;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1rem;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    transform: scale(1.02);
    outline: 3px solid var(--accent-gold);
}

.newsletter-form button {
    background: var(--accent-gold);
    color: var(--dark-navy);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #fde89e;
    transform: translateY(-2px);
}

.newsletter-privacy {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ===== LATEST NEWS SECTION ===== */
.latest-news-section {
    padding: 4rem 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.latest-news-section .section-header-centered {
    margin-bottom: 3rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Post Card */
.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.post-card-image {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-date {
    color: var(--text-light);
}

.post-category {
    color: var(--primary-blue);
    font-weight: 600;
}

.post-card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-read-more {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-read-more:hover {
    background: var(--secondary-blue);
}

/* ===== MODAL STYLES ===== */
.post-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.post-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
}

.modal-content {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    border-radius: 8px;
    z-index: 10002;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10003;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.modal-close:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    width: 100%;
}

/* Modal Post Content */
.modal-post .post-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.modal-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-post .post-content {
    padding: 2.5rem;
    width: 100%; 
    box-sizing: border-box; 
    width: 100%;
}

.modal-post .post-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.modal-post .post-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-post .post-text {
    line-height: 1.8;
    margin-bottom: 2rem;
     max-width: 100%;
}

.modal-post .post-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-post .post-text p:last-child {
    margin-bottom: 0;
}

.modal-post .post-text em {
    display: block;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-blue);
}

.modal-post .post-text ul {
    margin: 1rem 0 1rem 2rem;
    list-style: disc;
}

.modal-post .post-text li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal-post .post-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-author {
    color: var(--text-light);
    font-style: italic;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-card-content {
        padding: 1.5rem;
    }
    
    .post-card-content h3 {
        font-size: 1.25rem;
    }
    
    .modal-content {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
    
    .modal-post .post-content {
        padding: 1.5rem;
    }
    
    .modal-post .post-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 4rem 0;
    background: var(--background);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-method {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-method p {
    color: var(--text-dark);
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-hover);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 77, 109, 0.1);
    transform: scale(1.01);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

.footer-guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2.5rem;
}

.guarantee-item {
    text-align: center;
    transition: var(--transition);
}

.guarantee-item:hover {
    transform: translateY(-5px);
}

.guarantee-item strong {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.guarantee-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    margin: 2% auto;
    max-width: 1000px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-large {
    max-width: 1200px;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

/* ===== MODAL NAVIGATION BUTTONS ===== */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    z-index: 100;  /* Higher z-index */
    line-height: 1;
}

.modal-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 5px;  /* Inside modal, on left edge */
}

.modal-next {
    right: 5px;  /* Inside modal, on right edge */
}

.modal-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
}
.post-modal .modal-body {
    display: block;  /* Remove grid */
    grid-template-columns: none;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    width: 100%;
}

.modal-post {
    width: 100%;
}

.modal-post .post-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.modal-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-post .post-content {
    padding: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.modal-post .post-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.modal-post .post-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-post .post-text {
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 100%;
}

.modal-post .post-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-post .post-text p:last-child {
    margin-bottom: 0;
}

.modal-post .post-text em {
    display: block;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-blue);
}

.modal-post .post-text ul {
    margin: 1rem 0 1rem 2rem;
    list-style: disc;
}

.modal-post .post-text li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal-post .post-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== PAINTING MODAL - IMAGE GALLERY ===== */
.modal-image-section {
    background: var(--background-light);
    padding: 2rem;
}

.modal-main-image {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    cursor: default;
    transition: var(--transition);
}

.zoom-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.zoom-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.zoom-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.modal-image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.image-thumbnail {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 3px solid transparent;
}

.image-thumbnail span {
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.image-thumbnail:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.image-thumbnail.active {
    opacity: 1;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px var(--accent-gold);
}

.modal-info-section {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 80vh;
}

.modal-info-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.modal-featured-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--dark-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.75rem;
    vertical-align: middle;
}

.modal-details {
    margin-bottom: 1.5rem;
    background: var(--background-light);
    padding: 1.25rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-blue);
}

.modal-details p {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}

.modal-details p:last-child {
    margin-bottom: 0;
}

.modal-details strong {
    color: var(--text-dark);
}

.modal-details span {
    color: var(--text-light);
}

.modal-description {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.modal-description-main {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.modal-description-featured {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 5px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.modal-description-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    padding: 0.75rem;
    background: #fff8dc;
    border-left: 3px solid var(--accent-gold);
    border-radius: 5px;
}

.modal-price-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.modal-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.modal-installment {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.modal-availability {
    font-weight: 600;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-actions button {
    width: 100%;
}

/* ===== SIMILAR WORKS SECTION ===== */
.similar-works-section {
    padding: 2rem;
    border-top: 2px solid var(--border);
    background: var(--background-light);
}

.similar-works-section h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.similar-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.similar-work-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.similar-work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.similar-work-image {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.similar-work-info {
    padding: 1rem;
}

.similar-work-info h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.similar-work-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.similar-work-price {
    font-weight: bold;
    color: var(--primary-blue) !important;
    font-size: 1rem !important;
}

/* ===== CART MODAL ===== */
.cart-modal-content {
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid var(--border);
    background: var(--background-light);
}

.cart-header h2 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 2rem;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.cart-empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.cart-empty h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.cart-item:hover {
    background: var(--background-light);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 5px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 90px;
    height: 68px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    box-shadow: var(--shadow);
}

.cart-item-info h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cart-item-details {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.8rem;
    padding: 0.5rem;
    transition: var(--transition);
    line-height: 1;
}

.cart-item-remove:hover {
    color: #c82333;
    transform: scale(1.3) rotate(90deg);
}

.cart-footer {
    padding: 2rem;
    border-top: 2px solid var(--border);
    background: var(--background-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cart-total-amount {
    color: var(--primary-blue);
}

.cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cart-footer button {
    width: 100%;
    margin-bottom: 1rem;
}

.cart-footer button:last-child {
    margin-bottom: 0;
}

/* ===== MINI CART PREVIEW ===== */
.mini-cart-preview {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-large);
    z-index: 2500;
    min-width: 280px;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-cart-preview.show {
    transform: translateX(0);
}

.mini-cart-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-cart-content p {
    color: var(--text-dark);
    margin: 0;
}

.mini-cart-view-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mini-cart-view-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* ===== SIMPLE MODAL BODY (for exhibitions and info) ===== */
.modal-simple-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-simple-body h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* ===== EXHIBITIONS LIST ===== */
.exhibitions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exhibition-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 5px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.exhibition-item:hover {
    background: white;
    border-left-color: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.exhibition-year {
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.exhibition-details strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.exhibition-details p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== INFO MODAL CONTENT ===== */
.info-modal-content {
    line-height: 1.8;
}

.info-modal-content h3 {
    color: var(--primary-blue);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-modal-content h3:first-child {
    margin-top: 0;
}

.info-modal-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-modal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.info-modal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    animation: slideIn 0.3s ease-out;
}

.success-message.show {
    display: block;
}

.success-content {
    background: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-navy);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 2000;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 300px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-accept-btn {
    background: var(--accent-gold);
    color: var(--dark-navy);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept-btn:hover {
    background: #fde89e;
    transform: translateY(-2px);
}

.cookie-learn-more {
    color: white;
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-learn-more:hover {
    color: var(--accent-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .carousel-btn.prev {
        left: -10px;
    }
    
    .carousel-btn.next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    @media (max-width: 768px) {
    .hero-image {
        height: 300px;
        background-image: url('images/site_assets/Hero-mobile.webp') !important;
    }
}

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-navy);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-large);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    .hero-placeholder {
        height: 300px;
        font-size: 1.5rem;
    }

    .featured-painting {
        grid-template-columns: 1fr;
    }
    
    .featured-buttons {
        flex-direction: column;
    }
    
    .featured-buttons button {
        width: 100%;
    }

    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group {
        width: 100%;
        min-width: auto;
    }

    .control-group select {
        width: 100%;
    }
    
    .clear-filters-btn {
        margin-left: 0;
        width: 100%;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .favourites-toggle-btn,
    .share-favourites-btn {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-info-section {
        max-height: none;
    }

    .modal-content {
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .exhibition-item {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .commission-cta {
        flex-direction: column;
    }
    
    .commission-cta a {
        width: 100%;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-accept-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-placeholder {
        font-size: 1.2rem;
        height: 250px;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
    
    .painting-title {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr auto;
    }
    
    .cart-item-image {
        width: 60px;
        height: 45px;
        font-size: 0.6rem;
    }
    
    .modal-image-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .similar-works-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .recently-sold-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .modal,
    .success-message,
    .cookie-consent,
    .mini-cart-preview,
    .wishlist-btn,
    .gallery-controls,
    .pagination,
    button {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .gallery-item,
    .painting-details,
    .modal-details {
        break-inside: avoid;
    }
}
/* Purchase Request Modal */
.purchase-request-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.purchase-summary {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.purchase-summary h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#purchase-request-items {
    margin-bottom: 1rem;
}

.purchase-request-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.purchase-request-item:last-child {
    border-bottom: none;
}

.purchase-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.purchase-note {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff8dc;
    border-left: 3px solid var(--accent-gold);
    border-radius: 5px;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.purchase-form button {
    width: 100%;
}
.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;
}
/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10000;
    font-weight: bold;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}
/* ===== IMAGE PROTECTION ===== */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: auto;
}

/* Prevent selection of background images */
.hero-image,
.about-image,
.featured-image-placeholder,
.gallery-item-image,
.modal-main-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
/* Blog Post Modal Navigation */
.post-modal .modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    z-index: 10003;
    line-height: 1;
    font-weight: 300;
}

.post-modal .modal-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.post-modal .modal-prev {
    left: 20px;
}

.post-modal .modal-next {
    right: 20px;
}

.post-modal .modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.post-modal .modal-nav-btn:disabled:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .post-modal .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .post-modal .modal-prev {
        left: 10px;
    }
    
    .post-modal .modal-next {
        right: 10px;
    }
}