/* ============================================
   The Liquor Loft — Premium Dark Luxury Styles
   ============================================ */

/* --- Custom Tailwind Components --- */
.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #c9a84c 0%, #b8943f 50%, #a07830 100%);
    color: #0a1628;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e9c054 0%, #c9a84c 50%, #b8943f 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-btn:hover::before {
    opacity: 1;
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.gold-btn span,
.gold-btn svg {
    position: relative;
    z-index: 1;
}

/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1e3a5c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* --- Selection --- */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f9edc4;
}

/* --- Hero Content Animation --- */
.hero-content {
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scroll Reveal Animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* --- Parallax-like subtle effects --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        transform: translateY(40px);
    }
    .reveal-left {
        transform: translateX(-40px);
    }
    .reveal-right {
        transform: translateX(40px);
    }
}

/* --- Navbar Glass Effect --- */
.nav-scrolled {
    background: rgba(5, 13, 26, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Mobile Menu --- */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

/* --- Image Hover Effects --- */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Input Autofill --- */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a1628 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
}

/* --- Select Styling --- */
select option {
    background: #0a1628;
    color: #ffffff;
}

/* --- Gold Gradient Divider --- */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #c9a84c 50%, transparent 100%);
    opacity: 0.3;
}

/* --- Decorative Corner Accents --- */
.corner-accent {
    position: relative;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(201, 168, 76, 0.3);
    border-style: solid;
}

.corner-accent::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.corner-accent::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

/* --- Floating Gold Particles (decorative) --- */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .gold-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
    }

    /* Reduce parallax on mobile */
    .reveal-up,
    .reveal-left,
    .reveal-right {
        transform: none !important;
    }
}

/* --- Focus Visible for Accessibility --- */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* --- Print Styles --- */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    .gold-btn {
        background: #333 !important;
        color: white !important;
    }
}
