/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a142e;
    color: #ffffff;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #ecbe37;
    border-radius: 5px;
}

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

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #ecbe37;
    border-radius: 50%;
    top: 10%;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ecbe37, #dfaa14);
    border-radius: 50%;
    bottom: 15%;
    right: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #ecbe37;
    top: 30%;
    right: 15%;
    animation: rotate 12s linear infinite;
    opacity: 0.08;
}

.shape-square {
    width: 150px;
    height: 150px;
    border: 3px solid #ecbe37;
    top: 60%;
    left: 10%;
    animation: rotate 15s linear infinite reverse;
    opacity: 0.06;
}

.shape-diamond {
    width: 100px;
    height: 100px;
    background: #ecbe37;
    transform: rotate(45deg);
    top: 20%;
    right: 25%;
    animation: float 10s ease-in-out infinite;
    opacity: 0.05;
}

.shape-arc {
    width: 300px;
    height: 150px;
    border: 3px solid #ecbe37;
    border-radius: 150px 150px 0 0;
    bottom: 25%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
    opacity: 0.07;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 20, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Menu Cards */
.menu-card {
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 190, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.menu-card:hover::before {
    opacity: 1;
}

/* Mobile Menu */
#mobile-menu {
    background: rgba(10, 20, 46, 0.98);
    backdrop-filter: blur(20px);
}

.mobile-link {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.1em;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .menu-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease;
    }
    
    .menu-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .menu-card:nth-child(1) { transition-delay: 0.1s; }
    .menu-card:nth-child(2) { transition-delay: 0.2s; }
    .menu-card:nth-child(3) { transition-delay: 0.3s; }
    .menu-card:nth-child(4) { transition-delay: 0.4s; }
}

/* 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;
    }
    
    .geo-shape {
        display: none;
    }
    
    .menu-card {
        opacity: 1;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .shape-circle-1,
    .shape-circle-2,
    .shape-triangle,
    .shape-square,
    .shape-diamond,
    .shape-arc {
        display: none;
    }
}
