/* ============================================
   Bvip Tea Room — Custom Styles
   Premium Dark Luxury | Teal + Slate + Gold
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #05090F;
    color: #E8EFF5;
}

::selection {
    background-color: rgba(196, 162, 101, 0.3);
    color: #F5EBD3;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B111C;
}
::-webkit-scrollbar-thumb {
    background: #1D2838;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C4A265;
}

/* --- Navbar --- */
#navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background: rgba(5, 9, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 162, 101, 0.1);
}

/* --- Hero --- */
#hero {
    background: linear-gradient(135deg, #002B2B 0%, #0B111C 50%, #05090F 100%);
}

/* --- Section Dividers --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.3), transparent);
}

/* --- Buttons --- */
button, a[type="submit"] {
    position: relative;
    overflow: hidden;
}

button::after, a[type="submit"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

button:hover::after, a[type="submit"]::after {
    opacity: 1;
}

/* --- Card Hover Effects --- */
.group:hover .group-hover\:bg-gold-500\/10 {
    background-color: rgba(196, 162, 101, 0.1);
}

/* --- Image Hover --- */
overflow-hidden {
    overflow: hidden;
}

img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Focus States --- */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(196, 162, 101, 0.3);
}

/* --- Gold Text Gradient (for special headlines) --- */
.text-gold-gradient {
    background: linear-gradient(135deg, #C4A265 0%, #E2CA94 50%, #C4A265 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Subtle Glow --- */
.glow-gold {
    box-shadow: 0 0 40px rgba(196, 162, 101, 0.15);
}

/* --- Fade-in Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        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);
    }

    .fade-in-section.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }

    .fade-in-section.delay-1 { transition-delay: 0.1s; }
    .fade-in-section.delay-2 { transition-delay: 0.2s; }
    .fade-in-section.delay-3 { transition-delay: 0.3s; }
    .fade-in-section.delay-4 { transition-delay: 0.4s; }
}

/* --- Mobile Menu --- */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* --- Form Select Arrow --- */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B8299' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}
