/* Custom overrides and additional styles for Shiloh Christian Guest Ranch */

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

/* Ensure all links are underlined consistently */
a {
    text-decoration: none;
}

/* Better focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d99000;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1a6e;
}
::-webkit-scrollbar-thumb {
    background: #d99000;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c47500;
}

/* Selection color */
::selection {
    background: #d99000;
    color: #fff;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mobile-menu {
        transition: none;
    }
    .card {
        transition: none;
    }
    .card:hover {
        transform: none;
    }
    .btn-primary:hover,
    .btn-outline:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, button, iframe {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .section-dark, .section-navy-light {
        background: #f5f5f5 !important;
    }
}
