/* Governor Holmes House — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbf5;
}
::-webkit-scrollbar-thumb {
    background: #981a37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c1731;
}

/* Floating card animation */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -1.5s;
}

.floating-card:nth-child(3) {
    animation-delay: -3s;
}

.floating-card:nth-child(4) {
    animation-delay: -4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Navbar transition */
.nav-logo-color {
    color: #3a0a16;
}
.nav-sub-color {
    color: #bc2244;
}

nav.scrolled .nav-logo-color {
    color: #3a0a16;
}

nav.scrolled .nav-sub-color {
    color: #bc2244;
}

/* Mobile menu links */
.mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Print styles */
@media print {
    nav, .floating-card, #mobile-menu-btn {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
