/* Custom Styles for Paul's Service */

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

.animate-fade-in:nth-child(4) {
    animation-delay: 0.6s;
}

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

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

/* Gold Gradient Accent */
.gold-gradient {
    background: linear-gradient(135deg, #C5A059 0%, #B08D4B 50%, #9A7A3D 100%);
}

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Service Card Hover Effects */
.group:hover .group-hover\:translate-y-1 {
    transform: translateY(4px);
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
