/* Additional custom styles beyond Tailwind */

/* Ensure no flash of unstyled content on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        will-change: opacity, transform;
    }
}

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

/* Selection color */
::selection {
    background: rgba(232, 184, 48, 0.25);
    color: #fdfbf7;
}

/* Ensure navbar doesn't overlap content on scroll */
#hero {
    scroll-margin-top: 80px;
}

#services {
    scroll-margin-top: 80px;
}

#about {
    scroll-margin-top: 80px;
}

#why-us {
    scroll-margin-top: 80px;
}

#contact {
    scroll-margin-top: 80px;
}

/* Subtle image zoom on hover for gallery */
.gallery-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Gold shimmer animation for hero badge pulse */
@keyframes softPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.animate-pulse {
    animation: softPulse 2s ease-in-out infinite;
}

/* Nav active state via JS */
.nav-link-active {
    color: #fdfbf7 !important;
}

/* Mobile menu animation */
.mobile-menu {
    visibility: hidden;
}

.mobile-menu.open {
    visibility: visible;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}
