/* ========================================
   Laurelton Stop Deli & Grocery
   Custom Styles
   ======================================== */

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

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

body {
    overflow-x: hidden;
}

/* ========================================
   Geometric Background Shapes
   ======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 67, 42, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(228, 163, 74, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    border-radius: 50%;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(212, 67, 42, 0.05);
    border: 2px solid rgba(212, 67, 42, 0.1);
    top: 25%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 16px;
}

.shape-strip-1 {
    width: 8px;
    height: 200px;
    background: linear-gradient(to bottom, rgba(228, 163, 74, 0.3), transparent);
    top: 40%;
    right: 15%;
    border-radius: 4px;
}

.shape-dot-pattern {
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, rgba(212, 67, 42, 0.12) 1px, transparent 1px);
    background-size: 16px 16px;
    bottom: 15%;
    right: 8%;
}

/* ========================================
   Menu Cards
   ======================================== */
.menu-card {
    will-change: transform;
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    opacity: 1;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========================================
   Navbar Scrolled State
   ======================================== */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.08);
}

/* ========================================
   Mobile Menu Active State
   ======================================== */
.mobile-menu-open #mobileMenu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    width: 6rem;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ========================================
   Button Hover Effects
   ======================================== */
a {
    text-decoration: none;
}

/* ========================================
   Selection Color
   ======================================== */
::selection {
    background: rgba(212, 67, 42, 0.2);
    color: #3D2B1F;
}

/* ========================================
   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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-rect-1 {
        width: 60px;
        height: 60px;
    }
    
    .shape-strip-1 {
        height: 100px;
    }
    
    .shape-dot-pattern {
        width: 80px;
        height: 80px;
    }
}
