    /* Custom styles for Shadow Terrace Apartments */

    :root {
        --gold-400: #d4a853;
        --gold-500: #c9952e;
        --gold-600: #b07a1f;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0a0f1e;
    }
    ::-webkit-scrollbar-thumb {
        background: #162040;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #1e2d4a;
    }

    /* Selection color */
    ::selection {
        background: rgba(201, 149, 46, 0.3);
        color: #ffffff;
    }

    /* Scroll reveal base state — visible by default for accessibility */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
    }

    /* Scroll reveal animated state — only applied via JS when JS is available */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal.animated {
            animation: fadeInUp 0.7s ease forwards;
        }
        .scroll-reveal {
            opacity: 0;
            transform: translateY(30px);
        }
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Navbar background on scroll */
    #navbar.scrolled {
        background: rgba(10, 15, 30, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Gold gradient text */
    .text-gradient-gold {
        background: linear-gradient(135deg, #d4a853, #c9952e, #b07a1f);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Card hover lift */
    .hover-lift {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    /* Floating animation for hero cards */
    @media (prefers-reduced-motion: no-preference) {
        .float-1 { animation: float1 6s ease-in-out infinite; }
        .float-2 { animation: float2 7s ease-in-out infinite; }
        .float-3 { animation: float3 5s ease-in-out infinite; }
        .float-4 { animation: float4 8s ease-in-out infinite; }
    }

    @keyframes float1 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
    @keyframes float2 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-8px); }
    }
    @keyframes float3 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
    }
    @keyframes float4 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-6px); }
    }

    /* Mobile menu transitions */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }
    #mobile-menu.open {
        max-height: 400px;
        opacity: 1;
    }

    /* Focus visible for accessibility */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid var(--gold-400);
        outline-offset: 2px;
    }

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.3s ease;
    }
</style>
