/* Custom styles for Pinnacle Mountain Cabins */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f3ebdd;
}
::-webkit-scrollbar-thumb {
    background: #3d7a44;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d5f33;
}

/* Selection color */
::selection {
    background: #1B4332;
    color: #fdfcfa;
}

/* Header transition states */
header.scrolled {
    background: rgba(13, 33, 25, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(143, 184, 146, 0.1);
}

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

/* Link underline animation */
a {
    text-decoration: none;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8fb892;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: none !important;
    }
    body {
        color: #143226;
        background: white;
    }
    section {
        page-break-inside: avoid;
    }
}
