/* Custom styles for The Next Street - West Springfield */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f8fafc;
}

/* Ensure all links are visible */
a {
    text-decoration: none;
}

/* Prevent image layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .float-accent {
        animation: none;
    }
    .pulse-ring {
        animation: none;
    }
    .gold-shimmer {
        animation: none;
        background: linear-gradient(135deg, #d4a853 0%, #f0d078 50%, #b8860b 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-img-stack {
        min-height: 400px;
        margin-top: 2rem;
    }
    .hero-img-stack .img-card-1 {
        width: 85%;
        height: 55%;
    }
    .hero-img-stack .img-card-2 {
        width: 60%;
        height: 40%;
    }
    .hero-img-stack .img-card-3 {
        width: 40%;
        height: 22%;
    }
}

/* Small phone adjustments */
@media (max-width: 360px) {
    .font-display.text-5xl,
    .font-display.text-4xl {
        font-size: 1.75rem;
    }
}
