/* ============================================
   PROD CHECKOUT — Custom Styles
   Classic & Elegant · Plum + Amber Palette
   ============================================ */

/* ---- Reset & Base ---- */
*, *::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: rgba(212, 146, 42, 0.3);
    color: #F5F0F7;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A0E20;
}
::-webkit-scrollbar-thumb {
    background: #4A2C5E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #683056;
}

/* ---- Scroll Animations ---- */
/* Default: content is visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When JS is active, add hidden state */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .js-enabled .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ---- Scroll dot animation ---- */
@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

.animate-scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
}

/* ---- Navbar ---- */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(26, 14, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(74, 44, 94, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .menu-line {
    background: #E8DDE8;
}

/* ---- Mobile Menu ---- */
.mobile-link {
    opacity: 1;
    transform: none;
}

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

.menu-tab.active {
    background: rgba(212, 146, 42, 0.15);
    color: #D4922A;
    border: 1px solid rgba(212, 146, 42, 0.3);
}

.menu-tab:hover:not(.active) {
    color: #E8DDE8;
    background: rgba(74, 44, 94, 0.3);
}

/* ---- Select styling ---- */
select option {
    background: #2D1A35;
    color: #E8DDE8;
}

/* ---- Date input ---- */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6) sepia(1) saturate(3) hue-rotate(240deg);
    cursor: pointer;
}

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

/* ---- Print ---- */
@media print {
    header, footer, #contact, .reveal {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
