/* Custom styles for Art Interest */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom focus styles */
*:focus {
    outline: 2px solid #57534e;
    outline-offset: 2px;
}

/* Enhanced typography */
.prose-marble {
    --tw-prose-body: #44403c;
    --tw-prose-headings: #1c1917;
    --tw-prose-lead: #57534e;
    --tw-prose-links: #1c1917;
    --tw-prose-bold: #1c1917;
    --tw-prose-counters: #78716c;
    --tw-prose-bullets: #a8a29e;
    --tw-prose-hr: #e7e5e4;
    --tw-prose-quotes: #1c1917;
    --tw-prose-quote-borders: #e7e5e4;
    --tw-prose-captions: #78716c;
    --tw-prose-code: #1c1917;
    --tw-prose-pre-code: #e7e5e4;
    --tw-prose-pre-bg: #1c1917;
    --tw-prose-th-borders: #d6d3d1;
    --tw-prose-td-borders: #e7e5e4;
}

/* Navigation active state */
.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1c1917;
}

/* Form enhancements */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.1);
    border-color: #57534e;
    outline: none;
}

/* Button hover animations */
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Loading animation for form submission */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Parallax and smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .scroll-smooth {
        scroll-behavior: smooth;
    }
    
    .animate-fade-in {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeIn 0.6s ease-out forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Print styles */
@media print {
    nav,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-marble-600 {
        color: #000;
    }
    
    .bg-marble-100 {
        background-color: #fff;
    }
    
    .border-marble-200 {
        border-color: #000;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles would go here */
}