/* Custom styles for Shannon Sweet Stop */

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

/* Geometric Background Shapes */
.geometric-shapes {
    z-index: 0;
}

.shape-circle-1 {
    position: absolute;
    top: 10%;
    left: -8%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 51, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.shape-circle-2 {
    position: absolute;
    bottom: 5%;
    right: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 109, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.shape-triangle {
    position: absolute;
    top: 35%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 209, 51, 0.04);
    transform: rotate(15deg);
    pointer-events: none;
}

.shape-square {
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 120px;
    height: 120px;
    background: rgba(68, 109, 233, 0.05);
    transform: rotate(45deg);
    pointer-events: none;
}

.shape-dots {
    position: absolute;
    top: 50%;
    left: 15%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255, 209, 51, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }

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

/* Default state: always visible */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
    background: rgba(17, 26, 66, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Mobile menu button animation */
.menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Subtle hover effects on cards */
.group:hover .group-hover\:bg-gold-400\/20 {
    background: rgba(255, 209, 51, 0.2);
}

/* Ensure all text is readable */
.text-navy-100 {
    color: #d9e0ff;
}

.text-navy-200 {
    color: #bccffd;
}

.text-navy-300 {
    color: #93b5fb;
}

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

::-webkit-scrollbar-track {
    background: #111a42;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #3252c7;
}

/* Selection color */
::selection {
    background: rgba(255, 209, 51, 0.3);
    color: #fff;
}
