/* Custom Styles for Spoderman */

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

/* Clip Path for Hero */
.clip-path-slant {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Typography Adjustments */
h1, h2, h3, h4, .font-serif {
    letter-spacing: -0.02em;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F9F7F2;
}
::-webkit-scrollbar-thumb {
    background: #1A4D3E;
}
::-webkit-scrollbar-thumb:hover {
    background: #0F2B23;
}

/* Animation Utilities */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-up.visible,
.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

/* Form Focus States */
input:focus, textarea:focus {
    background-color: #F9F7F2;
}
