/* Custom Styles for Boogie's Bar */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-link {
    position: relative;
    padding: 8px 0;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.06) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: rgba(16, 185, 129, 0.05);
    top: 40%;
    left: 5%;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(110, 231, 183, 0.05);
    top: 60%;
    right: 10%;
    animation: float 12s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.1) 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: 10%;
    right: 5%;
    opacity: 0.5;
}

/* Geometric Pattern */
.geo-pattern {
    background-image: 
        linear-gradient(45deg, rgba(254, 253, 248, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(254, 253, 248, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(254, 253, 248, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(254, 253, 248, 0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.geo-pattern-light {
    background-image: 
        linear-gradient(45deg, rgba(254, 253, 248, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(254, 253, 248, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(254, 253, 248, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(254, 253, 248, 0.03) 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-spin-slow {
    animation: spin-slow 15s linear infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

::-webkit-scrollbar-track {
    background: #fefdf8;
}

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

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

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #10b981;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #10b981;
    color: #fefdf8;
}
