/* ============================================
   Lasting Impression Sno-Cone Stand
   Custom Styles — Terracotta & Sand Theme
   ============================================ */

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

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

body {
    margin: 0;
    min-height: 100vh;
}

/* --- Decorative Geometric Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #d95430;
    border-radius: 50%;
    top: 10%;
    right: -100px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: #e5a640;
    border-radius: 50%;
    bottom: 30%;
    left: -60px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: #d95430;
    border-radius: 50%;
    top: 55%;
    right: 15%;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #e5a640;
    top: 45%;
    left: 5%;
    transform: rotate(-15deg);
}

.rect-1 {
    width: 180px;
    height: 180px;
    background: #d95430;
    top: 70%;
    right: 8%;
    transform: rotate(30deg);
    border-radius: 20px;
}

/* --- Floating Card Animations --- */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

.card-flavor {
    animation-delay: 0s;
}

.card-location {
    animation-delay: 1.3s;
}

.card-stars {
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* --- Navbar --- */
#navbar {
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 217, 154, 0.3);
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: 0 4px 30px rgba(168, 53, 28, 0.08);
}

/* --- Mobile Menu --- */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

.mobile-link {
    display: block;
}

/* --- Flavor Cards --- */
.flavor-card {
    opacity: 1;
}

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

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #d95430;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Selection --- */
::selection {
    background: #f5c6b6;
    color: #712719;
}

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

::-webkit-scrollbar-track {
    background: #fdf8e8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #c74120;
}
