/* Custom styles for East-West Rome Vacuum Cleaner Service */

/* Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Scroll reveal base - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal animation - only active with JS and prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#navbar.scrolled .nav-link {
    color: #2a2630 !important;
}

#navbar.scrolled .nav-link:hover {
    color: #f76e1c !important;
}

#navbar.scrolled .mobile-menu-btn span {
    background: #2a2630 !important;
}

/* Mobile menu animation */
#mobile-menu.open #bar1 {
    transform: translateY(6px) rotate(45deg);
}

#mobile-menu.open #bar2 {
    opacity: 0;
}

#mobile-menu.open #bar3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}

/* Subtle hover lift for cards */
.group:hover {
    transform: translateY(-2px);
}

/* Coral gradient for CTA */
.bg-coral-gradient {
    background: linear-gradient(135deg, #f76e1c 0%, #f05a0a 100%);
}

/* Selection color */
::selection {
    background: #f76e1c;
    color: white;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7a7785;
}
