/* Custom styles for Oaklawn Towers */

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

/* Navigation background transition */
#navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation text colors */
#navbar .nav-text {
    color: #ffffff;
}

#navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile menu links */
.mobile-link {
    color: rgba(255, 255, 255, 0.9);
}

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

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

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold accent hover effects */
a:hover {
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #d4a84b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c16e;
}

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

/* Form transitions */
input,
textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Print styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    section {
        page-break-inside: avoid;
    }
}
