    /* Base & Typography */
    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    ::selection {
        background: rgba(13, 148, 136, 0.2);
        color: #134e4a;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

    /* Navigation */
    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: #0d9488;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-brand-text {
        transition: color 0.3s ease;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    }

    #navbar.scrolled .nav-brand-text {
        color: #0f172a;
    }

    #navbar.scrolled .nav-link {
        color: #475569;
    }

    #navbar.scrolled .nav-link:hover {
        color: #0d9488;
    }

    #navbar.scrolled .nav-link::after {
        background: #0d9488;
    }

    /* Fade-in animations */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .fade-in-delay-1 {
        transition-delay: 0.1s;
    }

    .fade-in-delay-2 {
        transition-delay: 0.2s;
    }

    .fade-in-delay-3 {
        transition-delay: 0.3s;
    }

    .fade-in-delay-4 {
        transition-delay: 0.4s;
    }

    .fade-in-delay-5 {
        transition-delay: 0.5s;
    }

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

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

    /* Hero image parallax feel */
    #hero img {
        will-change: transform;
    }

    /* Gallery hover effects */
    .group img {
        will-change: transform;
    }

    /* Button ripple effect */
    button, a {
        will-change: transform;
    }

    /* Focus styles */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .fade-in {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .group img,
        img {
            transition: none;
        }

        .animate-bounce {
            animation: none;
        }
    }

    /* Tablet adjustments */
    @media (max-width: 768px) {
        .font-serif {
            font-size: clamp(2rem, 6vw, 3.5rem);
        }
    }
