/* =========================================
   BnbAirBooking Enterprise Design System
   Theme: Midnight Navy & Metallic Gold
   Created 2026-11-20 from Jeremy's navy/gold poster.
   Link from any page with:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Montserrat:wght@700;800;900&display=swap" rel="stylesheet">
     <link rel="stylesheet" href="/design-system.css">
   The homepage (index.php) carries this same system inline.
   ========================================= */

:root {
  /* Core Corporate Palette */
  --navy-deep: #0B132B;
  --navy-mid: #1C2541;
  --navy-light: #3A506B;

  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #AA8C2C;

  /* Functional Colors */
  --text-main: #FFFFFF;
  --text-muted: #A0AABF;
  --bg-clean: #F8F9FA;
  --success: #10B981;

  /* UI Properties */
  --font-heading: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 4px 20px rgba(11, 19, 43, 0.08);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Resets & Typography */
body {
  font-family: var(--font-body);
  background-color: var(--bg-clean);
  color: #1F2937;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-decoration-color: var(--gold-primary);
  text-underline-offset: 3px;
}
a:hover { color: var(--gold-dark); }

/* Navigation Bar: deep navy, 1px gold bottom border */
header {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--gold-primary);
}
header a, .nav a { color: #fff; text-decoration: none; }
header a:hover, .nav a:hover { color: var(--gold-primary); }

/* Search Bars: pill, white, gold glow on focus */
input, select, textarea {
  font-family: var(--font-body);
  padding: 10px 14px;
  border: 1px solid #D6DEE7;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
  outline: none;
}

/* Buttons: navy with gold text, or gold with navy text. Never generic blue/green. */
button, .btn {
  padding: .7em 1.2em;
  border-radius: 999px;
  border: 0;
  background: var(--navy-deep);
  color: var(--gold-light);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(11, 19, 43, 0.3);
  transition: var(--transition);
}
button:hover, .btn:hover {
  background: var(--gold-primary);
  color: var(--navy-deep);
}
.btn-gold {
  background: var(--gold-primary);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-light); }

/* Listing Cards: white, soft shadow, 12px radius, gold top accent */
.card {
  background: #fff;
  border: 1px solid #e6ebf0;
  border-top: 3px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

/* Pills & badges */
.pill, .badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.16);
  color: #7a5f0a;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
}
.badge.live, .pill.gold { background: var(--gold-light); color: #6d5708; }

/* Footer: deep navy, 1px gold top border */
footer {
  background: var(--navy-deep);
  color: #cfe0ee;
  border-top: 1px solid var(--gold-primary);
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--gold-primary); }

/* Dark code blocks (API & developer pages): navy bg, gold/yellow highlighting */
pre, code {
  background: var(--navy-deep);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
}
