/* ========== BREWVERSE LUXURY STYLES ========== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --off-white: #F8F5F0;
  --warm-cream: #FFF8EE;
  --caramel: #C98B3B;
  --coffee-brown: #4B2E1E;
  --dark-espresso: #2A1A12;
  --soft-beige: #E8DCCB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--off-white); color: var(--dark-espresso); font-family: 'Inter', sans-serif; }
::selection { background: var(--caramel); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--soft-beige); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--caramel); }

/* ---- Navigation ---- */
.glass-nav {
  background: rgba(255, 248, 238, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 220, 203, 0.5);
  box-shadow: 0 10px 30px rgba(42, 26, 18, 0.05);
}
#navbar.scrolled .glass-nav {
  background: rgba(255, 248, 238, 0.95);
  box-shadow: 0 20px 40px rgba(42, 26, 18, 0.08);
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--coffee-brown);
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
}
.nav-link:hover { opacity: 1; color: var(--caramel); }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px;
  background: var(--caramel); transition: width 0.3s ease; border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

/* ---- Buttons ---- */
.btn-primary {
  background: var(--dark-espresso);
  color: var(--off-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(42, 26, 18, 0.2);
}
.btn-primary:hover {
  background: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 139, 59, 0.3);
}
.btn-secondary {
  background: var(--caramel);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(201, 139, 59, 0.2);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 139, 59, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--dark-espresso);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--soft-beige);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--warm-cream);
  border-color: var(--caramel);
  color: var(--caramel);
}

/* ---- Cards ---- */
.premium-card {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid var(--soft-beige);
  box-shadow: 0 10px 30px rgba(42, 26, 18, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(42, 26, 18, 0.08);
  border-color: rgba(201, 139, 59, 0.3);
}

/* ---- Stat Card ---- */
.stat-card {
  padding: 2rem;
  background: white;
  border-radius: 1.5rem;
  border: 1px solid var(--soft-beige);
  box-shadow: 0 4px 20px rgba(42, 26, 18, 0.02);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(201, 139, 59, 0.1), transparent 70%);
}

/* ---- Menu Card ---- */
.menu-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(42, 26, 18, 0.04);
  transition: all 0.4s ease;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(42, 26, 18, 0.1); }

/* ---- Customer Gallery ---- */
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,26,18,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- Animations ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 6s ease-in-out infinite; animation-delay: 3s; }

/* Steam Animation for Preloader */
.steam { animation: steamAnim 2s infinite ease-in-out; }
.steam-1 { animation-delay: 0s; }
.steam-2 { animation-delay: 0.4s; }
.steam-3 { animation-delay: 0.8s; }
@keyframes steamAnim {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-8px); }
}

/* Floating beans */
.floating-bean {
  position: absolute;
  width: 14px; height: 20px;
  background: var(--caramel);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.15;
  box-shadow: inset -2px -2px 5px rgba(0,0,0,0.2);
}

/* Typography Specifics */
.font-playfair { font-family: 'Playfair Display', serif; }
