/* Custom styles for Lazy C Ranch Moss Creek Lake */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefcfb;
}
::-webkit-scrollbar-thumb {
    background: #f3a8a8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e97070;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #8a2525;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #fce7e7;
    color: #6e1e1e;
}

/* 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button ripple effect on press */
.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* Image hover zoom */
.hero-img-wrap img,
#about img {
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-img-wrap:hover img,
#about:hover img {
    transform: scale(1.03);
}

/* Subtle gradient for CTA */
section.bg-gradient-to-br {
    background-image: linear-gradient(135deg, #a82f2f 0%, #8a2525 50%, #6e1e1e 100%);
}
