/* ===== Custom Styles for Lonesome Cowboy Ranch ===== */

/* Gold gradient text effect */
.gold-text-reveal {
    background: linear-gradient(135deg, #e6c35c 0%, #d4a853 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080e1a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(8, 14, 26, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.08);
}

/* Hero entrance animations */
.hero-title-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards 0.3s;
}
.hero-sub-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s ease forwards 0.6s;
}
.hero-cta-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s ease forwards 0.9s;
}
@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal sections */
.scroll-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-section.is-hidden {
        opacity: 0;
        transform: translateY(40px);
    }
    .scroll-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold glow on focus */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.2);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f0d78c;
}

/* Date input styling fix for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* Subtle pattern overlay for sections */
section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Image hover container */
.rounded-2xl.overflow-hidden {
    position: relative;
}

/* Active nav link */
nav a.active {
    color: #d4a853 !important;
}
