/* ==========================================================
   EL PESCADOR - BELL GARDENS
   ========================================================== */

:root {
  --navy: #0d2340;
  --navy-dark: #091a30;
  --gold: #c8912b;
  --gold-light: #e0af4a;
  --white: #ffffff;
  --offwhite: #f6f2ea;
  --text: #23282f;
  --muted: #5d6570;
  --header-h: 76px;
  --maxw: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

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

/* Neutral placeholder for images not provided yet */
.img-missing {
  background: repeating-linear-gradient(45deg, #e7e3db, #e7e3db 12px, #ddd8ce 12px, #ddd8ce 24px);
  min-height: 120px;
}
img.img-missing { visibility: hidden; }
.logo.img-missing { min-height: 0; height: 56px; width: 180px; border-radius: 4px; }

/* ---------------- Section titles ---------------- */
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 2px;
  text-align: center;
  color: var(--navy);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }

.section-intro {
  margin: 0 auto 28px;
  max-width: 620px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.btn span { display: flex; flex-direction: column; line-height: 1.2; }
.btn small { font-size: .72rem; font-weight: 400; letter-spacing: .5px; }
.btn.small { padding: 12px 24px; font-size: .82rem; }

/* ================= 1. HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* space reserved for the real PNG logo */
.logo { display: block; min-width: 150px; }
.logo img { height: 56px; width: auto; max-width: 230px; object-fit: contain; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-block;
  color: var(--white);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link.is-active { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ChowNow order button */
.btn-order {
  padding: 11px 22px;
  font-size: .8rem;
  letter-spacing: 1.2px;
}
.nav-order-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= 2. HERO ================= */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 26, 48, .78) 0%, rgba(9, 26, 48, .45) 55%, rgba(9, 26, 48, .25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 20px;
  color: var(--white);
}
.hero-welcome {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  color: var(--gold-light);
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  margin: 0 0 4px;
}
.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 5rem);
  letter-spacing: 3px;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .5);
}
.hero-sub {
  margin: 10px 0 0;
  color: var(--gold-light);
  font-size: clamp(1.1rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 4px;
}

/* ================= 3. ESTABLISHED IN 1983 ================= */
.history { background: var(--white); padding: 70px 0; }
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.history-text p { color: var(--muted); font-size: .98rem; margin: 0; }
.history-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  background: #e7e3db;
}
.history-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ================= PDF BUTTONS ================= */
.pdf-band-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
}
.pdf-band-inner .btn-gold {
  background: #e8ab1f;
  color: var(--white);
}
.pdf-band-inner .btn-gold:hover,
.pdf-band-inner .btn-gold:focus-visible { background: #f5bd33; }

/* ================= 5. LUNCH SPECIALS ================= */
.specials { background: var(--offwhite); padding: 62px 0 54px; }

.carousel { position: relative; padding: 0 44px; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.card {
  flex: 0 0 33.3333%;
  padding: 0 12px;
  cursor: pointer;
}
.card > * { pointer-events: none; }
.card-img {
  background: #e7e3db;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body {
  background: var(--white);
  border: 1px solid #e7e1d6;
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px;
  text-align: center;
  min-height: 150px;
}
.card-body h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: 1.4px;
  color: var(--navy);
  text-transform: uppercase;
}
.card-body p { margin: 0; font-size: .88rem; color: var(--muted); }

.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  transition: background .2s ease;
}
.carousel-arrow:hover { background: var(--gold); }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.carousel-dots button {
  width: 11px; height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c8c3b8;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dots button.is-active { background: var(--navy); transform: scale(1.15); }

/* ================= 6. FULL BAR ================= */
.full-bar {
  position: relative;
  min-height: 460px;
  padding: 110px 0;
  background-color: var(--navy-dark);
  background-image: url("images/full-bar-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}
/* gradient only from the left so the drinks keep their original colors */
.full-bar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 32%, rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, 0) 78%);
}
.full-bar-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  text-align: left;
}
.full-bar-eyebrow {
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.full-bar-title {
  margin: 0 0 26px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 8px;
  color: var(--white);
}
.full-bar-text {
  margin: 0;
  max-width: 30ch;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .3px;
  color: rgba(255, 255, 255, .9);
}

/* ================= 7. FOOTER ================= */
.site-footer { background: var(--navy); color: #d9dee6; padding-top: 54px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .7fr 1fr;
  gap: 38px;
  padding-bottom: 44px;
}
.footer-col h4 {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: .92rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-col h4.mt { margin-top: 26px; }
.footer-col p { margin: 0 0 14px; font-size: .9rem; }
.footer-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-line a:hover { color: var(--gold-light); }
.ico {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  fill: none; stroke: var(--gold-light); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.hours { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.hours li { display: flex; gap: 14px; padding: 2px 0; }
.hours li span:first-child { width: 40px; color: var(--gold-light); }

.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 72%;
  border: 3px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #12263f;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.socials {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 14px;
  margin: 0;
  padding: 0;
}
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: transform .2s ease, background .2s ease;
}
.social svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--white); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.social:hover { transform: translateY(-3px); }
.social.fb:hover { background: #1877f2; }
.social.ig:hover { background: #d62976; }
.social.tt:hover { background: #000; }
.social.yp:hover { background: #d32323; }

.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0;
  font-size: .78rem;
  color: #aeb7c4;
}
.credit-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.credit-inner p { margin: 0; }
.credit-inner a { color: var(--gold-light); }
.credit-inner a:hover { text-decoration: underline; }

/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 15, 28, .78); }
.modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 10px; right: 12px;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 26, 48, .8);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--gold); }
.modal-img { background: #e7e3db; }
.modal-img img { width: 100%; max-height: 60vh; object-fit: cover; }
.modal-content { padding: 22px 26px 28px; }
.modal-content h3 {
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.modal-content p { margin: 0; color: var(--muted); }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .card { flex-basis: 50%; }
  .history-grid { grid-template-columns: 1fr; gap: 30px; }
  .history-photo img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; margin-left: auto; }
  .btn-order { display: none; }
  .nav-order-mobile { display: block; }
  .nav-order {
    color: var(--gold-light);
    font-weight: 700;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .main-nav li { width: 100%; }
  .nav-link {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-link.is-active { border-bottom-color: var(--gold); }
  .header-inner { position: relative; }

  .card { flex-basis: 100%; }
  .full-bar {
    min-height: 380px;
    padding: 70px 0;
    background-attachment: scroll;
  }
  .hero { background-attachment: scroll; }
  .carousel { padding: 0 34px; }
  /* on small screens darken from the bottom so the drinks stay visible */
  .full-bar-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .8) 100%);
  }
  .full-bar-inner { text-align: center; }
  .full-bar-eyebrow { margin-bottom: 14px; font-size: .74rem; letter-spacing: 4px; }
  .full-bar-title { margin-bottom: 18px; letter-spacing: 6px; }
  .pdf-band-inner {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
  }
  .pdf-band-inner .btn {
    flex: 0 1 auto;
    min-width: 235px;
    justify-content: center;
    padding: 11px 16px;
    gap: 8px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .6px;
    box-shadow: none;
  }
  .pdf-band-inner .btn svg { width: 18px; height: 18px; }
  .btn { justify-content: center; }

  .full-bar-text {
    font-size: .82rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 26ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, .88);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .map-wrap { padding-top: 62%; }
  .hero { min-height: 74vh; }
}

@media (hover: none) {
  .hero,
  .full-bar { background-attachment: scroll; }
}
