/* ============================================
   The Bunkhouse at Busted Gulch — Custom Styles
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: rgba(212, 168, 67, 0.3);
    color: #f5f5f5;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0c1220;
}
::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a843;
}

/* Navbar */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a843;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Navbar scrolled state */
.nav-scrolled {
    background: rgba(12, 18, 32, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Reveal Animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Mobile Menu */
.mobile-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}
.mobile-link:hover {
    padding-left: 12px;
}

/* Gold gradient text (for special use) */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5d78e 0%, #d4a843 50%, #b88f35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button shine effect */
button, a[href] {
    position: relative;
    overflow: hidden;
}

/* Input focus glow */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Image hover zoom container */
img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth section transitions */
section {
    position: relative;
}

/* Decorative gold line */
.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4a843, transparent);
}

/* Card hover lift */
.group:hover {
    transform: translateY(-4px);
}
.group {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle pulse for CTA */
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(212, 168, 67, 0.15); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal { display: none; }
    body { background: white; color: black; }
}
