/* Custom styles to complement Tailwind */
html {
    scroll-behavior: smooth;
}

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

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

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

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

/* Reveal animation classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll state */
header.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile menu animations */
#bar1.open {
    transform: rotate(45deg) translate(5px, 5px);
}

#bar2.open {
    opacity: 0;
}

#bar3.open {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Geometric decorations */
.geo-shape {
    position: absolute;
    z-index: 0;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

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