/* ============================================
   VINO NOIR — Custom Styles
   ============================================ */

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

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

body {
    background-color: #060D18;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
}

/* --- Geometric Background Shapes --- */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.04) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.08) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 138px 80px;
    border-color: transparent transparent rgba(94, 234, 212, 0.04) transparent;
    top: 30%;
    right: 5%;
    transform: rotate(15deg);
    animation: spin-slow 30s linear infinite;
}

.geo-rect {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(94, 234, 212, 0.06);
    border-radius: 20px;
    bottom: 15%;
    right: 15%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
    from { transform: rotate(15deg); }
    to { transform: rotate(375deg); }
}

/* --- Navbar --- */
#navbar.scrolled {
    background: rgba(6, 13, 24, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5EEAD4, #10B981);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
#menu-toggle[aria-expanded="true"] .line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle[aria-expanded="true"] .line-2 {
    opacity: 0;
}

#menu-toggle[aria-expanded="true"] .line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.mobile-link {
    transition: all 0.3s ease;
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, #5EEAD4 0%, #10B981 100%);
    color: #060D18;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(94, 234, 212, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(94, 234, 212, 0.4);
    color: #060D18;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 9999px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-secondary:hover {
    border-color: #5EEAD4;
    color: #5EEAD4;
    background: rgba(94, 234, 212, 0.05);
}

/* --- Info Pills --- */
.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    backdrop-blur-sm;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bob 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(94, 234, 212, 0.5), transparent);
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Menu Cards --- */
.menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.wine-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wine-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* --- Gallery --- */
.gallery-item {
    cursor: pointer;
}

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

/* --- Stats --- */
.stat-item {
    text-align: left;
}

/* --- Floating Card --- */
.floating-card {
    animation: float-slow 6s ease-in-out infinite;
}

/* --- Input Fields --- */
.input-field {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.input-field:focus {
    border-color: #5EEAD4;
    background: rgba(94, 234, 212, 0.05);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1);
}

.input-field option {
    background: #0D1B2A;
    color: #ffffff;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    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.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Hero Badge Animation --- */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }

    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }

    .geo-triangle {
        border-width: 0 40px 69px 40px;
    }

    .geo-rect {
        width: 60px;
        height: 60px;
    }
}
