/* Custom Styles for Escalante Stone */

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

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

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

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

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

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

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

/* Stagger Animation Delays */
.reveal-text:nth-child(1) { transition-delay: 0.1s; }
.reveal-text:nth-child(2) { transition-delay: 0.2s; }
.reveal-text:nth-child(3) { transition-delay: 0.3s; }
.reveal-text:nth-child(4) { transition-delay: 0.4s; }

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects for Cards */
.group:hover .group-hover\:bg-coral\/20 {
    background-color: rgba(255, 107, 107, 0.2);
}

.group:hover .group-hover\:bg-gold\/20 {
    background-color: rgba(212, 175, 55, 0.2);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 2rem;
    }
}

/* Focus States for Accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FF6B6B !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Parallax Effect for Hero */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@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;
    }
}
