/* ========================================
   Hoops and Denim Boutique — Custom Styles
   ======================================== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ========================================
   Fixed Geometric Background Shapes
   ======================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.shape-circle-1 {
    top: 15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: #C05A43;
    border-radius: 50%;
}

.shape-circle-2 {
    bottom: 10%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: #D4AF72;
    border-radius: 50%;
}

.shape-rect-1 {
    top: 50%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: #C05A43;
    transform: rotate(45deg);
    border-radius: 20px;
}

.shape-diamond {
    top: 30%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: #D4AF72;
    transform: rotate(45deg);
}

/* ========================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible without JS)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    /* Hidden state applied via JS for progressive enhancement */
    body.js-enabled .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    
    body.js-enabled .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    
    body.js-enabled .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-blur-md;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C05A43;
    transition: width 0.3s ease;
}

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

/* ========================================
   Buttons & Interactive Elements
   ======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C05A43;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-nav-link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ========================================
   Collection Cards
   ======================================== */
.collection-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.collection-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover img {
    transform: scale(1.05);
}

/* ========================================
   Contact Cards
   ======================================== */
.contact-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
}

/* ========================================
   Utility
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
