/* Custom styles for Z BAR Z RANCH & Guest Loft */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070e07;
}
::-webkit-scrollbar-thumb {
    background: #1e5c1e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d7a2d;
}

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

/* Subtle glow effect for gold elements */
.glow-gold {
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.15), 0 0 40px rgba(184, 134, 11, 0.05);
}

/* Image hover zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(7, 14, 7, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 122, 45, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0d1a0d inset !important;
    -webkit-text-fill-color: #f0f5f0 !important;
    caret-color: #f0f5f0;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #b8860b;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #contact-form, iframe { display: none; }
    body { background: white; color: black; }
    section { page-break-inside: avoid; }
}
