/* ── Sweet Pea Tampa – Custom Styles ── */

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #080606;
}

/* Selection */
::selection {
    background: rgba(184, 38, 77, 0.4);
    color: #f5f5f4;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0e0b0b;
}
::-webkit-scrollbar-thumb {
    background: #2d2626;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7a1836;
}

/* ── Reveal Animations (progressive enhancement) ── */
/* Default: all content is visible (no JS required) */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

/* When JS is active and user prefers motion, enable scroll reveals */
.js-active .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger children */
.js-active .reveal:nth-child(2) { transition-delay: 100ms; }
.js-active .reveal:nth-child(3) { transition-delay: 200ms; }
.js-active .reveal:nth-child(4) { transition-delay: 300ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(8, 6, 6, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
}

/* ── Gold shimmer on hover for links ── */
a.text-gold-400 {
    position: relative;
}

/* ── Button focus styles ── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c9a22e;
    outline-offset: 2px;
}

/* ── Image hover zoom wrapper ── */
.rounded-xl.overflow-hidden {
    will-change: transform;
}

/* ── Hero decorative lines animation ── */
@keyframes shimmer {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
}

/* ── Mobile menu transition ── */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* ── Form input autofill override ── */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #130e0e inset !important;
    -webkit-text-fill-color: #e7e5e4 !important;
}

/* ── Card hover glow ── */
.group:hover .group-hover\:scale-110 {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}
