/* ==============================
   Google font – rustic headers
   ============================== */
@import url("https://fonts.googleapis.com/css2?family=Alegreya:wght@500;700&display=swap");

/* ==============================
   Base + tokens
   ============================== */

:root {
  --navy: #0a1a44;
  --red: #b3001b;
  --bg-wood: #f3e1c9;
  --text-main: #1a1a1a;
  --text-muted: #555;
  --card-bg: rgba(255, 255, 255, 0.96);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.25);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --wrap-width: 1120px;

  /* LEGIBLE GLASS (gray, not navy) */
  --glass-bg: rgba(28, 32, 40, 0.26);        /* slightly darker so text reads */
  --glass-bg-2: rgba(28, 32, 40, 0.14);      /* depth gradient */
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.10);

  --glass-title: rgba(255, 255, 255, 0.96);
  --glass-text: rgba(255, 255, 255, 0.90);
  --glass-muted: rgba(255, 255, 255, 0.82);

  --text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);

  /* HERO FRAME */
  --hero-inset: 1.35rem;
  --hero-radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Body: fixed wood background, content scrolls in .page */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: #e7dccb url("assets-leaf/leaf-bg.PNG") center/cover fixed no-repeat;
  overflow: hidden;
}

/* Layout container for max width */
.wrap {
  width: 100%;
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==============================
   Typography
   ============================== */

h1,
h2,
.brand-main {
  font-family: "Alegreya", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

h1,
h2 {
  letter-spacing: 0.02em;
}

/* ==============================
   Header
   ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 26, 68, 0.96);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 120px;
  height: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-sub {
  font-size: 0.75rem;
  opacity: 0.85;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #f8f8f8;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.18s ease-out;
}

.main-nav a:hover {
  transform: translateY(-2px);
}

.main-nav a:hover::after {
  width: 100%;
}

/* ==============================
   Hero
   ============================== */

.hero {
  position: relative;
  color: #fff;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  top: var(--hero-inset);
  bottom: var(--hero-inset);
  left: var(--hero-inset);
  right: var(--hero-inset);
  border-radius: var(--hero-radius);
  overflow: hidden;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.78)),
    url("assets-leaf/leaf_hero_clean.PNG") center/cover no-repeat;

  filter: saturate(1.05);
  transform: none;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 0 5.25rem;
}

.hero-content {
  max-width: 32rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  margin: 0 0 0.75rem;
  text-shadow: var(--text-shadow);
}

.hero p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  text-shadow: var(--text-shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-btn-img {
  display: inline-flex;
}

.hero-btn-img img {
  display: block;
  max-width: 210px;
  height: auto;
}

/* Hunt Bros logo above banner */
.hunt-bros-logo {
  text-align: center;
  margin-bottom: 8px;
}

.hunt-bros-logo img {
  max-width: 180px;
  height: auto;
}

/* ==============================
   Image button hover (Hero + Contact)
   ============================== */
.hero-btn-img img,
.contact-call-img img {
  transition: transform 0.18s ease, filter 0.18s ease;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

@media (hover: hover) and (pointer: fine) {
  .hero-btn-img:hover img,
  .contact-call-img:hover img {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5))
      drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  }

  .hero-btn-img:active img,
  .contact-call-img:active img {
    transform: translateY(0) scale(0.98);
  }
}

/* ==============================
   Sections
   ============================== */

.section {
  padding: 3.5rem 0;
}

.section-menu,
.section-photos,
.section-about,
.section-contact,
.section-cater {
  background: transparent;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* ==============================
   GLASS CARDS (GRAY + LEGIBLE)
   ============================== */

.menu-card,
.about-card,
.contact-card {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, var(--glass-bg), var(--glass-bg-2));
  background-color: transparent;

  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);

  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

/* Headings + paragraph contrast on glass */
.menu-card h2,
.about-card h2,
.contact-card h2 {
  color: var(--glass-title);
  text-shadow: var(--text-shadow);
}

.menu-card p,
.about-card p,
.contact-card p,
.contact-address,
.contact-hours,
.contact-hours-label,
.contact-hours li {
  color: var(--glass-text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.contact-hours-label {
  font-weight: 700;
  color: var(--glass-title);
}

/* links on glass */
.contact-phone a,
.about-card a,
.menu-card a {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
  text-decoration: none;
  text-shadow: var(--text-shadow);
}

.contact-phone a:hover,
.about-card a:hover,
.menu-card a:hover {
  text-decoration: underline;
}

/* ==============================
   Menu
   ============================== */

.menu-inner {
  display: flex;
  justify-content: center;
}

.menu-card {
  max-width: 640px;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.6rem;
  text-align: center;
}

.menu-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.menu-card p {
  margin: 0;
  line-height: 1.6;
}

.menu-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
}

.menu-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

/* ==============================
   Photo grid
   ============================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.photo-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* ==============================
   About / Cater cards
   ============================== */

.about-inner {
  display: flex;
  justify-content: center;
}

.about-card {
  max-width: 640px;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.6rem;
}

.about-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.about-card p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

/* ==============================
   Contact
   ============================== */

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: stretch;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.6rem;
}

.contact-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.contact-address {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.contact-phone {
  margin: 0 0 0.75rem;
}

.contact-hours {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.contact-hours li {
  margin-bottom: 0.15rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-call-img {
  display: inline-flex;
}

.contact-call-img img {
  display: block;
  max-width: 220px;
  height: auto;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: transparent;
}

.map-embed-wrapper {
  position: relative;
  padding-top: 65%;
}

.map-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==============================
   Fullscreen menu modal
   ============================== */

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.menu-modal img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  background: #fff;
}

.menu-modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
}

/* ==============================
   Footer
   ============================== */

.site-footer {
  margin-top: auto;
  background: #111827;
  color: #d1d5db;
  padding: 1.2rem 0 1.4rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

.footer-main {
  margin: 0 0 0.2rem;
  font-weight: 500;
}

.footer-sub {
  margin: 0;
  color: #9ca3af;
}

/* ==============================
   Responsive tweaks
   ============================== */

@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-map {
    order: -1;
  }

  :root {
    --hero-inset: 1rem;
    --hero-radius: 20px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .brand-mark {
    width: 100px;
  }

  .main-nav {
    gap: 0.75rem;
  }

  .hero {
    min-height: auto;
    overflow: visible;
  }

  .hero-inner {
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  :root {
    --hero-inset: 0.85rem;
    --hero-radius: 18px;
  }

  .photo-card img {
    height: 180px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}