/* Custom Styles for Toscanos Upholstery */

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

/* Pattern Grid for Process Section */
.pattern-grid-lg {
    background-image: linear-gradient(to right, #ffffff 1px, transparent 1px),
                      linear-gradient(to bottom, #ffffff 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Animations */
.hero-anim {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-anim:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-anim:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-anim:nth-child(4) {
    animation-delay: 0.3s;
}

.hero-img-anim {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-anim,
    .hero-img-anim,
    .scroll-reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #FDFBF7;
}

::-webkit-scrollbar-thumb {
    background: #80CBC4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0F172A;
}
