/* ============================================
   VULCANO GRILL — Brand Design System
   Fuengirola, Costa del Sol
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */

:root {
  /* --- Brand Colors (from logo gradient ring) --- */
  --brand-orange:     #f26c2a;
  --brand-magenta:    #e040a0;
  --brand-purple:     #7b2ddb;

  /* --- Background Scale --- */
  --bg:               #09090b;
  --bg-surface:       #111114;
  --bg-elevated:      #18181c;
  --bg-overlay:       rgba(9, 9, 11, 0.85);

  /* --- Text Scale --- */
  --text:             #eae7e2;
  --text-muted:       #8a8a8e;
  --text-faint:       #4a4a4e;

  /* --- Accent (fire glow) --- */
  --accent:           var(--brand-orange);
  --accent-glow:      rgba(242, 108, 42, 0.35);

  /* --- Borders --- */
  --border:           rgba(255, 255, 255, 0.08);
  --border-hover:     rgba(255, 255, 255, 0.18);

  /* --- Brand Gradients --- */
  --gradient-brand:   linear-gradient(135deg, var(--brand-orange), var(--brand-magenta), var(--brand-purple));
  --gradient-fire:    linear-gradient(180deg, #f26c2a 0%, #e8441a 50%, #c42a00 100%);
  --gradient-dark:    linear-gradient(180deg, var(--bg) 0%, var(--bg-surface) 100%);
  --gradient-glow:    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(242, 108, 42, 0.2) 0%, transparent 70%);

  /* --- Typography --- */
  --font-display:     'Playfair Display', Georgia, serif;   /* títulos premium */
  --font-body:        'Outfit', system-ui, sans-serif;      /* cuerpo, UI */

  /* --- Spacing (8px grid) --- */
  --space-xs:   0.5rem;   /*  8px */
  --space-sm:   1rem;     /* 16px */
  --space-md:   1.5rem;   /* 24px */
  --space-lg:   2rem;     /* 32px */
  --space-xl:   3rem;     /* 48px */
  --space-2xl:  4rem;     /* 64px */
  --space-3xl:  6rem;     /* 96px */

  /* --- Border Radius --- */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:   0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:   0 8px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(242, 108, 42, 0.25);

  /* --- Transitions --- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   600ms;
}

/* ============================================
   CSS RESET & BASE
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY SCALE
   ============================================ */

.display-1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.heading-1 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.heading-2 {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.heading-3 {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================
   BRAND UTILITIES
   ============================================ */

/* Gradient text */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Brand border (gradient) */
.brand-border {
  position: relative;
  border-radius: var(--radius-md);
}

.brand-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-brand);
  z-index: -1;
}

.brand-border::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-md) - 1px);
  background: var(--bg-surface);
  z-index: -1;
}

/* Glow effects */
.glow-orange { box-shadow: var(--shadow-glow); }
.glow-text   { text-shadow: 0 0 30px rgba(242, 108, 42, 0.5); }

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}

.nav__link {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: var(--bg-elevated);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(242, 108, 42, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(242, 108, 42, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

/* ============================================
   SECTION LAYOUT
   ============================================ */

.section {
  padding: var(--space-3xl) var(--space-sm);
  max-width: 1280px;
  margin: 0 auto;
}

.section--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__header .label {
  margin-bottom: var(--space-sm);
  display: block;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   DIVIDERS & DECORATIVE
   ============================================ */

.divider-brand {
  width: 60px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  margin: var(--space-md) auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  .nav {
    padding: var(--space-xs);
    gap: 2px;
  }

  .nav__link {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
}
