/* =========================================================================
   Hapag Kitchen — Restaurant (BGC, Taguig) · personality: moody
   PALETTE IS SWAPPABLE IN ONE PLACE — edit --dark / --cream / --accent below.
   ========================================================================= */
:root {
  --dark:   #14201A;
  --cream:  #EFE9DD;
  --accent: #B8863B;

  --page-bg:    #14201A;
  --page-text:  #EFE9DD;
  --card-bg:    #1b2a22;
  --card-border:rgba(255,255,255,0.10);
  --soft-bg:    #10190f;
  --muted:      rgba(239,233,221,0.66);
  --foot-bg:    #14201A;
  --foot-text:  #EFE9DD;
  --accent-ink: #ffffff;

  --radius: 2px;
  --radius-lg: calc(2px + 6px);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --maxw: 1200px;
  --section-pad: clamp(46px, 5.5vw, 78px);
  --shadow: 0 16px 40px -22px rgba(0,0,0,0.5);
  --shadow-sm: 0 8px 22px -14px rgba(0,0,0,0.4);
  --head-tt: none;
  --head-ls: normal;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--page-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 700; text-transform: var(--head-tt); letter-spacing: var(--head-ls); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section-head { max-width: 600px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 0.94rem;
  text-transform: var(--head-tt); letter-spacing: var(--head-ls);
  cursor: pointer; border: 2px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px var(--accent); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: #fff; color: var(--dark); }

/* =================== NAV (transparent over hero → solid on scroll) ========= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 60;
  color: #fff; transition: background .3s, box-shadow .3s, color .3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; text-transform: var(--head-tt); letter-spacing: var(--head-ls); }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 0.93rem; opacity: .9; transition: opacity .15s, color .15s; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-cta { padding: 9px 18px; }
.nav.scrolled {
  background: rgba(20, 32, 26, 0.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  color: var(--page-text); box-shadow: 0 2px 18px -10px rgba(0,0,0,0.4);
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 25px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO (full-bleed background image) ==================== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; padding: 120px 0 90px;
  background-image: linear-gradient(90deg, rgba(20, 32, 26, 0.86) 0%, rgba(20, 32, 26, 0.6) 45%, rgba(20, 32, 26, 0.25) 100%), linear-gradient(0deg, rgba(20, 32, 26, 0.55), rgba(20, 32, 26, 0.1)), url('public/img/hero.jpg');
  background-size: cover; background-position: center;
}
.hero-copy { max-width: 640px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 18px; backdrop-filter: blur(4px);
}
.pill .led { width: 9px; height: 9px; border-radius: 50%; background: #36d27a; box-shadow: 0 0 0 4px rgba(54,210,122,0.25); }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); white-space: pre-line; margin-bottom: 16px; }
.hero .lead { font-size: clamp(1rem, 1.7vw, 1.18rem); color: rgba(255,255,255,0.86); max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ""; width: 1px; height: 30px; background: rgba(255,255,255,0.5); animation: drop 1.8s infinite; }
@keyframes drop { 0%{opacity:0;transform:translateY(-8px)} 50%{opacity:1} 100%{opacity:0;transform:translateY(8px)} }

/* =================== FEATURE STRIP (overlaps hero) ======================== */
.features { position: relative; z-index: 5; margin-top: -62px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; border-right: 1px solid var(--card-border); }
.feature:last-child { border-right: 0; }
.feature .fi { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius); background: rgba(184, 134, 59, 0.12); color: var(--accent); display: grid; place-items: center; }
.feature .fi svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1rem; margin-bottom: 3px; }
.feature p { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

/* =================== MENU / SERVICE CARDS (with images) =================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.07); }
.card .tag { position: absolute; top: 12px; right: 12px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.card .cbody { padding: 18px 18px 22px; }
.card h3 { font-size: 1.12rem; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* =================== STORY SPLIT ========================================== */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: clamp(360px, 44vw, 540px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; z-index: 2; }
.split-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: rgba(184, 134, 59, 0.16); border-radius: var(--radius-lg); z-index: 1; }
.split h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 16px; }
.split p.body { color: var(--muted); font-size: 1.03rem; margin-bottom: 24px; }
.bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; }
.bullets li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; font-size: 0.96rem; }
.bullets .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }

/* =================== STATS BAND (image bg + overlay) ===================== */
.stats { background-image: linear-gradient(rgba(20, 32, 26, 0.92), rgba(20, 32, 26, 0.92)), url('public/img/hero.jpg'); background-size: cover; background-position: center; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .n { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.stat .l { margin-top: 8px; font-size: 0.96rem; color: rgba(255,255,255,0.78); letter-spacing: 0.02em; }

/* =================== GALLERY (mixed sizes) =============================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery figure { overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* =================== TESTIMONIALS ======================================== */
.tg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 17px; height: 17px; }
.tcard blockquote { font-size: 1rem; line-height: 1.6; color: var(--page-text); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.tcard .who b { display: block; font-size: 0.95rem; }
.tcard .who span { font-size: 0.82rem; color: var(--muted); }

/* =================== VISIT =============================================== */
.visit-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 48px); }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--card-border); }
.hours li span:first-child { font-weight: 600; }
.hours li span:last-child { color: var(--muted); }
.info-row { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; }
.info-row .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: var(--radius); background: rgba(184, 134, 59, 0.12); color: var(--accent); display: grid; place-items: center; }
.info-row .ic svg { width: 19px; height: 19px; }
.info-row b { display: block; font-weight: 700; }
.info-row span.t { color: var(--muted); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: invert(0.9) hue-rotate(180deg) grayscale(0.2); }

/* =================== CONTACT BANNER (image bg + accent overlay) ========== */
.banner { position: relative; color: #fff; text-align: center; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 86px) 24px; background-image: linear-gradient(120deg, rgba(184, 134, 59, 0.95), rgba(184, 134, 59, 0.78)), url('public/img/gallery-1.jpg'); background-size: cover; background-position: center; }
.banner h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 12px; }
.banner p { max-width: 540px; margin: 0 auto 26px; opacity: .95; font-size: 1.06rem; }
.banner .btn-primary { background: #fff; color: var(--accent); }
.banner .btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(0,0,0,0.45); }

/* =================== FOOTER ============================================== */
.footer { background: var(--foot-bg); color: var(--foot-text); padding: 58px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer .brand { color: var(--foot-text); margin-bottom: 13px; }
.footer .fdesc { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 300px; }
.foot-col h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .6; margin-bottom: 15px; }
.foot-col a { display: block; color: rgba(255,255,255,0.78); padding: 5px 0; font-size: 0.95rem; transition: color .15s; }
.foot-col a:hover { color: var(--accent); }
.news { display: flex; gap: 8px; margin-top: 12px; max-width: 320px; }
.news input { flex: 1; padding: 12px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 0.92rem; }
.news input::placeholder { color: rgba(255,255,255,0.45); }
.news button { flex: 0 0 auto; width: 46px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; }
.news button svg { width: 19px; height: 19px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.8); transition: background .15s, color .15s, border-color .15s; }
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.foot-bottom a { color: var(--accent); }

/* =================== SCROLL REVEAL ====================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature { border-bottom: 1px solid var(--card-border); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tg { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 880px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--page-bg); color: var(--page-text); padding: 10px 24px 22px;
    transform: translateY(-135%); transition: transform .32s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--page-text); opacity: 1; padding: 14px 2px; border-bottom: 1px solid var(--card-border); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; justify-content: center; border-bottom: 0; }
  .split, .visit-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media::before { display: none; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2) { border-right: 0; }
  .feature:last-child { border-bottom: 0; }
  .cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .bullets { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 88vh; padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
}
