/*
Theme Name: Dreamz Lounge and Restaurant
Theme URI: https://www.dreamzlounge.com/
Author: Afritech Global
Author URI: https://afritechglobal.com/
Description: A custom, mobile-first restaurant theme for Dreamz Lounge and Restaurant in Wilmington, Delaware.
Version: 1.2.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: dreamz-lounge
*/

:root {
  --dlr-black: #0a0909;
  --dlr-panel: #141112;
  --dlr-panel-soft: #1d1819;
  --dlr-gold: #e5b84c;
  --dlr-gold-bright: #ffd36d;
  --dlr-red: #d51f2b;
  --dlr-cream: #fff8e8;
  --dlr-muted: #cfc5b8;
  --dlr-white: #ffffff;
  --dlr-border: rgba(229, 184, 76, 0.24);
  --dlr-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --dlr-radius: 1.25rem;
  --dlr-content: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dlr-black);
  color: var(--dlr-cream);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: var(--dlr-gold-bright); text-underline-offset: 0.2em; }
a:hover { color: var(--dlr-white); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--dlr-gold-bright);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  z-index: 99999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--dlr-white);
  color: var(--dlr-black);
}

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(calc(100% - 2rem), var(--dlr-content)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(229, 184, 76, 0.16);
  background: rgba(10, 9, 9, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { width: 148px; max-height: 62px; object-fit: contain; }
.brand-copy { display: none; color: var(--dlr-white); font-weight: 800; letter-spacing: 0.02em; }

.primary-nav ul { display: flex; align-items: center; gap: 1.15rem; padding: 0; margin: 0; list-style: none; }
.primary-nav a { color: var(--dlr-cream); font-size: 0.94rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--dlr-gold-bright); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.nav-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid var(--dlr-border);
  border-radius: 999px;
  background: transparent;
  color: var(--dlr-white);
  cursor: pointer;
}

.nav-toggle__line,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.button,
button.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--dlr-gold);
  color: #17100a;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { color: #17100a; background: var(--dlr-gold-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(229, 184, 76, 0.22); }
.button--outline { border-color: rgba(255,255,255,0.4); background: transparent; color: var(--dlr-white); }
.button--outline:hover { background: var(--dlr-white); color: var(--dlr-black); }
.button--red { background: var(--dlr-red); color: var(--dlr-white); }
.button--red:hover { background: #f02b38; color: var(--dlr-white); }
.button--small { min-height: 2.65rem; padding-inline: 1rem; font-size: 0.9rem; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 5.25rem));
  display: grid;
  align-items: center;
  padding: 4.5rem 0;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,9,9,.98) 0%, rgba(10,9,9,.86) 46%, rgba(10,9,9,.25) 100%), var(--hero-image) center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, var(--dlr-black));
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.45fr); gap: 3rem; align-items: end; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 1rem; color: var(--dlr-gold-bright); font-size: 0.83rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.hero h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 { max-width: 760px; font-size: clamp(3.4rem, 8vw, 7.2rem); }
.hero h1 span { display: block; color: var(--dlr-gold-bright); }
.hero-lede { max-width: 620px; margin: 1.5rem 0 0; color: #eee5db; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.hero-card {
  padding: 1.4rem;
  border: 1px solid var(--dlr-border);
  border-radius: var(--dlr-radius);
  background: rgba(20, 17, 18, 0.88);
  box-shadow: var(--dlr-shadow);
}
.hero-card__label { color: var(--dlr-gold-bright); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-card h2 { margin: 0.45rem 0 0.6rem; font-family: Georgia, serif; font-size: 1.7rem; }
.hero-card p { margin: 0; color: var(--dlr-muted); }
.hero-card a { display: inline-block; margin-top: 1rem; font-weight: 800; }

.section { position: relative; padding: clamp(4rem, 7vw, 7rem) 0; }
.section--panel { background: var(--dlr-panel); }
.section--cream { background: var(--dlr-cream); color: var(--dlr-black); }
.section-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, .6fr); gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
.section-heading p { margin: 0; color: var(--dlr-muted); }
.section--cream .section-heading p { color: #5a4b3f; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { min-height: 250px; padding: 1.6rem; border: 1px solid var(--dlr-border); border-radius: var(--dlr-radius); background: linear-gradient(145deg, var(--dlr-panel-soft), #100d0e); }
.feature-card__number { color: var(--dlr-red); font-family: Georgia, serif; font-size: 2rem; font-weight: 800; }
.feature-card h3 { margin: 2.5rem 0 0.6rem; font-family: Georgia, serif; font-size: 1.6rem; }
.feature-card p { margin: 0; color: var(--dlr-muted); }

.dish-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 1rem; }
.dish-card { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--dlr-radius); background: var(--dlr-panel); }
.dish-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.dish-card:hover img { transform: scale(1.035); }
.dish-card__overlay { position: absolute; inset: auto 0 0; padding: 3rem 1.4rem 1.4rem; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.dish-card__overlay strong { display: block; font-family: Georgia, serif; font-size: 1.7rem; }
.dish-card__overlay span { color: var(--dlr-gold-bright); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; min-height: 520px; }
.split-media img { width: 88%; height: 480px; object-fit: cover; border-radius: var(--dlr-radius); }
.split-media img:last-child { position: absolute; right: 0; bottom: 0; width: 46%; height: 230px; border: 0.6rem solid var(--dlr-panel); }
.split-copy h2 { margin: 0 0 1.2rem; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; }
.split-copy p { color: var(--dlr-muted); }
.split-copy .button { margin-top: 1rem; }

.cta-band { padding: 2rem; border: 1px solid var(--dlr-border); border-radius: calc(var(--dlr-radius) + .4rem); background: linear-gradient(120deg, #261517, #140f10 65%); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { max-width: 680px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.06; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0 3.5rem; border-bottom: 1px solid var(--dlr-border); background: radial-gradient(circle at 80% 10%, rgba(213,31,43,.15), transparent 35%); }
.page-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 6.8rem); }
.page-hero p { max-width: 700px; margin: 1.4rem 0 0; color: var(--dlr-muted); font-size: 1.16rem; }

.prose { max-width: 790px; }
.prose h2, .prose h3 { font-family: Georgia, serif; line-height: 1.15; }
.prose h2 { margin: 2.5rem 0 .8rem; font-size: 2rem; }
.prose h3 { margin: 2rem 0 .6rem; font-size: 1.35rem; }
.prose p, .prose li { color: #ded5ca; }
.prose ul { padding-left: 1.2rem; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.info-card { padding: 1.6rem; border: 1px solid var(--dlr-border); border-radius: var(--dlr-radius); background: var(--dlr-panel); }
.info-card h2, .info-card h3 { margin: 0 0 .65rem; font-family: Georgia, serif; font-size: 1.7rem; }
.info-card p { margin: 0; color: var(--dlr-muted); }
.info-card .text-link { display: inline-block; margin-top: .9rem; font-weight: 800; }

.menu-jump { position: sticky; z-index: 20; top: 5.25rem; padding: .8rem 0; border-bottom: 1px solid var(--dlr-border); background: rgba(10,9,9,.94); backdrop-filter: blur(12px); }
.menu-jump__inner { display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: thin; }
.menu-jump a { flex: 0 0 auto; padding: .55rem .85rem; border: 1px solid var(--dlr-border); border-radius: 999px; color: var(--dlr-cream); font-size: .86rem; font-weight: 800; text-decoration: none; }
.menu-jump a:hover { border-color: var(--dlr-gold); color: var(--dlr-gold-bright); }

.menu-layout { display: grid; gap: 3.5rem; }
.menu-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--dlr-border); border-radius: var(--dlr-radius); background: var(--dlr-panel-soft); }
.menu-tools p { margin: 0; color: var(--dlr-muted); }
.menu-section { scroll-margin-top: 10rem; }
.menu-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--dlr-red); }
.menu-section__heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu-item dt { font-weight: 800; }
.menu-item dd { margin: 0; color: var(--dlr-gold-bright); font-weight: 900; white-space: nowrap; }
.menu-item small { display: block; margin-top: .2rem; color: var(--dlr-muted); font-weight: 400; }
.menu-note { margin: 1rem 0 0; color: var(--dlr-muted); font-size: .92rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery-card { grid-column: span 4; min-height: 330px; overflow: hidden; border-radius: var(--dlr-radius); }
.gallery-card:nth-child(1), .gallery-card:nth-child(5) { grid-column: span 8; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-note { margin-top: 1.2rem; color: var(--dlr-muted); font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-stack { display: grid; gap: 1rem; }
.contact-card { padding: 1.35rem; border: 1px solid var(--dlr-border); border-radius: var(--dlr-radius); background: var(--dlr-panel); }
.contact-card span { display: block; margin-bottom: .25rem; color: var(--dlr-gold-bright); font-size: .77rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-card strong, .contact-card a { color: var(--dlr-cream); font-size: 1.07rem; font-weight: 800; text-decoration: none; }

.contact-form { padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--dlr-border); border-radius: var(--dlr-radius); background: var(--dlr-panel); }
.contact-form h2 { margin: 0 0 .5rem; font-family: Georgia, serif; font-size: 2.2rem; }
.contact-form > p { margin: 0 0 1.5rem; color: var(--dlr-muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .92rem; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.2); border-radius: .8rem; background: #0d0b0c; color: var(--dlr-white); padding: .8rem .9rem; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(229,184,76,.23); border-color: var(--dlr-gold); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-privacy { color: var(--dlr-muted); font-size: .84rem; line-height: 1.5; }
.form-honeypot { position: absolute; left: -9999px; }
.form-status { margin-bottom: 1.2rem; padding: .8rem 1rem; border-radius: .7rem; font-weight: 700; }
.form-status--success { background: #133b27; color: #d9ffe9; }
.form-status--error { background: #4a171b; color: #ffe4e6; }

.site-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--dlr-border); background: #070606; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .7fr .9fr; gap: 2.5rem; }
.footer-brand img { width: 210px; }
.footer-brand p { max-width: 420px; color: var(--dlr-muted); }
.site-footer h2 { margin: 0 0 .8rem; color: var(--dlr-gold-bright); font-size: .83rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav { padding: 0; margin: 0; list-style: none; }
.footer-nav li + li { margin-top: .45rem; }
.footer-nav a { color: var(--dlr-cream); text-decoration: none; }
.footer-nav a:hover { color: var(--dlr-gold-bright); }
.footer-contact { font-style: normal; color: var(--dlr-muted); }
.footer-contact a { color: var(--dlr-cream); font-weight: 800; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.09); color: #a99f94; font-size: .87rem; }

.empty-state { padding: 3rem; border: 1px solid var(--dlr-border); border-radius: var(--dlr-radius); text-align: center; }

@media (max-width: 980px) {
  .js .nav-toggle { display: block; }
  .header-actions > .button { display: none; }
  .js .primary-nav { position: fixed; inset: 5.25rem 0 auto; max-height: calc(100vh - 5.25rem); overflow-y: auto; transform: translateY(-130%); padding: 1.25rem 1rem 1.5rem; border-bottom: 1px solid var(--dlr-border); background: #0a0909; opacity: 0; visibility: hidden; transition: transform 200ms ease, opacity 200ms ease, visibility 200ms ease; }
  .js .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav ul { width: min(100%, var(--dlr-content)); margin: 0 auto; display: grid; gap: 0; }
  .primary-nav a { display: block; padding: .8rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: .6rem; }
  .no-js .primary-nav { order: 3; width: 100%; }
  .hero-grid, .section-heading, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: 720px; }
  .hero-grid { align-items: start; }
  .hero-card { max-width: 440px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 1.3rem; }
  .dish-grid { grid-template-columns: 1fr 1fr; }
  .dish-card:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 1.25rem), var(--dlr-content)); }
  .header-inner { min-height: 4.7rem; }
  .brand img { width: 122px; }
  .js .primary-nav { inset-block-start: 4.7rem; max-height: calc(100vh - 4.7rem); }
  .hero { min-height: 650px; padding: 3.5rem 0; }
  .hero::before { background: linear-gradient(180deg, rgba(10,9,9,.72), rgba(10,9,9,.95) 68%), var(--hero-image) 62% center/cover no-repeat; }
  .hero h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
  .hero-card { display: none; }
  .hero-actions .button { flex: 1 1 45%; }
  .section { padding: 3.8rem 0; }
  .section-heading { margin-bottom: 1.8rem; }
  .dish-grid, .menu-list, .info-grid, .form-grid { grid-template-columns: 1fr; }
  .dish-card:first-child { grid-column: auto; }
  .dish-card { min-height: 360px; }
  .split-media { min-height: 390px; }
  .split-media img { height: 360px; width: 90%; }
  .split-media img:last-child { height: 170px; border-width: .4rem; }
  .cta-band { align-items: stretch; flex-direction: column; }
  .cta-band__actions .button { flex: 1 1 100%; }
  .menu-tools { align-items: stretch; flex-direction: column; }
  .menu-tools .button { width: 100%; }
  .menu-jump { top: 4.7rem; }
  .gallery-card, .gallery-card:nth-child(1), .gallery-card:nth-child(5) { grid-column: span 12; min-height: 290px; }
  .form-field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  :root { --dlr-black: #fff; --dlr-panel: #fff; --dlr-panel-soft: #fff; --dlr-cream: #111; --dlr-muted: #333; --dlr-border: #bbb; }
  body { background: #fff; color: #111; font-size: 10pt; }
  .site-header, .menu-jump, .menu-tools, .site-footer, .cta-band { display: none !important; }
  .page-hero { padding: 0 0 1rem; border: 0; background: #fff; }
  .page-hero h1 { color: #111; font-size: 30pt; }
  .page-hero p, .eyebrow { color: #333; }
  .section, .section--panel { padding: 0; background: #fff; }
  .menu-layout { gap: 1.4rem; }
  .menu-section { break-inside: avoid; }
  .menu-section__heading { border-color: #8d1720; }
  .menu-section__heading h2 { color: #111; font-size: 18pt; }
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-item { border-color: #ccc; }
  .menu-item dt, .menu-item dd, .menu-item small, .menu-note { color: #111; }
  a { color: #111; text-decoration: none; }
}
