/* ── Custom styles for Smack Down Taxidermy ── */

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

/* ── Navigation ── */
.nav-scrolled {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(160, 17, 52, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
    box-shadow: 0 4px 20px rgba(110, 19, 49, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9f1134;
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Hero gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #6e1331 0%, #9f1134 25%, #c11943 50%, #d94064 75%, #eb708a 100%);
    position: relative;
}

/* Animated blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #fde68a;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #f9a8d4;
    bottom: -100px;
    left: -80px;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #fbbf24;
    top: 40%;
    left: 10%;
    animation-delay: -5s;
}

.blob-4 {
    width: 200px;
    height: 200px;
    background: #fda4af;
    bottom: 20%;
    right: 15%;
    animation-delay: -2s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Card 3D hover ── */
.card-3d {
    perspective: 800px;
}

.card-3d > div {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.card-3d:hover > div {
    transform: translateY(-6px);
}

/* ── Scroll reveal (progressive enhancement) ── */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ── Mobile menu ── */
.mobile-link {
    border-radius: 0.75rem;
    padding-left: 0.75rem;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
    padding-left: 1rem;
    color: #9f1134;
}

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

/* ── Selection color ── */
::selection {
    background: #f9d0d9;
    color: #6e1331;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ── Utility ── */
@media (max-width: 767px) {
    .hero-gradient {
        min-height: 85vh;
    }
}
