/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #C2410C;        /* warm deep orange */
  --primary-dark:   #9A3412;
  --primary-light:  #F97316;
  --primary-soft:   #FEF3C7;        /* cream */
  --secondary:      #7C2D12;        /* deep brown */
  --gold:           #B45309;        /* amber gold */
  --bg:             #FFFBF5;        /* warm white */
  --surface:        #FAF3E7;        /* cream surface */
  --surface-2:      #F5EAD7;
  --text:           #1C1410;        /* almost black, warm */
  --text-muted:     #78716C;        /* warm gray */
  --text-soft:      #A8A29E;
  --border:         #EDE3D0;
  --shadow-sm:      0 1px 2px rgba(28, 20, 16, 0.05);
  --shadow:         0 6px 28px rgba(124, 45, 18, 0.08);
  --shadow-lg:      0 18px 50px rgba(124, 45, 18, 0.14);
  --radius:         12px;
  --radius-lg:      18px;
  --container:      1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--text-muted); }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.accent {
  color: var(--primary);
  font-style: italic;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  letter-spacing: 0.2px;
}
.btn-lg { padding: 14px 30px; font-size: 0.98rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(194, 65, 12, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(255, 251, 245, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.25s;
}
.navbar.scrolled .nav-inner { padding: 12px 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
}
.brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.35);
}
.brand-text { font-weight: 500; font-size: 1.2rem; color: var(--text); }
.brand-text strong { font-weight: 800; font-style: italic; color: var(--primary); }

/* Light hero: navbar text starts dark */
.navbar:not(.scrolled) .brand-text,
.navbar:not(.scrolled) .nav-links a { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.navbar:not(.scrolled) .brand-text strong { color: #FFD7A8; }
.navbar:not(.scrolled) .nav-toggle { color: #fff; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 22px;
  gap: 14px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; color: var(--text); font-weight: 500; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28, 20, 16, 0.45) 0%, rgba(28, 20, 16, 0.72) 80%),
    linear-gradient(135deg, rgba(194, 65, 12, 0.25), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-badge i { color: #FFD7A8; }

.hero-content h1 {
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero-content h1 .accent {
  background: linear-gradient(135deg, #FFD7A8, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px; height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  display: grid; place-items: center;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(-4px); opacity: 0.4; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: 110px 0; }
.section-alt { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.04rem; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text .eyebrow { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 22px; }
.about-text p {
  font-size: 1.04rem;
  margin-bottom: 16px;
}

.badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.b {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  color: var(--text);
}
.b i {
  width: 38px; height: 38px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.b strong { font-weight: 700; }

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: var(--shadow-lg);
}
.about-image-tag strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-image-tag span {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── MENU ───────────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.menu-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.menu-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.menu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.menu-card:hover .menu-img img { transform: scale(1.06); }

.menu-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.menu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.menu-head h3 { font-size: 1.15rem; }
.price {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.menu-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.menu-tag {
  align-self: flex-start;
  margin-top: auto;
  background: var(--primary-soft);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
}

.menu-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.menu-cta p {
  font-style: italic;
  font-size: 1rem;
}

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.g-item:hover img { transform: scale(1.07); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.info-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.field input, .field select, .field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
}
.field textarea { resize: vertical; min-height: 80px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #1C1410;
  color: #d6cfc6;
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text strong { color: #F97316; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.93rem;
  max-width: 340px;
  color: #a8a29e;
  line-height: 1.6;
}
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links h5, .footer-social h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: #a8a29e;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: #d6cfc6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.social-row a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  color: #78716C;
  text-align: center;
}

/* ── DEMO BADGE ─────────────────────────────────────────── */
.demo-badge {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--primary-soft);
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--text);
  box-shadow: 0 10px 32px rgba(194, 65, 12, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.demo-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 38px rgba(194, 65, 12, 0.32);
}
.demo-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}
.demo-badge strong { color: var(--primary); font-weight: 700; }
.demo-badge i { font-size: 0.8rem; color: var(--primary); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-image { max-width: 460px; margin: 0 auto; aspect-ratio: 5 / 6; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-links, .navbar > .nav-inner > .btn { display: none; }
  .nav-toggle { display: block; }

  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { font-size: 1rem; }

  .section { padding: 70px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .contact-form { padding: 26px 22px; }
  .contact-form .row { grid-template-columns: 1fr; }

  .demo-badge { bottom: 14px; right: 14px; padding: 8px 12px; font-size: 0.72rem; }
  .demo-badge .badge-text { display: none; }
  .demo-badge::after {
    content: 'PabionTech';
    color: var(--primary);
    font-weight: 700;
  }
}
