/* Custom styles for Cathedral Pines */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfcfa;
}
::-webkit-scrollbar-thumb {
    background: #b04040;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #943131;
}

/* Selection color */
::selection {
    background: #b04040;
    color: #fdfcfa;
}

/* Nav link transitions */
.nav-link, .mobile-nav-link {
    position: relative;
}
.nav-link::after, .mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .mobile-nav-link:hover::after {
    width: 100%;
}

/* Image hover zoom */
.group:hover img {
    transform: scale(1.05);
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(176, 64, 64, 0.1);
}

/* Button press effect */
button:active, a:active {
    transform: translateY(1px);
}

/* Mobile menu overlay */
#mobile-menu::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    left: 18rem;
    z-index: -1;
}

/* Subtle gold shimmer on hover for CTA */
.bg-burgundy-700:hover {
    box-shadow: 0 4px 20px rgba(176, 64, 64, 0.3);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal, .group:hover img, button, a {
        transition: none;
        animation: none;
    }
    .animate-bounce {
        animation: none;
    }
}
