/* Custom styles and animations */

/* Scroll reveal base - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Service card hover lift */
.service-card {
    transition: background-color 0.5s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    transition: background-color 0.5s ease, transform 0.3s ease;
}

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

/* Image loading placeholder */
img {
    background-color: #E8E6E1;
}

/* Subtle gold accent line */
.gold-line {
    position: relative;
}
.gold-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #C9A84C;
}

/* Mobile menu transitions */
#mobileMenu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(11, 29, 58, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
}

/* Custom selection color */
::selection {
    background-color: #C9A84C;
    color: #0B1D3A;
}

/* Smooth image transitions */
img {
    transition: transform 0.7s ease;
}
