/* ============================================
   GOOD VIBES NUTRITION — 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;
    background-color: #0a0f1e;
    color: #ffffff;
    overflow-x: hidden;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 168, 0.04) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 212, 168, 0.03) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    border-radius: 50%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(45, 212, 168, 0.05);
    top: 35%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-square {
    width: 100px;
    height: 100px;
    background: rgba(45, 212, 168, 0.04);
    top: 60%;
    right: 8%;
    transform: rotate(45deg);
}

.geo-ring {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(45, 212, 168, 0.06);
    border-radius: 50%;
    top: 80%;
    right: 20%;
}

/* 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[data-reveal-delay="100"] { transition-delay: 100ms; }
.reveal[data-reveal-delay="200"] { transition-delay: 200ms; }
.reveal[data-reveal-delay="300"] { transition-delay: 300ms; }
.reveal[data-reveal-delay="400"] { transition-delay: 400ms; }

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile Menu */
#mobile-menu {
    top: 73px;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Mobile Menu Button */
.menu-line {
    display: block;
}

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

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
    margin-right: 0;
    margin-left: auto;
}

/* Mobile Links */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .geo-shape { display: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

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

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

::-webkit-scrollbar-track {
    background: #0a0f1e;
}

::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 168, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 168, 0.5);
}
