@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');

:root {
  /* Timbers Brand Palette - Strict */
  --color-forest: #1A2F1C;
  /* Pine */
  --color-charcoal: #2A2120;
  /* Walnut */
  --color-warm-grey: #D7D2C3;
  /* Birch */
  --color-stone: #E0E0DB;
  /* Light Stone */
  --color-rust: #C17C54;
  /* Accent */
  --color-gold: #AB966B;
  /* Gold */
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Birdie's Specific - Normalized */
  --color-birdie-accent: #2C3E30;

  /* Typography */
  --font-display: "Bowlby One SC", sans-serif;
  /* Headlines */
  --font-ui: "Inter", sans-serif;
  /* UI / Body / Nav */
  --font-serif: "Playfair Display", serif;
  /* Minimal Accent */

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  /* 64px */
  --spacing-xxl: 5rem;
  /* 80px */

  /* Layout */
  --header-height: auto;
  --container-width: 1400px;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  background-color: var(--color-warm-grey);
  /* Birch */
  color: var(--color-charcoal);
  /* Walnut */
  line-height: 1.6;
  font-size: 16px;
}

/* Headings */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin-bottom: var(--spacing-sm);
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 36px;
  /* 32-44px range */
  line-height: 1.1;
  margin-bottom: 24px;
}

h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  text-transform: none;
  letter-spacing: normal;
}

h4,
h5,
h6 {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Specific UI overrides to use Sans */
.nav-link,
.btn,
.header-utility-right {
  font-family: var(--font-ui);
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-forest);
  /* Pine */
  color: var(--color-white);
  border-color: var(--color-forest);
}

.btn-primary:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-forest);
}

.btn-outline {
  border-color: var(--color-forest);
  color: var(--color-forest);
}

/* Global Utility Classes */
.hidden {
  display: none;
}

.mobile-only {
  display: none !important;
  /* Force hide on desktop */
}

/* Mobile Responsiveness */
/* Main Header */

.main-header {
  background-color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* height: auto; let content define */
}

/* Left: Brand */
.header-brand {
  flex: 0 0 auto;
  margin-right: var(--spacing-xl);
  /* Clear space for Logo */
}

.main-logo {
  height: 60px;
  /* 40-60px range */
  width: auto;
  /* Ensure T width spacing */
  margin: 5px;
}

/* Center: Nav */
.header-nav-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.main-nav {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  text-decoration: none;
  color: var(--color-charcoal);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-forest);
  border-bottom: 2px solid var(--color-forest);
}

/* Right: Utilities - Normalized */
.header-utility-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  /* Space between groups */
  font-size: 0.85rem;
  padding-left: var(--spacing-md);
  border-left: 1px solid var(--color-stone);
  /* Subtle divider */
}

.birdies-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: var(--spacing-md);
  border-right: 1px solid var(--color-stone);
  /* Match the left separator */
  margin-right: var(--spacing-md);
  /* Add spacing after the border */
}

.label-text {
  color: #888;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  /* Keep distinct from nav */
}

/* Normalized Links for Birdie's and Golf */
.link-birdie,
.link-golf {
  color: var(--color-charcoal) !important;
  /* Force same color */
  font-weight: 600;
  /* Same weight */
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.utility-separator {
  color: var(--color-stone);
  margin: 0 4px;
}

.link-order {
  color: var(--color-forest);
  font-weight: 600;
  text-transform: uppercase;
  margin-left: var(--spacing-md);
  /* Space from Bigwood cluster */
}

.btn-header-reserve {
  background: var(--color-forest);
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  /* Slight rounding or square? keeping square-ish brand */
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: var(--spacing-sm);
}

.btn-header-reserve:hover {
  background: var(--color-gold);
  color: var(--color-forest);
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-charcoal);
}

/* Hero Section */
.hero-section {
  height: 85vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  position: relative;
  padding: 0 var(--spacing-md);
}

/* Overlay for text readability - Increased per feedback */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 5rem;
  /* Larger for Display Font */
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  /* Woodcut feel */
}

.hero-content p {
  font-size: 1.4rem;
  /* Elegant secondary line */
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  font-family: var(--font-sans);
  /* Use Sans for clarity per user request "UI/Nav/Secondary" */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-utility {
  margin-top: var(--spacing-lg);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.95;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.hero-utility a {
  color: var(--color-white);
  text-decoration: underline;
  margin-left: 5px;
}


/* Teaser Sections */
.teaser-section {
  padding: var(--spacing-xl) 0;
}

.teaser-section.alternate-bg {
  background-color: var(--color-white);
}

.teaser-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.teaser-content.reverse {
  flex-direction: row-reverse;
}

.teaser-text {
  flex: 1;
}

.teaser-text h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-forest);
}

.teaser-text p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
  color: var(--color-charcoal);
}

.teaser-image-wrapper {
  flex: 1;
  height: 400px;
  overflow: hidden;
  /* border-radius: 4px; Optional softening */
}

.teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teaser-image:hover {
  transform: scale(1.03);
}

/* Base Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: 4px;
  min-width: 400px;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
.main-footer {
  background: var(--color-forest);
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-col {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-col.center {
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-sm);
  text-align: right;
  font-size: 0.9rem;
}

.footer-link {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}


/* Tile Grid - Refined Spacing */
.tile-section {
  padding-top: var(--spacing-xxl);
  /* More vertical spacing above gallery */
  padding-bottom: var(--spacing-xl);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  /* Slightly wider min */
  gap: 40px;
  /* Increased gutter */
}

.tile-card {
  text-decoration: none;
  color: var(--color-charcoal);
  display: block;
  transition: transform 0.3s;
}

.tile-card:hover {
  transform: translateY(-5px);
}

.tile-image {
  height: 300px;
  /* Taller images */
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: var(--spacing-md);
}

.tile-content h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--color-forest);
  font-family: var(--font-heading);
}

.tile-content p {
  color: #555;
  font-size: 1.1rem;
  font-family: var(--font-sans);
}

/* Mobile Responsiveness */
@media (max-width: 1100px) {

  /* Breakpoint for new wide header */
  .main-header {
    flex-wrap: wrap;
    height: auto;
  }

  .header-nav-center {
    order: 3;
    width: 100%;
    display: none;
    /* Hide for mobile initially */
    flex-direction: column;
    padding: var(--spacing-md) 0;
    background: var(--color-white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .header-nav-center.active {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .header-utility-right {
    display: none;
    /* Hide desktop util, move into mob menu */
  }

  /* Create a mobile specific utility section inside the menu if needed, 
     or just rely on JS to move items. For mockup, I'll stack them. */

  /* Mobile Menu Items injection would happen here in a real app. 
      For this mockup, I will rely on the HTML structure I build. */

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 40px;
    /* 38-48px Mobile */
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 16px;
  }

  h2 {
    font-size: 26px;
    /* 24-30px Mobile */
  }

  .tile-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teaser-content,
  .teaser-content.reverse {
    flex-direction: column;
  }

  .teaser-image-wrapper {
    width: 100%;
    height: 250px;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-col.center {
    align-items: center;
    text-align: center;
  }
}

/* Mobile Only links visibility - Outside the media query to be global or in 1100px query */
/* =========================================
   Menu Page Redesign (High-End)
   ========================================= */

/* Hero Overrides */
.refined-hero {
  height: 220px;
  /* Reduced from 320px for density */
  min-height: auto;
  padding-bottom: 0;
}

.refined-hero .hero-content h1 {
  font-size: 4rem;
  /* 64px */
  letter-spacing: 0.05em;
  margin-bottom: 0;
  text-shadow: none;
  /* Ensure clean look */
}

.hero-subtext {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-utility-row {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-utility-row a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.hero-utility-row a:hover {
  border-color: var(--color-white);
}

.hero-utility-row .sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}


/* Layout Grid */
/* Layout Grid */
.menu-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  /* Sticky Side + Content */
  gap: 60px;
  padding-top: 16px;
  /* Reduced from 48px */
  padding-bottom: 80px;
  position: relative;
  max-width: 1200px;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 120px;
  /* Offset for Header */
  align-self: start;
  padding-right: 20px;
}

.sidebar-header {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--color-forest);
  font-weight: 700;
}

.sidebar-link.active::before {
  content: '•';
  color: var(--color-forest);
  position: absolute;
  left: -15px;
}

.sidebar-link.muted {
  color: #aaa;
  pointer-events: none;
  /* Placeholder */
}

.sidebar-divider {
  height: 1px;
  background: var(--color-stone);
  margin: 10px 0;
  width: 40px;
}

.sidebar-footer {
  margin-top: 40px;
}

.pdf-link {
  font-size: 0.85rem;
  color: #888;
  text-decoration: underline;
}

/* Menu Content Area */
.menu-content {
  min-width: 0;
  /* Flex fix */
}

.content-utility-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-stone);
}

.btn-micro-reserve {
  background-color: var(--color-forest);
  color: white;
  border: none;
  padding: 8px 16px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-micro-reserve:hover {
  background-color: var(--color-gold);
  color: var(--color-forest);
}

.utility-links {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  gap: 15px;
}

.utility-links a {
  color: var(--color-forest);
}

/* Sections */
.menu-section {
  margin-bottom: 80px;
  scroll-margin-top: 140px;
  /* Offset for anchor scroll */
}

.menu-section-title {
  font-family: var(--font-display);
  /* Bowlby One SC */
  font-size: 2rem;
  /* 32px */
  color: var(--color-forest);
  margin-bottom: 24px;
  border-bottom: none;
  /* Removed underline style */
  text-align: left;
}

/* Menu Rows */
.menu-items-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Very subtle divider */
}

.menu-row:last-child {
  border-bottom: none;
}

.row-left {
  flex: 1;
  padding-right: 20px;
}

.item-name {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.dietary-icon {
  font-size: 0.7rem;
  vertical-align: middle;
  color: #999;
  border: 1px solid #ddd;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: 6px;
  font-weight: 400;
  text-transform: uppercase;
}

.item-desc {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
}

.row-right {
  flex: 0 0 auto;
}

.item-price {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

/* Disclaimer */
.menu-disclaimer {
  margin-top: 60px;
  font-size: 0.8rem;
  color: #999;
  line-height: 1.5;
  border-top: 1px solid var(--color-stone);
  padding-top: 20px;
}

/* Mobile Styling */
.mobile-pill-nav {
  display: none;
  /* Hidden on Desktop */
  background: var(--color-white);
  border-bottom: 1px solid var(--color-stone);
  position: sticky;
  top: 60px;
  /* Below main header */
  z-index: 900;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pill-container {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 0 var(--spacing-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.pill-container::-webkit-scrollbar {
  display: none;
}

.pill-link {
  white-space: nowrap;
  padding: 6px 16px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: all 0.2s;
}

.pill-link.active,
.pill-link:active {
  background: var(--color-forest);
  color: white;
}


/* Media Queries for Menu Redesign */
@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr;
    /* Stack */
    gap: 40px;
    padding-top: 20px;
  }

  .sticky-sidebar {
    display: none;
    /* Hide sidebar */
  }

  .mobile-pill-nav {
    display: block;
    /* Show pill nav */
    top: 63px;
    /* Adjust based on header height */
  }

  .refined-hero {
    height: 240px;
  }

  .refined-hero .hero-content h1 {
    font-size: 2.5rem;
  }

  .content-utility-strip {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .utility-links {
    width: 100%;
    justify-content: space-between;
  }
}

/* END Menu Redesign */

/* Mobile Only links visibility - Outside the media query to be global or in 1100px query */

@media (max-width: 1100px) {
  /* No need to redeclare .mobile-only display:none, it's global now */

  .header-nav-center.active .mobile-only {
    display: block !important;
    text-align: center;
    padding: 10px;
    width: 100%;
    border-top: 1px solid #ddd;
  }
}

/* =========================================
   New Homepage Split Sections (Screen Takeover)
   ========================================= */

.split-section {
  display: flex;
  min-height: 80vh;
  width: 100%;
  background-color: var(--color-white);
}

.split-section.warm {
  background-color: var(--color-warm-grey);
}

.split-image-side {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.split-content-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xxl);
  text-align: center;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content-side h2 {
  font-size: 3rem;
  color: var(--color-forest);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-display);
}

.split-content-side p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  color: var(--color-charcoal);
  font-family: var(--font-ui);
}

@media (max-width: 900px) {

  .split-section,
  .split-section.reverse {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .split-image-side {
    width: 100%;
    height: 400px;
    flex: none;
  }

  .split-content-side {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .split-content-side h2 {
    font-size: 2.5rem;
  }
}
/* Mean Hero Row */
.menu-hero-row {
  display: flex;
  height: 350px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.menu-hero-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.menu-overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25); /* Subtle overlay for text pop */
  z-index: 10;
  pointer-events: none;
}

.menu-overlay-text h1 {
  font-size: 6rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin: 0;
}

@media (max-width: 768px) {
  .menu-hero-row {
    height: 250px;
  }
  .menu-overlay-text h1 {
    font-size: 3.5rem;
  }
}

