/* Custom styles for Gifts & Giggles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll reveal base state — visible by default for accessibility */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal animation — only when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal.animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Hero parallax subtle */
#hero {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background: #c8a44e;
    color: #0a1628;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #c8a44e;
    outline-offset: 2px;
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover lift effect */
button, a {
    transition: all 0.2s ease;
}

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

/* Subtle gradient for gold accents */
.gold-gradient {
    background: linear-gradient(135deg, #c8a44e 0%, #e0c678 100%);
}

/* Navy gradient for sections */
.navy-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #152d56 100%);
}
