*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Mobile menu */
.mobile-menu-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-panel {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#mobile-menu.open .mobile-menu-overlay {
    opacity: 1;
}

#mobile-menu.open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f5a623;
    transition: width 0.3s ease;
}

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

/* Floating card animations */
.reveal-card {
    animation: floatCard 3s ease-in-out infinite;
}

.reveal-card:nth-child(2) {
    animation-delay: -1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Scroll reveal (below fold only, progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .service-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .service-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle line accents */
.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #f5a623, transparent);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #be76b0;
}

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

/* Selection */
::selection {
    background: #e8c8df;
    color: #54214a;
}
