/* ==========================================================================
   CAFETERÍA BREW - MAIN DESIGN SYSTEM & GLOBAL STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #070606;
  --bg-main: #0c0b0a;
  --bg-surface: #141210;
  --bg-surface-2: #1c1916;
  --bg-card: #151311;
  --bg-card-hover: #1f1b17;
  
  /* Gold & Warm Accents */
  --gold-primary: #d49b4b;
  --gold-light: #e5ac58;
  --gold-bright: #efc88b;
  --gold-dark: #b87b2e;
  --gold-deep: #8f5a1d;
  --gold-gradient: linear-gradient(135deg, #f3be7a 0%, #d49b4b 50%, #ad7024 100%);
  --gold-gradient-soft: linear-gradient(180deg, rgba(229, 172, 88, 0.15) 0%, rgba(229, 172, 88, 0.02) 100%);
  --gold-glow: rgba(212, 155, 75, 0.22);
  --gold-glow-intense: rgba(229, 172, 88, 0.45);
  --gold-border: rgba(212, 155, 75, 0.25);
  --gold-border-subtle: rgba(212, 155, 75, 0.12);
  
  /* Text Colors */
  --text-pure: #ffffff;
  --text-primary: #f5efe6;
  --text-secondary: #c2b7a9;
  --text-muted: #7d7367;
  --text-gold: #e5ac58;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 32px rgba(212, 155, 75, 0.2);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

/* Base Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(35, 25, 18, 0.5) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(40, 28, 18, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(30, 22, 16, 0.3) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Sections */
.section {
  padding: 90px 0;
  position: relative;
}

/* Headings & Texts */
h1, h2, h3, h4 {
  color: var(--text-pure);
  font-weight: 600;
  line-height: 1.25;
}

.section-title-wrap {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.title-ornament {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.line-ornament {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.coffee-bean-icon {
  color: var(--gold-light);
  font-size: 0.9rem;
  opacity: 0.9;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

/* Gold Gradient Text */
.gold-text-glow {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(212, 155, 75, 0.4);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: all var(--transition-smooth);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #160e06;
  box-shadow: 0 4px 18px rgba(212, 155, 75, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 172, 88, 0.5);
  filter: brightness(1.06);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
  background: rgba(229, 172, 88, 0.05);
}

.btn-outline {
  background: rgba(20, 18, 16, 0.8);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px 28px;
}

.btn-outline:hover {
  background: var(--gold-light);
  color: #120e09;
  border-color: var(--gold-light);
  box-shadow: 0 4px 18px rgba(212, 155, 75, 0.35);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-block {
  width: 100%;
}

/* Animations */
@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes floatSteam {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-10px) scale(1.04); opacity: 0.8; }
  100% { transform: translateY(0) scale(1); opacity: 0.6; }
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #2a241e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}
