body {
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #faf9f7; /* Warm off-white with a slight beige undertone */
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    padding: 1rem;
    transition: bottom 0.3s ease-in-out;
}

.gallery-item:hover .overlay {
    bottom: 0;
}

.category-btn {
    transition: color 0.2s ease;
    position: relative;
    padding-left: 0;
}

.category-btn.active {
    color: black;
}

.category-btn:not(.active) {
    color: #666;
}

.category-btn:hover:not(.active) {
    color: black;
}

.social-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    fill: currentColor;
    transition: opacity 0.2s ease;
}

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

@media (max-width: 768px) {
    .mobile-menu {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-menu.open {
        transform: translateX(0);
    }
}

/* New styles for print ordering */
.order-button {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.order-button:hover {
    opacity: 0.9;
}

.mobile-menu {
    z-index: 50;
}

/* Add dark mode styles after existing styles */
.dark {
    background-color: #1a1a1a;
    color: #ffffff;
}

.dark .mobile-menu,
.dark aside {
    background-color: #1a1a1a;
    border-color: #333;
}

.dark .overlay {
    background: rgba(0, 0, 0, 0.65);
    color: white;
}

.dark .category-btn.active {
    color: white;
}

.dark .category-btn:not(.active) {
    color: #999;
}

.dark .category-btn:hover:not(.active) {
    color: white;
}

/* Dark mode toggle button */
.theme-toggle {
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: currentColor;
}

.theme-toggle svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dark .order-button {
    background-color: white;
    color: black;
}

/* Update existing styles */
.dark a:hover {
    color: #fff !important;
}

.dark .text-gray-600 {
    color: #999;
}

.dark .text-gray-600:hover {
    color: #fff;
}

/* Add transition to text colors */
.category-btn,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    transition: color 0.2s ease;
}

/* Add to your existing dark mode styles */
.dark main {
    background-color: #1a1a1a;
    color: white;
}

.dark .overlay h3,
.dark .overlay p {
    color: white;
}

/* Ensure transitions are smooth */
main {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Add to your existing styles */
.artwork-viewer {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
}


.artwork-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artwork-card {
    transition: transform 0.3s ease;
}

.artwork-card:hover {
    transform: translateY(-2px);
}

/* Dark mode adjustments */
.dark .artwork-card {
    background-color: #1a1a1a;
}

/* Ensure images don't overflow */
img {
    max-height: 80vh;
    width: auto;
}

.gallery-item img {
    transition: transform 0.3s ease-out;
}

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

.overlay {
    backdrop-filter: blur(4px);
    background: rgba(239, 239, 239, 0.65);
}

/* Remove white backgrounds */
img {
    background: transparent !important;
}

/* Smooth page transitions */
.page-transition {
    transition: opacity 0.3s ease-in-out;
}

/* Optional: Add some animation to the gallery items */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-item {
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

.overlay h3,
.overlay p {
    color: black;
} 