/* ========================================================
   DIN HO CHINESE BBQ — SUBPAGE STYLES
   Shared across menu, catering, reservations, gallery, 
   specials, and about pages.
   ======================================================== */

/* ========== PAGE HERO BANNER ========== */
.page-hero {
  padding: 180px 40px 80px;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}

/* ========== PAGE CONTENT WRAPPER ========== */
.page-content {
  background: var(--black);
  padding: 80px 40px 100px;
}
.page-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.page-inner.narrow { max-width: 800px; }
.page-inner.wide { max-width: 1300px; }

.menu-page-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}
.menu-page-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========== MENU CATEGORY SECTIONS ========== */
.menu-category {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.menu-category:last-of-type { border-bottom: none; }

.menu-cat-images {
  display: grid;
  gap: 8px;
  margin-bottom: 36px;
  border-radius: 4px;
  overflow: hidden;
}
.menu-cat-images:has(img:nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}
.menu-cat-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
}

.menu-cat-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}
.menu-cat-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 36px;
}
.menu-sub-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

/* ========== MENU LIST ITEMS ========== */
.menu-list {
  max-width: 900px;
  margin: 0 auto;
}
.menu-list.two-col {
  columns: 2;
  column-gap: 50px;
  max-width: 100%;
}
.menu-list-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  break-inside: avoid;
}
.menu-list-item.highlight {
  background: rgba(201,168,76,0.05);
  padding: 14px 16px;
  border-radius: 4px;
  border-bottom: none;
  margin-bottom: 8px;
}
.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-light);
  white-space: nowrap;
}
.item-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,0.12);
  min-width: 20px;
  margin-bottom: 4px;
}
.item-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
  white-space: nowrap;
}
.item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.menu-note {
  text-align: center;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  margin-top: 40px;
}
.menu-note p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.menu-note a { color: var(--gold); }

/* ========== CATERING GRID ========== */
.catering-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.catering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.catering-item {
  background: var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, transform 0.2s;
}
.catering-item:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}
.catering-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.catering-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  padding: 18px 20px 6px;
}
.catering-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0 20px 20px;
  line-height: 1.5;
}

/* ========== FORMS ========== */
.form-section {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.dinho-form {
  max-width: 800px;
  margin: 40px auto 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full {
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-group label em {
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
}
.req { color: var(--crimson); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border-radius: 3px;
  transition: border-color 0.3s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9488' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.form-submit {
  margin-top: 10px;
  width: 100%;
  padding: 16px;
  font-size: 0.85rem;
}
.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 18px;
  line-height: 1.5;
}

/* Reservation intro */
.reservation-intro {
  text-align: center;
  margin-bottom: 40px;
}
.reservation-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.callout-box {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  padding: 20px 28px;
  font-size: 0.92rem !important;
  color: var(--text-light) !important;
}
.callout-box a { color: var(--gold); }

/* ========== SPECIALS PAGE ========== */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.special-card {
  background: var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, transform 0.2s;
}
.special-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-3px);
}
.special-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.special-content {
  padding: 24px 28px 28px;
}
.special-badge {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.special-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}
.special-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.special-content a { color: var(--gold); font-weight: 600; }

.specials-placeholder {
  text-align: center;
  padding: 60px 40px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 4px;
}
.specials-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}
.specials-placeholder p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.social-follow {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ========== GALLERY PAGE ========== */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-label {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  font-size: 0.78rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-label { opacity: 1; }

/* Make some gallery items span 2 cols/rows for variety */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(10) { grid-column: span 2; grid-row: span 2; }

/* ========== ABOUT PAGE ========== */
.about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-image img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-info-card {
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}
.about-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 24px;
}
.about-map {
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
  height: 250px;
  border: 1px solid rgba(255,255,255,0.06);
}
.about-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.7) invert(0.92) contrast(0.9);
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 70px;
}
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact-card:last-of-type { border-bottom: none; }
.contact-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}
.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-card a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.contact-card a:hover { color: var(--gold); }
.contact-hours {
  border-collapse: collapse;
  width: 100%;
}
.contact-hours td {
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.contact-hours td:last-child {
  text-align: right;
  color: #fff;
}
.contact-hours tr.closed td { color: var(--crimson); }
.contact-social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.contact-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}
.contact-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.contact-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.contact-form-col {
  padding: 40px;
  background: var(--charcoal);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
}
.contact-form-col .dinho-form { margin-top: 0; }
.contact-map-full {
  width: 100%;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.7) invert(0.92) contrast(0.9);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .gallery-page-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-list.two-col { columns: 1; }
}
@media (max-width: 768px) {
  .page-hero { padding: 140px 24px 60px; }
  .page-content { padding: 50px 24px 70px; }
  .form-row { grid-template-columns: 1fr; }
  .specials-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(15) { grid-column: span 1; }
  .about-story { grid-template-columns: 1fr; }
  .about-info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { padding: 28px 24px; }
  .menu-cat-images:has(img:nth-child(2)) { grid-template-columns: 1fr; }
  .menu-cat-images img { height: 200px; }
  .catering-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-page-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
}
