/* =========================================================================
   WHERE IS YA BEAN — GLOBAL STYLES
   Shared across all pages (index.html, catering.html, …).
   Page-specific styling lives in each page's own <style> block.
   ========================================================================= */

:root {
  /* Color Palette — drawn from the "Where Is Ya Bean?" sign logo */
  --bg-color: #fbf6ea;       /* Warm sunny cream (sunset behind the bean) */
  --text-main: #232c49;      /* Deep navy-charcoal for body text */
  --text-muted: #5d6786;     /* Muted slate-navy for secondary text */
  --ochre-deep: #c1820f;     /* Warm amber-gold — accents/links on cream */
  --ochre-light: #ffd21e;    /* Bright logo yellow — accents on navy & hovers */
  --coffee-dark: #1c2a57;    /* Deep sign navy — dark sections & headings */
  --coffee-medium: #2c3d6e;  /* Lighter navy — cards on dark sections */
  --white: #ffffff;
  --yellow: #ffd21e;         /* Bright logo yellow */
  --navy: #1c2a57;           /* Deep sign navy */
  --red: #d83b2f;            /* Heart red — small accents */
}

/* Base Resets & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  color: var(--coffee-dark);
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navigation — transparent & full-size over the hero, shrinks to a solid bar on scroll */
nav {
  background-color: transparent;
  padding: 30px 0;
  border-bottom: 2px solid transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
nav.is-scrolled {
  background-color: var(--white);
  padding: 12px 0;
  border-bottom: 2px solid #ddd3bd;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 90px; width: auto; display: block; transition: height 0.35s ease; }
nav.is-scrolled .nav-logo { height: 68px; }
.nav-links a {
  text-decoration: none;
  color: var(--white);
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active-section { color: var(--ochre-light); }
nav.is-scrolled .nav-links a { color: var(--text-main); }
nav.is-scrolled .nav-links a:hover, nav.is-scrolled .nav-links a.active-section { color: var(--ochre-deep); }
.nav-cta {
  background-color: var(--coffee-dark);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 5px;
}
.nav-cta:hover { background-color: var(--yellow); color: var(--navy) !important; }

/* Anchor-jump targets shouldn't land underneath the fixed nav */
[id] { scroll-margin-top: 90px; }

/* Hero / Banner */
.hero {
  position: relative;
  background-color: var(--coffee-dark);
  color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero em { color: var(--ochre-light); font-style: italic; font-weight: 400; }
.hero .lede { max-width: 700px; margin: 0 auto 30px; color: #d7dcee; font-size: 1.1rem; }
.hero .wrap { position: relative; z-index: 1; width: 100%; }

/* Hero text/buttons fade in on load, staggered */
.hero h1, .hero .lede, .hero .hero-cta {
  opacity: 0;
  animation: heroFadeIn 1.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero h1 { animation-delay: 0.3s; }
.hero .lede { animation-delay: 0.85s; }
.hero .hero-cta { animation-delay: 1.4s; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede, .hero .hero-cta { animation: none; opacity: 1; }
}

/* Hero rolling drone footage background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/hero-poster.jpg');
  background-size: cover;
  background-position: center;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,87,0.6), rgba(28,42,87,0.82));
}
/* Respect reduced-motion preference: show the poster frame only */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin: 5px;
  transition: 0.3s;
}
.btn-primary {
  background-color: var(--yellow);
  color: var(--navy);
  border: 2px solid var(--yellow);
}
.btn-primary:hover { background-color: #ffe066; border-color: #ffe066; }
.btn-ghost { border: 2px solid var(--bg-color); color: var(--bg-color); }
.btn-ghost:hover { background-color: var(--bg-color); color: var(--coffee-dark); }
/* Ghost button on a light background (e.g. inside a section) */
.btn-ghost-dark { border: 2px solid var(--coffee-dark); color: var(--coffee-dark); }
.btn-ghost-dark:hover { background-color: var(--coffee-dark); color: var(--white); }

/* Generic Section Styling */
section { padding: 80px 0; }
.sec-title { text-align: center; margin-bottom: 50px; }
.sec-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.sec-title p { color: var(--text-muted); font-size: 1.1rem; }
/* Alternating section backgrounds */
.section-cream { background-color: var(--bg-color); }
.section-white { background-color: var(--white); }
.section-navy { background-color: var(--coffee-dark); color: var(--bg-color); }
.section-navy .sec-title h2 { color: var(--white); }
.section-navy .sec-title p { color: #d7dcee; }
.section-navy em { color: var(--ochre-light); font-style: normal; }

/* Cards (reusable) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.dish {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-top: 4px solid var(--ochre-deep);
  transition: transform 0.3s;
}
.dish:hover { transform: translateY(-5px); }
.dish h3 { margin-bottom: 10px; font-size: 1.4rem; color: var(--coffee-dark); }
.dish p { color: var(--text-muted); }
/* Alias kept for existing markup */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Column sub-heading */
.col-title, .menu-half-title {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--coffee-dark);
  margin-bottom: 25px;
}

/* Download buttons / list (reusable) */
.downloads {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--bg-color);
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--ochre-deep);
}
.downloads p.dl-lede { color: var(--text-muted); margin-bottom: 25px; }
.dl-btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid #e2dccf;
  border-radius: 6px;
  text-decoration: none;
  color: var(--coffee-dark);
  font-weight: 600;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.dl-btn:last-child { margin-bottom: 0; }
.dl-btn:hover { border-color: var(--ochre-deep); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.06); }
.dl-btn .dl-icon { color: var(--ochre-deep); font-size: 1.3rem; line-height: 1; }
.dl-btn small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }

/* Forms (reusable) */
.form-row { display: flex; gap: 15px; }
.form-row .field { flex: 1; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2dccf;
  border-radius: 5px;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ochre-deep);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 15px; }

/* Footer */
footer { background-color: var(--text-main); color: var(--white); padding: 56px 0 32px; text-align: center; }

/* Two-column layout: social embeds on the left, brand/contact info on the right */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
}
.footer-embeds { flex: 0 0 auto; }
.footer-info { flex: 1 1 260px; text-align: left; }

/* Large trendy wordmark */
.footer-mark {
  font-family: 'Comic Neue', cursive;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--ochre-light);
}

.foot-meta { margin-top: 20px; font-size: 0.85rem; color: #9aa3c4; font-style: normal; }
.foot-meta a { color: var(--ochre-light); text-decoration: none; }

/* Footer — social icon links */
.footer-social { display: flex; justify-content: flex-start; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--yellow);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.footer-social a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* Footer — social post embeds */
.social-embeds {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.social-embed { width: 340px; max-width: 100%; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 12px; }
.social-embed h3 { color: var(--yellow); font-size: 0.8rem; margin-bottom: 6px; }
.social-embed iframe { width: 100%; height: 420px; border: none; border-radius: 6px; display: block; background: #fff; }

/* Fallback card for platforms with no embeddable feed (e.g. Instagram) */
.social-fallback {
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
}
.social-fallback p { line-height: 1.4; }

/* Animations */
.fade-in-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, visibility; }
.fade-in-section.is-visible { opacity: 1; transform: none; }

/* Shared Mobile Responsiveness */
@media(max-width: 768px) {
  .form-row { flex-direction: column; gap: 0; }
  .nav-links a { display: none; }
  .nav-links a.nav-cta { display: inline-block; }
  .hero { min-height: 100vh; padding: 170px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .sec-title h2 { font-size: 2rem; }
  .footer-grid { flex-direction: column; align-items: center; }
  .footer-info { text-align: center; }
  .footer-social { justify-content: center; }
  .social-embeds { justify-content: center; }
}
</content>
