/* Custom Styles for Luxottica Hong Kong Services */
:root {
    --brand-primary: #050505;
    --brand-accent: #10B981;
    --brand-surface: #111827;
    --text-main: #FDFDFD;
}


html {
    scroll-behavior: smooth;
    cursor: default;
}

body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: var(--brand-primary);
    color: var(--text-main);
}


/* Typography Enhancements */
h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

/* Reveal on scroll base class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism effects */
.glass {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-accent);
    border-radius: 10px;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-slow {
    animation: float 6s ease-in-out infinite;
}

/* Glow Effect */
.glow-accent {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

/* Section specific overrides */
#services .group:hover h4 {
    color: var(--brand-accent);
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width .3s;
}

nav a:hover::after {
    width: 100%;
}

.bg-mesh {
    background-image:
        radial-gradient(at 0% 0%, hsla(161, 89%, 48%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(158, 92%, 45%, 0.08) 0px, transparent 50%);
}