/* ===== Custom Styles for Pluto Lounge ===== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: #E85D4A;
    color: #fff;
}

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

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

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #E85D4A;
    bottom: 20%;
    left: -50px;
    transform: rotate(45deg);
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #E85D4A;
    top: 45%;
    left: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #E85D4A;
    top: 70%;
    right: 15%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-arch-1 {
    width: 300px;
    height: 150px;
    border: 20px solid #E85D4A;
    border-radius: 150px 150px 0 0;
    bottom: 10%;
    right: 5%;
    opacity: 0.04;
    animation: float-slow 25s ease-in-out infinite;
}

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

/* ===== Navigation ===== */
.nav-fixed {
    background: rgba(255, 254, 249, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(28, 28, 30, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 4px 30px rgba(28, 28, 30, 0.08);
}

.nav-link {
    position: relative;
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line-top {
    transform-origin: center;
}

.menu-line-mid {
    transform-origin: center;
}

.menu-line-bot {
    transform-origin: center;
}

#menu-btn.active .menu-line-top {
    transform: translateY(3.5px) rotate(45deg);
}

#menu-btn.active .menu-line-mid {
    opacity: 0;
}

#menu-btn.active .menu-line-bot {
    transform: translateY(-3.5px) rotate(-45deg);
    width: 1.25rem;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== Hero scroll indicator ===== */
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* ===== Card hover effects ===== */
.group:hover img {
    transform: scale(1.05);
}

/* ===== Form focus styles ===== */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(232, 93, 74, 0.15);
}

/* ===== Mobile menu link animation ===== */
.mobile-menu-link {
    opacity: 1;
}

/* ===== Custom scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #D4D4D9;
    border-radius: 4px;
}

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

/* ===== Responsive adjustments ===== */
@media (max-width: 640px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
        right: -60px;
    }

    .geo-square-1 {
        width: 100px;
        height: 100px;
    }

    .geo-triangle-1 {
        border-left-width: 60px;
        border-right-width: 60px;
        border-bottom-width: 104px;
        left: 5%;
    }

    .geo-circle-2 {
        width: 80px;
        height: 80px;
    }

    .geo-arch-1 {
        width: 150px;
        height: 75px;
        border-width: 12px;
    }
}
