/* ═══════════════════════════════════════════
   Bubble Top — Custom Styles
   Premium Dark Luxury · Forest Green + Gold
   ═══════════════════════════════════════════ */

/* ── Base / Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #faf8f4;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #08120c;
}
::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ── Header ── */
#site-header {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#site-header.scrolled {
    background: rgba(8, 18, 12, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.nav-link {
    position: relative;
}

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

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

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

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

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 60%;
}

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

/* ── Craft Cards ── */
.craft-card {
    position: relative;
}

.craft-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 168, 76, 0);
    border-radius: inherit;
    transition: border-color 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.craft-card:hover::before {
    border-color: rgba(201, 168, 76, 0.25);
}

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

/* ── Signature Items ── */
.signature-item {
    padding: 1.25rem;
    border: 1px solid rgba(201, 168, 76, 0.06);
    border-radius: 4px;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.signature-item:hover {
    border-color: rgba(201, 168, 76, 0.2);
    background: rgba(201, 168, 76, 0.03);
}

.signature-item img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Scroll Reveal (below fold only) ── */
.reveal {
    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);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Button hover effects ── */
a[href="#signature"],
a[href="#visit"] {
    position: relative;
    overflow: hidden;
}

/* ── Gold shimmer on CTA ── */
.bg-gold-500 {
    position: relative;
}

.bg-gold-500::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.bg-gold-500:hover::after {
    left: 100%;
}

/* ── Image aspect ratios ── */
img {
    max-width: 100%;
    height: auto;
}

/* ── Focus styles ── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── Utility ── */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}
