/* =========================================
   Sundaze Takapuna - Beachside Cafe Styles
   Neubrutalism Design System
   ========================================= */

/* Base */
body {
    background-color: #F0F4F8;
    color: #0A1128;
    font-family: 'Outfit', sans-serif;
}

/* Custom Cursor - only for pointer devices */
@media (pointer: fine) {
    body {
        cursor: none;
    }
}

#cursor-dot {
    width: 8px;
    height: 8px;
    background: #FF6F61;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease;
    display: none;
}

#cursor-circle {
    width: 40px;
    height: 40px;
    border: 2px solid #14D9E6;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.15s ease-out;
    display: none;
}

@media (pointer: fine) {
    #cursor-dot,
    #cursor-circle {
        display: block;
    }
}

/* Wave Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #0A1128;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
    animation: preloader-fallback 1s ease 4s forwards;
}
@keyframes preloader-fallback {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.wave-container {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #14D9E6;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: #14D9E6;
    border-radius: 38%;
    animation: wave 3s infinite linear;
}

@keyframes wave {
    0% { transform: translate(-25%, 0) rotate(0deg); }
    100% { transform: translate(-25%, -20%) rotate(360deg); }
}

/* Marquee */
.marquee {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    background: #FF6F61;
    padding: 1rem 0;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Fun Button - Neubrutalism */
.btn-fun {
    display: inline-block;
    background-color: #14D9E6;
    color: white;
    font-weight: 700;
    border-radius: 9999px;
    padding: 1rem 2rem;
    box-shadow: 4px 4px 0 #0A1128;
    transition: all 0.3s ease;
}

.btn-fun:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #0A1128;
    background-color: #FFD700;
}

/* Tilt Card */
.tilt-card {
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
}

/* Skip to Content */
.skip-to-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-to-content:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 1rem 2rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    z-index: 99999;
    background: #14D9E6;
    color: #0A1128;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 4px 4px 0 #0A1128;
}

/* Nav States */
.nav-transparent {
    background: transparent;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-hidden {
    transform: translateY(-100%);
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #0A1128;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#mobile-menu.active {
    display: flex;
}

#mobile-menu a {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

#mobile-menu a:hover {
    color: #14D9E6;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid #14D9E6;
    outline-offset: 2px;
}

/* Delay Utilities */
.delay-200 {
    transition-delay: 200ms;
}

.delay-400 {
    transition-delay: 400ms;
}
