/* Custom styles — Eagle's Nest at Island Creek */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #132240;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B8E6D9;
}

/* Selection color */
::selection {
    background: #B8E6D9;
    color: #0A1628;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle gradient border on cards */
.card-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(184,230,217,0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-hover:hover::before {
    opacity: 1;
}

/* Navbar glass effect on scroll */
nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(184,230,217,0.1);
}

/* Hero text shimmer */
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50 { background-position: 100% 50%; }
}

/* Fade in for hero elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered hero animation */
header .reveal:nth-child(1) { animation: fadeInUp 0.8s ease forwards; }
header .reveal:nth-child(2) { animation: fadeInUp 0.8s ease 0.15s forwards; opacity: 0; }
header .reveal:nth-child(3) { animation: fadeInUp 0.8s ease 0.3s forwards; opacity: 0; }
header .reveal:nth-child(4) { animation: fadeInUp 0.8s ease 0.45s forwards; opacity: 0; }

/* Print styles */
@media print {
    nav, .animate-bounce, #mobile-menu { display: none !important; }
    body { color: #000; background: #fff; }
    .hero-overlay { background: none !important; }
    header { min-height: auto; }
}
