/* ===================================================
   THE BEACON MARKETPLACE & CAFE
   Palette: Navy #1C2B4A | Cream #F8F4EE | Amber #C8894A
   Fonts: Cormorant Garamond (headings) | Jost (body)
=================================================== */

:root {
  --navy:   #1C2B4A;
  --navy-light: #2A3F6A;
  --amber:  #C8894A;
  --amber-light: #E0A96A;
  --cream:  #F8F4EE;
  --cream-dark: #EDE8DF;
  --text:   #1A1A1A;
  --muted:  #6B6B6B;
  --white:  #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}

img { display: block; }

/* ---- SECTION SHARED ---- */
.section-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title.light,
.section-eyebrow.light {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- NAVBAR ---- */
#mainNav {
  background: var(--navy);
  padding: 0.75rem 0;
  transition: box-shadow 0.3s;
  z-index: 1000;
}

#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-logo {
  filter: brightness(10);
  opacity: 0.9;
  border-radius: 2px;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.navbar-brand { text-decoration: none; }

.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--amber-light) !important; }

.btn-order {
  background: var(--amber);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  border: none;
  transition: background 0.2s;
}

.btn-order:hover {
  background: var(--amber-light);
  color: var(--white);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- HERO ---- */
#hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 43, 74, 0.45) 0%,
    rgba(28, 43, 74, 0.35) 60%,
    rgba(28, 43, 74, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 2rem 1rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.btn-hero-primary {
  background: var(--amber);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero-primary:hover {
  background: var(--amber-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.2s, border-color 0.2s;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

/* ---- OFFERINGS ---- */
.section-offers {
  padding: 0;
}

.offers-grid {
  min-height: 420px;
}

.offer-card {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: default;
}

@media (min-width: 768px) {
  .offer-card { height: 360px; }
}

.offer-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,43,74,0.85) 0%, rgba(28,43,74,0.2) 60%);
  transition: background 0.35s;
}

.offer-card:hover .offer-card-overlay {
  background: linear-gradient(to top, rgba(28,43,74,0.92) 0%, rgba(28,43,74,0.35) 60%);
}

.offer-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem;
  color: var(--white);
  z-index: 1;
}

.offer-card-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.offer-card-body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  margin: 0;
  line-height: 1.5;
}

/* ---- HOURS RIBBON ---- */
.hours-ribbon {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  padding: 1rem 0;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.hours-ribbon strong { color: var(--white); }

.ribbon-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}

.ribbon-link {
  color: var(--amber-light);
  text-decoration: none;
}

.ribbon-link:hover { color: var(--white); }

/* ---- MENU ---- */
.section-menu {
  background: var(--white);
  padding: 6rem 0;
}

.menu-cat-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.menu-photo {
  object-fit: cover;
  height: 340px;
  width: 100%;
}

.menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-item {
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
}

.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.menu-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.btn-primary-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary-navy:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* ---- PROVISIONS ---- */
.section-provisions {
  background: var(--cream);
  padding: 6rem 0;
}

.provisions-img {
  object-fit: cover;
  height: 480px;
}

.provisions-body {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.provision-tag {
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--cream-dark);
}

.provision-tag i { color: var(--amber); }

/* ---- CATERING ---- */
.section-catering {
  background: var(--navy);
  padding: 6rem 0;
}

.catering-body {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.catering-photo-wrap {
  position: relative;
}

.catering-photo-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--amber);
  z-index: 0;
}

.catering-photo {
  position: relative;
  z-index: 1;
  object-fit: cover;
  height: 420px;
}

.btn-catering {
  background: var(--amber);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-catering:hover {
  background: var(--amber-light);
  color: var(--white);
}

/* ---- EVENTS ---- */
.section-events {
  background: var(--white);
  padding: 6rem 0;
}

.events-photo {
  object-fit: cover;
  height: 460px;
}

.event-card {
  background: var(--cream);
  padding: 2.5rem;
  border-left: 4px solid var(--amber);
}

.event-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.event-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.event-detail-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}

.event-detail-row i {
  color: var(--amber);
  font-size: 1rem;
  width: 18px;
  flex-shrink: 0;
}

.event-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.event-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.event-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* ---- GALLERY ---- */
.section-gallery {
  background: var(--cream-dark);
  padding: 5rem 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 4px;
  margin-top: 2.5rem;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
}

/* ---- ABOUT ---- */
.section-about {
  background: var(--white);
  padding: 6rem 0;
}

.about-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.about-stats {
  margin-top: 2rem;
}

.stat-block {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--cream-dark);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ---- FIND US ---- */
.section-findus {
  background: var(--cream);
  padding: 6rem 0;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.contact-icon {
  color: var(--amber);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover { color: var(--amber); }

.map-wrap {
  height: 100%;
  min-height: 380px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-logo {
  filter: brightness(10);
  opacity: 0.85;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--amber-light); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,0.55);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--amber-light); }

.footer-powered {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.6;
}

.powered-link {
  color: var(--amber-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.powered-link:hover { color: var(--white); }

.footer-hr {
  border-color: rgba(255,255,255,0.12);
  margin: 2rem 0 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ---- NEWSLETTER ---- */
.section-subscribe {
  background: var(--cream-dark);
  padding: 5rem 0;
}

.subscribe-form {
  max-width: 480px;
}

.subscribe-input {
  flex: 1;
  padding: 0.75rem 1.1rem;
  border: 1px solid #D0C8BC;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  min-width: 0;
}

.subscribe-input:focus {
  border-color: var(--amber);
}

/* ---- GALLERY padding fix ---- */
.section-gallery { padding-bottom: 5rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .catering-photo-wrap::before { display: none; }
  .catering-photo { height: 320px; }
  .events-photo { height: 320px; }
  .provisions-img { height: 320px; }
  .menu-photo { height: 280px; }
}

@media (max-width: 767px) {
  .section-menu, .section-provisions, .section-catering,
  .section-events, .section-about, .section-findus { padding: 4rem 0; }

  .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .hero-sub { font-size: 0.95rem; }

  #hero { min-height: 100svh; }

  .brand-name { font-size: 1rem; }

  .menu-photo { height: 220px; }
  .events-photo { height: 240px; }
  .provisions-img { height: 260px; }
  .catering-photo { height: 260px; }

  .map-wrap, .map-wrap iframe { min-height: 260px; }

  .offer-card { height: 200px; }

  .offer-card-body h3 { font-size: 1.1rem; }
  .offer-card-body p { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 200px; }
}
