/* ============================================
   Concierge Lounge — Custom Styles
   Deep Navy + Warm Gold | Confident Corporate
   ============================================ */

/* ---------- 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: #c8a44e;
    color: #0a1628;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1c3f;
}
::-webkit-scrollbar-thumb {
    background: #c8a44e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4b76a;
}

/* ---------- Navigation ---------- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c8a44e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #d4b76a !important;
}

/* ---------- Mobile Menu ---------- */
.mobile-link {
    position: relative;
}

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

#mobile-menu:not(.open) {
    opacity: 0;
    pointer-events: none;
}

/* ---------- Hero ---------- */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(15, 28, 63, 0.85) 40%,
        rgba(22, 42, 82, 0.70) 70%,
        rgba(30, 58, 110, 0.50) 100%
    );
    z-index: 1;
}

#hero > .absolute {
    z-index: 0;
}

/* ---------- Reveal Animations ---------- */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-grid {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    .reveal-grid {
        opacity: 0;
        transform: scale(0.95);
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible,
    .reveal-grid.visible {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-grid {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Product Cards ---------- */
.reveal-up:nth-child(1) { transition-delay: 0ms; }
.reveal-up:nth-child(2) { transition-delay: 100ms; }
.reveal-up:nth-child(3) { transition-delay: 200ms; }
.reveal-up:nth-child(4) { transition-delay: 300ms; }
.reveal-up:nth-child(5) { transition-delay: 400ms; }
.reveal-up:nth-child(6) { transition-delay: 500ms; }

/* ---------- Button Focus States ---------- */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c8a44e;
    outline-offset: 2px;
}

/* ---------- Image Hover ---------- */
.rounded-2xl overflow-hidden {
    will-change: transform;
}

/* ---------- Smooth Section Transitions ---------- */
section {
    position: relative;
}

/* ---------- Mobile Menu Animation ---------- */
#mobile-menu {
    animation: none;
}

#mobile-menu.open {
    animation: menuFadeIn 0.4s ease forwards;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Form Input Transitions ---------- */
input, textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #c8a44e !important;
    box-shadow: 0 0 0 1px #c8a44e !important;
}

/* ---------- Gold Accent Line ---------- */
.w-12.h-px.bg-gold-500 {
    flex-shrink: 0;
}
