/* Custom Styles for Rivera's Guttering Company */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f0f0f;
    color: #d1d5db;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

p, li, a, span, input, textarea, select {
    font-family: 'Manrope', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

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

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

.reveal-on-scroll.delay-100 {
    transition-delay: 0.1s;
}

.reveal-on-scroll.delay-200 {
    transition-delay: 0.2s;
}

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

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

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

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

/* Form Focus Styles */
input:focus, textarea:focus, select:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

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

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

#mobile-menu.closed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .reveal-on-scroll,
    img,
    button,
    a {
        animation: none !important;
        transition: none !important;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
}
