/* ============================================
   Lee's Place — Custom Styles
   ============================================ */

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

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

body {
    background-color: #050914;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

.geo-circle-1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 2px solid rgba(13, 211, 126, 0.08);
}

.geo-circle-2 {
    bottom: 20%;
    left: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(13, 211, 126, 0.06);
}

.geo-square-1 {
    top: 45%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: rgba(13, 211, 126, 0.05);
    border: 1px solid rgba(13, 211, 126, 0.1);
    transform: rotate(45deg);
}

.geo-triangle {
    bottom: 30%;
    left: 8%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(13, 211, 126, 0.04);
}

.geo-dots {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(13, 211, 126, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.6;
}

/* Navbar */
#navbar.scrolled {
    background: rgba(5, 9, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Custom date input styling */
.date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(5) hue-rotate(110deg);
    cursor: pointer;
}

/* Selection color */
::selection {
    background: rgba(13, 211, 126, 0.3);
    color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050914;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        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; }
}

/* Reduce 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;
        transform: none;
    }
}
