/* ============================================
   WAVES LOUNGE — Custom Styles
   ============================================ */

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

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

body {
    min-height: 100vh;
}

/* ============================================
   ANIMATED BACKGROUND BLOBS
   ============================================ */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #a7f3d0;
    top: -100px;
    right: -100px;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #6ee7b7;
    bottom: 20%;
    left: -50px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #34d399;
    top: 50%;
    right: 10%;
    animation: blobFloat 18s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* ============================================
   GEOMETRIC HERO SHAPES
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation: geoFloat 15s ease-in-out infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 25%;
    right: 5%;
    animation: geoFloat 12s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    animation: geoSpin 20s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 255, 255, 0.08);
    top: 15%;
    right: 15%;
    animation: geoFloat 18s ease-in-out infinite;
}

.geo-ring-1 {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(110, 231, 183, 0.3);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation: geoSpin 25s linear infinite reverse;
}

.geo-dots {
    background-image: radial-gradient(rgba(255,255,255,0.2) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    width: 200px;
    height: 200px;
    bottom: 30%;
    left: 15%;
    animation: geoFloat 22s ease-in-out infinite;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -10%;
    right: -10%;
}

.geo-square-2 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
}

.geo-dots-light {
    background-image: radial-gradient(rgba(255,255,255,0.08) 2px, transparent 2px);
    background-size: 24px 24px;
    width: 300px;
    height: 300px;
    bottom: 5%;
    right: 10%;
}

.geo-circle-4 {
    width: 250px;
    height: 250px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -5%;
    left: 10%;
}

.geo-square-3 {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.06);
    bottom: 10%;
    right: 20%;
    transform: rotate(60deg);
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

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

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (Progressive Enhancement — content is visible by default)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#navbar.scrolled {
    background: rgba(255, 253, 247, 0.95);
    backdrop-blur-xl;
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-link {
    display: block;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #059669;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */
a {
    text-decoration: none;
}

/* ============================================
   IMAGE OPTIMIZATION
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   FOCUS STYLES
   ============================================ */
:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .geo-circle-2 {
        width: 80px;
        height: 80px;
    }
    
    .geo-square-1 {
        width: 50px;
        height: 50px;
    }
    
    .geo-triangle-1 {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-bottom: 45px solid rgba(255, 255, 255, 0.08);
    }
    
    .geo-ring-1 {
        width: 80px;
        height: 80px;
    }
    
    .geo-dots {
        width: 120px;
        height: 120px;
    }
}
