/* 
 * Platinum Lounge - Custom Styles
 * Clean minimalist design with thin typography
 */

:root {
    --color-brand-teal: #0F4C5C;
    --color-brand-light: #E8F6F8;
    --color-brand-slate: #334155;
    --color-brand-grey: #94A3B8;
    --color-brand-cream: #F8FAFC;
}

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

body {
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: forwards;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-on-scroll:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.2);
}

/* Selection Color */
::selection {
    background-color: var(--color-brand-teal);
    color: white;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-brand-teal);
    outline-offset: 4px;
}

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

/* Smooth Image Loading */
img {
    transition: opacity 0.3s ease-in-out;
}

img.loading {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

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

::-webkit-scrollbar-track {
    background: var(--color-brand-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-brand-grey);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-teal);
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu-btn,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .grayscale {
        filter: none !important;
    }
}
