/* ============================================
   THE CHILL SPOT — Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern
   ============================================ */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #F5A623;
    color: #0A1628;
}

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

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #F5A623;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #4164ca;
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #F5A623;
    top: 40%;
    right: 15%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: #F5A623;
    bottom: 5%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect-2 {
    width: 120px;
    height: 120px;
    background: #4164ca;
    top: 20%;
    left: 10%;
    transform: rotate(20deg);
    animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #F5A623;
    top: 60%;
    left: 3%;
    opacity: 0.05;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(3deg); }
    50% { transform: translate(-10px, 15px) rotate(-2deg); }
    75% { transform: translate(20px, 10px) rotate(5deg); }
}

/* --- Buttons --- */
.btn-primary {
    background: #F5A623;
    color: #0A1628;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fce8a8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-gold {
    background: #F5A623;
    color: #0A1628;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #fce8a8;
    transform: translateY(-1px);
}

/* --- Scroll Indicator --- */
@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Navbar --- */
.nav-logo-text {
    transition: color 0.4s ease;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #F5A623;
}

.navbar-scrolled .nav-logo-text {
    color: #0A1628;
}

.navbar-scrolled .nav-link {
    color: rgba(10, 22, 40, 0.7);
}

.navbar-scrolled .nav-link:hover {
    color: #F5A623;
}

.navbar-scrolled #navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

.navbar-scrolled .btn-gold {
    color: #0A1628;
}

/* --- Mobile Menu --- */
.mobile-nav-link {
    color: #ffffff;
}

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

#menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Menu Tabs --- */
.menu-tab {
    color: #0A1628;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-tab.active {
    background: #0A1628;
    color: #F5A623;
}

.menu-tab:not(.active):hover {
    background: rgba(10, 22, 40, 0.08);
}

.menu-panel {
    animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* --- Focus Styles --- */
:focus-visible {
    outline: 2px solid #F5A623;
    outline-offset: 2px;
}

/* --- Responsive Tweaks --- */
@media (max-width: 767px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-circle-3 {
        display: none;
    }
    
    .geo-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .geo-rect-2 {
        display: none;
    }
    
    .geo-triangle {
        display: none;
    }
}
