/* ============================================
   SCHEPP'S DAKOTA DELI — Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0a1628;
    color: #e8edf5;
}

/* ============================================
   GEOMETRIC SHAPES — Hero Background
   ============================================ */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #5eead4 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, #99f6db 0%, transparent 70%);
    top: 40%;
    left: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #5eead4;
    border-radius: 20px;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    opacity: 0.06;
    animation: spin-slow 30s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: #2dd4bf;
    border-radius: 12px;
    bottom: 25%;
    right: 25%;
    transform: rotate(20deg);
    opacity: 0.05;
    animation: spin-slow 25s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #5eead4;
    top: 60%;
    left: 5%;
    opacity: 0.04;
    animation: float-slow 18s ease-in-out infinite;
}

/* Dots Pattern */
.dots-pattern {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    pointer-events: none;
}

.dots-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #5eead4 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   MENU CARDS
   ============================================ */
.menu-card {
    background: rgba(15, 31, 64, 0.6);
    border: 1px solid rgba(94, 234, 212, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    border-color: rgba(94, 234, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(94, 234, 212, 0.05);
}

/* ============================================
   GALLERY ITEMS
   ============================================ */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

.mobile-link:hover {
    background: rgba(94, 234, 212, 0.08);
}

/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */
@media (max-width: 640px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 50px solid #5eead4;
    }
}
