/* ─── Base & Typography ─── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', Helvetica Neue, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

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

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070e0a;
}
::-webkit-scrollbar-thumb {
    background: #2d4a3e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* ─── Scroll Line Animation ─── */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ─── Floating Stat Cards ─── */
.card-float-1 {
    animation: float1 6s ease-in-out infinite;
}
.card-float-2 {
    animation: float2 7s ease-in-out infinite;
}
.card-float-3 {
    animation: float3 5.5s ease-in-out infinite;
}
.card-float-4 {
    animation: float4 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ─── Reveal Animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

#navbar.scrolled {
    background: rgba(7, 14, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* ─── Mobile Menu ─── */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

/* ─── Button Hover Effects ─── */
a[href="#wines"],
a[href="#visit"],
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

/* ─── Input Focus ─── */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
}

/* ─── Image Hover ─── */
img {
    transition: filter 0.3s ease;
}

img:hover {
    filter: brightness(1.05);
}

/* ─── Selection for select dropdown ─── */
select option {
    background: #070e0a;
    color: #f5f0e8;
}

/* ─── Divider Lines ─── */
div[class*="border-t"] {
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.15), transparent);
}

/* ─── Gold Accent Line ─── */
.w-12.h-px.bg-supery-gold {
    background: linear-gradient(to right, #c9a84c, rgba(201, 168, 76, 0.3));
}
