/* Custom styles for D'Vinci Painting */

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

/* Prevent flash of hidden content - all content visible by default */
/* JS will add animation classes progressively */

/* Hero animations - only for above-fold, no opacity:0 gate */
.hero-anim {
    opacity: 1;
    transform: translateY(0);
}

/* Float animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Section animations - progressive enhancement, hidden by default via JS */
.section-anim {
    /* Default state: visible (no JS required) */
    opacity: 1;
    transform: translateY(0);
}

/* Only animate when JS enables it */
@media (prefers-reduced-motion: no-preference) {
    .section-anim.animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .section-anim.animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }
    
    .section-anim.animate-on-scroll.delay-1 {
        transition-delay: 0.1s;
    }
    
    .section-anim.animate-on-scroll.delay-2 {
        transition-delay: 0.2s;
    }
    
    .section-anim.animate-on-scroll.delay-3 {
        transition-delay: 0.3s;
    }
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3a3c43;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B4A;
}

/* Selection color */
::selection {
    background: #FF6B4A;
    color: white;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #FF6B4A !important;
    box-shadow: 0 0 0 1px #FF6B4A;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #2D2D2D 25%, #3a3c43 50%, #2D2D2D 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position
