    /* Custom styles for Michael Mak Real Estate */

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

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(253, 244, 246, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(108, 26, 51, 0.08);
    }

    #navbar.scrolled .nav-logo-color {
        color: #6c1a33;
    }

    /* Mobile menu */
    #mobile-menu.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Menu button animation */
    #menu-btn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }

    #menu-btn.active .menu-line:nth-child(3) {
        width: 100%;
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile link animation */
    .mobile-link {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    #mobile-menu.active .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    #mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
    #mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
    #mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
    #mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
    #mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

    /* Scroll reveal animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
        }

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

        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }
    }

    /* Selection color */
    ::selection {
        background: #fbbf24;
        color: #3d0a17;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #831d39;
    }

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

    /* Image loading placeholder */
    img {
        background: linear-gradient(135deg, #fce7eb 0%, #fde68a 100%);
    }

    /* Print styles */
    @media print {
        #navbar, #mobile-menu, .reveal {
            display: none !important;
        }
    }
