/* Custom Styles for Sleepy Hollow Studios */

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

/* Base Typography Adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Animations */
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-tagline {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-headline {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-subhead {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* Hero Images Animation */
#hero-img-1 {
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 0.5s;
}

#hero-img-2 {
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 0.7s;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile Menu Transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9A3D2A;
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    border-bottom-width: 2px;
    padding-bottom: 1px;
}

/* Mobile Menu Link Hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #C05640;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}
