/* ============================================
   BAR DULCINEA — Custom Styles
   Premium Dark Luxury · Emerald & Gold
   ============================================ */

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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #0A0F0D;
  color: #F5F0E8;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

/* Focus visible */
:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

/* Smooth image rendering */
img {
  -webkit-font-smoothing: antialiased;
  image-rendering: auto;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 15, 13, 0.8);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(10, 15, 13, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MOBILE MENU
   ============================================ */
#menu-btn.active #bar1 {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active #bar2 {
  opacity: 0;
}
#menu-btn.active #bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MENU TABS
   ============================================ */
.menu-tab {
  background: rgba(245, 240, 232, 0.05);
  color: rgba(245, 240, 232, 0.6);
  border: 1px solid rgba(245, 240, 232, 0.1);
  transition: all 0.3s ease;
}

.menu-tab:hover {
  background: rgba(201, 168, 76, 0.1);
  color: #C9A84C;
  border-color: rgba(201, 168, 76, 0.3);
}

.menu-tab.active {
  background: linear-gradient(135deg, #C9A84C, #D4B96A);
  color: #0A0F0D;
  border-color: #C9A84C;
  font-weight: 600;
}

/* Hide non-active menu content */
.menu-content {
  display: none;
}

.menu-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

/* ============================================
   FORM STYLES
   ============================================ */
select option {
  background: #141E18;
  color: #F5F0E8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  .font-display {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  /* Tablet adjustments */
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .float { animation: none; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  body { background: white; color: black; }
  .grain::after { display: none; }
  nav, #mobile-menu { display: none; }
}
