/* ============================================
   THE COMMONERS BAR - CLASSIC PROFESSIONAL
   Deep Midnight Blue, Refined Gold, White
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* === ROOT VARIABLES === */
:root {
  /* Classic Professional Palette */
  --bg-primary: #FFFFFF;
  /* White - Clean Standard */
  --bg-secondary: #F8F9FA;
  /* Light Grey - Section diff */
  --bg-dark: #0A192F;
  /* Deep Midnight Blue - Professional Header/Footer */

  --text-primary: #1F2937;
  /* Charcoal for reading */
  --text-secondary: #4B5563;
  /* Muted Grey */
  --text-inverse: #FFFFFF;
  /* White text on dark bg */

  --accent-gold: #D4AF37;
  /* Refined Gold - Elegant */
  --accent-gold-hover: #B5952F;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;

  /* Layout */
  --header-height: 80px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--bg-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-dark);
  /* Solid Professional Blue */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #FFF;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-gold);
}

.btn-order {
  padding: 0.8rem 1.8rem;
  background: var(--accent-gold);
  color: #FFF;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.btn-order:hover {
  background: var(--accent-gold-hover);
}

.menu-toggle {
  display: none;
  color: #FFF;
  font-size: 1.5rem;
  background: none;
  border: none;
}

/* === HERO SECTION === */
.hero {
  height: 85vh;
  background: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.4)), url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?w=1600') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFF;
  margin-top: var(--header-height);
}

.hero h1 {
  color: #FFF;
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--accent-gold);
}

.btn-hero {
  border: 2px solid #FFF;
  padding: 1rem 2.5rem;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.btn-hero:hover {
  background: #FFF;
  color: var(--bg-dark);
}

/* === SECTIONS === */
.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 700;
}

/* === HERITAGE (ZIG ZAG) === */
.heritage-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.heritage-block:nth-child(even) .heritage-text {
  order: 2;
}

/* ZigZag */
.heritage-block img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.heritage-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.heritage-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* === MENU GRID (For menu.html) === */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-item {
  background: #FFF;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  border: 1px solid #eee;
}

.menu-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.menu-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.menu-price {
  color: var(--accent-gold);
  font-weight: 700;
}

/* === CONTACT === */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  font-family: var(--font-body);
}

/* === FOOTER (Clean Professional) === */
.footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #FFF;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #777;
}

/* === RESPONSIVE === */
.mobile-menu {
  display: none;
}

/* Global Hide */

@media (max-width: 900px) {

  .nav-menu,
  .btn-order {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .heritage-block,
  .contact-wrapper,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .heritage-block:nth-child(even) .heritage-text {
    order: 0;
  }

  /* Reset ZigZag */

  .mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 2rem;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-menu a {
    color: #FFF;
    font-size: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}