/* Hanford Rice Bowl — shared styles */
/* Google Fonts (Cardo, Montserrat, Vollkorn) are loaded via <link> in each page's <head>, not @import here — @import forces a request waterfall (CSS must download+parse before fonts are even discovered). */

:root {
  --color-green: #7cae49;
  --color-red: #c23b3b;
  --color-dark-red: #9c1d1d;
  --color-cream: #f9f5ee;
  --color-text: #2a2a2a;
  --color-text-muted: #5a5a5a;
  --font-body: 'Cardo', serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-headline: 'Vollkorn', serif;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
}

.figure--compact {
  max-width: 500px;
}

a {
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  color: #3f3f3f;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-logo img {
  height: 110px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--color-text);
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--color-red);
}

.nav-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 39px;
  height: 28px;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 39px;
  height: 4px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 12px;
}

.nav-toggle span:nth-child(3) {
  top: 24px;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 12px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 12px;
  transform: rotate(-45deg);
}

@media (max-width: 1150px) {
  .nav-toggle {
    display: block;
    margin-bottom: 12px;
  }

  .site-logo img {
    height: 80px;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
  }

  .site-nav li {
    border-bottom: 1px solid #eee;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
  }
}

/* ---- Hero banner ---- */

.hero {
  background-size: cover;
  background-position: center 36%;
  background-repeat: no-repeat;
  position: relative;
  padding: 90px 20px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero.hero--sub::before {
  content: none;
}

.hero-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero-tagline {
  font-family: var(--font-heading);
  color: #fff;
  letter-spacing: 2px;
  font-size: 18px;
  margin: 0 0 28px;
}

.hero.hero--sub {
  height: 187px;
  padding: 0;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 40px;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #6a9a3c;
  color: #fff;
}

/* ---- Page content ---- */

.page-section {
  padding: 50px 0;
}

.page-section h1,
.page-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-green);
  font-size: 32px;
  margin-top: 0;
}

.page-intro {
  font-size: 18px;
}

hr.divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px 0;
}

/* ---- Info block (hours / address / phone) ---- */

.info-block {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.info-block h2 {
  color: var(--color-text);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 24px;
  margin-bottom: 4px;
}

.info-block h2:first-child {
  margin-top: 0;
}

.info-block p {
  margin: 0 0 4px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

/* ---- Gallery ---- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 700px) {
  .gallery,
  .gallery--4 {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  border: 1px solid #eee;
}

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

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

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-family: var(--font-heading);
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ---- Lightbox ---- */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---- Two-column layout (banquet rooms, party trays) ---- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 700px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.two-col figure {
  margin: 0;
}

.two-col figcaption {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.two-col iframe {
  width: 100%;
  border: none;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-cream);
  border-top: 1px solid #e5ded0;
  padding: 40px 0 30px;
}

.site-footer h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 10px;
}

.footer-map {
  max-width: 350px;
}

.footer-map iframe {
  width: 100%;
  height: 150px;
  border: none;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 30px;
}
