/* Custom styles for Summit Vista Lodge */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #d4e2f0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8c5e0;
}

/* Selection color */
::selection {
    background: #dcfce7;
    color: #0F2A4A;
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #16a34a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 60%;
}

/* Active nav link */
.nav-link.active::after {
    width: 60%;
}

/* Button focus states */
.btn-primary:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Ensure all images have smooth loading */
img {
    transition: opacity 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .card-hover {
        transition: none;
    }
    .card-hover:hover {
        transform: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
