    /* Custom styles for A-Stylish Affair */

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

    /* Hero content animations */
    .hero-content > * {
        opacity: 0;
        transform: translateY(30px);
        animation: heroFadeIn 0.8s ease forwards;
    }
    .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
    .hero-content > *:nth-child(2) { animation-delay: 0.25s; }
    .hero-content > *:nth-child(3) { animation-delay: 0.4s; }
    .hero-content > *:nth-child(4) { animation-delay: 0.55s; }
    .hero-content > *:nth-child(5) { animation-delay: 0.7s; }

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

    .hero-images > * {
        opacity: 0;
        transform: translateX(40px);
        animation: heroImageSlide 1s ease forwards;
        animation-delay: 0.3s;
    }

    @keyframes heroImageSlide {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

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

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Navbar scroll state */
    .nav-logo-text {
        color: #3d2b1f;
    }
    .nav-link {
        color: rgba(61, 43, 31, 0.8);
    }

    /* Service card hover effect */
    .service-card {
        transform: translateY(0);
    }
    .service-card:hover {
        transform: translateY(-4px);
    }

    /* Mobile menu transitions */
    #mobileMenu {
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    #mobileMenu.open {
        transform: translateX(0);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fdf6ec;
    }
    ::-webkit-scrollbar-thumb {
        background: #e9978a;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #d4513f;
    }

    /* Selection color */
    ::selection {
        background: #f3c0b5;
        color: #6c251d;
    }

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