:root {
    --primary: #31748f;
    --primary-dark: #286476;
    --primary-light: #cbe0e8;
    --secondary: #ebbcba;
    --accent: #f6c177;
    --dark: #191724;
    --light: #f5f0eb;
    --purple: #c4a7e7;
    --purple-light: #e5d5f5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
}

.hidden { display: none; }

.nav-desktop { display: flex; }
.nav-mobile-btn { display: none; }

@media (max-width: 767px) {
    .nav-desktop { display: none; }
    .nav-mobile-btn { display: block; }
}

.text-primary { color: var(--primary); }
.bg-primary-700 { background-color: var(--primary); }
.hover\:bg-primary-800:hover { background-color: var(--primary-dark); }
.text-primary-700 { color: var(--primary); }
.text-primary-800 { color: var(--primary-dark); }
.bg-primary-100 { background-color: var(--primary-light); }
.hover\:text-primary-800:hover { color: var(--primary-dark); }
.hover\:bg-primary-50:hover { background-color: rgba(49, 116, 143, 0.05); }
.bg-primary-50 { background-color: rgba(49, 116, 143, 0.05); }

.text-rosepine-900 { color: #ebbcba; }
.text-rosepine-800 { color: #c4a7e7; }
.text-rosepine-700 { color: #9ccfd8; }
.text-rosepine-200 { color: #e0def4; }
.text-rosepine-100 { color: #f5f0eb; }
.bg-rosepine-800 { background-color: #1f1d2e; }
.bg-rosepine-100 { background-color: #e5d5f5; }
.border-rosepine-500 { border-color: #c4a7e7; }
.hover\:text-rosepine-900:hover { color: #ebbcba; }
.bg-rosepine-900 { background-color: #191724; }
.bg-opacity-30 { opacity: 0.3; }
.bg-gradient-community { background: linear-gradient(135deg, #1f1d2e, #31748f); }

.brand-font {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.artwork-card {
    overflow: hidden;
    border-radius: 12px;
}
.artwork-card img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.artwork-card:hover img { transform: scale(1.06); }

.gallery-card { transition: transform 0.3s ease; }
.gallery-card:hover { transform: translateY(-4px); }
.gallery-card.hidden { display: none; }

.gallery-filter-btn {
    padding: 0.5rem 1.25rem;
    margin: 0 0.25rem;
    border-radius: 9999px;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    color: #fff;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    padding: 1rem;
}
.lightbox-overlay.open { display: flex; }

.lightbox-content {
    max-width: 92%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
    z-index: 10;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-filter-bar {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.lightbox-filter-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.lightbox-filter-btn:hover { background: rgba(255, 255, 255, 0.2); }

.community-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 240, 255, 0.92));
    backdrop-filter: blur(10px);
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 8rem;
    width: auto;
}
.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.testimonial-card { transition: opacity 0.4s ease, visibility 0.4s ease; }

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    background: var(--purple-light);
}
.testimonial-indicator.active { background: var(--purple); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; }
.fade-in.visible { animation: fadeInUp 0.5s ease forwards; }

@media (max-width: 767px) {
    .artwork-card img { height: 200px; }
    .gallery-filter-btn { padding: 0.4rem 0.9rem; font-size: 0.85rem; margin: 0.15rem; }
    .lightbox-content { max-width: 98%; max-height: 70vh; }
    .partner-logo { max-height: 5rem; }
}

.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

@media (min-width: 768px) {
    .mobile-menu { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .artwork-card img { height: 220px; }
    .partner-logo { max-height: 6rem; }
}
