    /* Custom styles for Calvis Wyant Luxury Homes */

    :root {
        --emerald-950: #052e16;
        --emerald-900: #14532d;
        --emerald-800: #166534;
        --emerald-700: #15803d;
        --emerald-600: #16a34a;
        --cream-50: #fefdf8;
        --cream-100: #fdf9ee;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Montserrat', Helvetica, Arial, sans-serif;
        background-color: var(--cream-50);
        color: var(--emerald-950);
    }

    /* Smooth scroll offset for fixed navbar */
    section[id] {
        scroll-margin-top: 80px;
    }

    /* Navigation transitions */
    #navbar.scrolled {
        background-color: rgba(254, 253, 248, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 0 rgba(20, 83, 45, 0.08);
    }

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

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    .menu-line {
        transition: all 0.3s ease;
    }

    .menu-toggle.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

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

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

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

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

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

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

    /* Custom select styling */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
    }

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

    /* Selection color */
    ::selection {
        background-color: var(--emerald-200);
        color: var(--emerald-950);
    }

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

    ::-webkit-scrollbar-track {
        background: var(--cream-100);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--emerald-300);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--emerald-500);
    }

    /* Image loading placeholder */
    img {
        background-color: var(--cream-100);
    }
