/* Custom styles for Crescent Arms Holdings */

:root {
    --color-midnight-500: #0a2540;
    --color-mint-400: #2dd4bf;
    --color-mint-500: #14b8a6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', system-ui, sans-serif;
}

.font-heading {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(10, 37, 64, 0.08);
}

.nav-scrolled .nav-link {
    color: #0a2540 !important;
}

.nav-scrolled .nav-logo-text {
    color: #0a2540 !important;
}

/* Amenity card hover */
.amenity-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.15);
}

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

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

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus styles */
input:focus,
textarea:focus {
    background-color: #ffffff !important;
}

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

::-webkit-scrollbar-track {
    background: #e8f0f7;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #7199c4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.75rem !important;
        line-height: 1.1 !important;
    }

    .font-heading {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    #hero {
        padding-top: 6rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .animate-float {
        animation: none;
    }
}
