/*
Theme Name: Donna Pizza
Theme URI: https://donnapizzaone.com/
Author: Codex
Description: Custom WordPress theme for Donna Pizza.
Version: 1.0.0
Text Domain: donna-pizza
*/

:root {
  --dp-color-paper: #dcc3a0;
  --dp-color-paper-soft: #ead5b7;
  --dp-color-night: #120d09;
  --dp-color-night-soft: #201611;
  --dp-color-night-card: #261710;
  --dp-color-ink: #19120e;
  --dp-color-muted: #5c4435;
  --dp-color-muted-light: #c6aa88;
  --dp-color-brand: #b3271d;
  --dp-color-brand-deep: #891b14;
  --dp-color-gold: #d6a144;
  --dp-color-olive: #2f5a34;
  --dp-color-white: #fffdf9;
  --dp-color-line: rgba(36, 21, 12, 0.16);
  --dp-color-line-strong: rgba(36, 21, 12, 0.28);
  --dp-shadow-sm: 0 12px 32px rgba(18, 13, 9, 0.12);
  --dp-shadow-lg: 0 30px 80px rgba(18, 13, 9, 0.18);
  --dp-radius-sm: 1rem;
  --dp-radius-md: 1.5rem;
  --dp-radius-lg: 2rem;
  --dp-space-1: 0.25rem;
  --dp-space-2: 0.5rem;
  --dp-space-3: 0.75rem;
  --dp-space-4: 1rem;
  --dp-space-5: 1.5rem;
  --dp-space-6: 2rem;
  --dp-space-7: 3rem;
  --dp-space-8: 4.5rem;
  --dp-max-width: 75rem;
  --dp-font-body: "Trebuchet MS", "Gill Sans", sans-serif;
  --dp-font-display: Baskerville, "Palatino Linotype", "Book Antiqua", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--dp-font-body);
  color: var(--dp-color-ink);
  background:
    radial-gradient(circle at top left, rgba(214, 161, 68, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(179, 39, 29, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 236, 0.14), rgba(73, 41, 18, 0.06)),
    var(--dp-color-paper);
  line-height: 1.6;
}

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

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

p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

.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 {
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  clip: auto;
  background: var(--dp-color-night);
  color: #fff;
  z-index: 1000;
}

.shell {
  width: min(100% - 2rem, var(--dp-max-width));
  margin-inline: auto;
}

.section {
  padding: var(--dp-space-7) 0;
}

.section--tight {
  padding: var(--dp-space-6) 0;
}

.section--contrast {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.16), rgba(75, 40, 18, 0.08)),
    rgba(255, 248, 238, 0.08);
}

.section--night {
  color: var(--dp-color-white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.16)),
    var(--dp-color-night);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--dp-space-3);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dp-color-gold);
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: currentColor;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: var(--dp-space-6);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.hero__content h1,
.entry-title,
.menu-section__head h2,
.featured-card__body h3,
.special-card__body h3,
.menu-path-card__body h3,
.deal-card h3,
.promo-card h3,
.card h3,
.cta-panel h2,
.visit-panel h3,
.site-branding__title {
  margin: 0 0 var(--dp-space-3);
  font-family: var(--dp-font-display);
  line-height: 1.03;
}

.section-heading h2,
.entry-title {
  font-size: clamp(2.15rem, 5vw, 3.8rem);
}

.section-heading p,
.entry-content,
.site-footer p,
.card p,
.visit-panel p,
.cta-panel p,
.featured-card__body p,
.promo-card p,
.menu-section__head p,
.menu-item__body p,
.menu-notes p,
.about-copy p {
  color: var(--dp-color-muted);
}

.section--night .section-heading p,
.section--night .section-heading h2,
.section--night .special-card__body p {
  color: var(--dp-color-white);
}

.section--night .section-heading p,
.hero--dark .hero__content p,
.hero--dark .hero__highlights li {
  color: rgba(255, 253, 249, 0.84);
}

.button-group,
.board-links,
.section-jump-links,
.page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(180deg, #ce3c30 0%, var(--dp-color-brand) 100%);
  color: #fff;
  box-shadow: var(--dp-shadow-sm);
}

.button--secondary {
  background: linear-gradient(180deg, #466f4c 0%, var(--dp-color-olive) 100%);
  color: #fff;
}

.button--ghost {
  border-color: var(--dp-color-line-strong);
  background: rgba(255, 248, 238, 0.44);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-topbar {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dp-color-night);
  color: rgba(255, 253, 249, 0.88);
  font-size: 0.92rem;
}

.site-topbar__inner,
.site-header__inner,
.site-footer__layout,
.hero__layout,
.about-grid,
.visit-grid,
.site-footer__layout {
  display: grid;
  gap: 1.25rem;
}

.site-topbar__inner {
  color: rgba(255, 253, 249, 0.88);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 13, 9, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  padding: 1rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.site-branding__mark {
  width: 4.2rem;
  flex: 0 0 auto;
}

.custom-logo-link {
  display: block;
}

.site-branding__mark .custom-logo,
.site-footer__logo .custom-logo {
  width: 100%;
  height: auto;
}

.site-branding__title {
  margin: 0;
  color: var(--dp-color-white);
  font-size: 1.75rem;
  white-space: nowrap;
}

.site-branding__meta {
  display: none;
  color: rgba(255, 253, 249, 0.74);
  font-size: 0.9rem;
}

.menu,
.hero__highlights,
.feature-list,
.footer-links,
.menu-items {
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.menu li {
  flex: 0 0 auto;
}

.menu a,
.page-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 253, 249, 0.84);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.page-pill {
  color: var(--dp-color-ink);
  border-color: var(--dp-color-line-strong);
  background: rgba(255, 248, 238, 0.42);
}

.page-pill--active {
  background: var(--dp-color-brand);
  border-color: var(--dp-color-brand);
  color: #fff;
}

.menu a:hover,
.menu a:focus-visible,
.page-pill:hover,
.page-pill:focus-visible {
  border-color: var(--dp-color-gold);
}

.site-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.site-navigation {
  min-width: 0;
  width: 100%;
}

.site-main {
  overflow: clip;
}

.hero {
  padding-top: var(--dp-space-7);
}

.hero--dark {
  color: var(--dp-color-white);
  background:
    radial-gradient(circle at top right, rgba(214, 161, 68, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(18, 13, 9, 0.94), rgba(18, 13, 9, 0.78)),
    var(--dp-color-night);
}

.hero__content h1 {
  font-size: clamp(2.9rem, 10vw, 5.8rem);
  text-wrap: balance;
}

.hero__content p {
  max-width: 36rem;
  margin-bottom: var(--dp-space-5);
  font-size: 1.05rem;
}

.hero__highlights {
  display: grid;
  gap: 0.85rem;
  margin-top: var(--dp-space-5);
}

.hero__highlights li,
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
}

.hero__highlights li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--dp-color-gold);
}

.hero-showcase {
  display: grid;
  gap: 0.9rem;
}

.hero-showcase__main,
.hero-showcase__stack img,
.about-visual img,
.menu-hero__visual img,
.gallery-card img,
.menu-path-card img,
.featured-card img,
.special-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--dp-radius-lg);
}

.hero-showcase__main {
  min-height: 20rem;
  box-shadow: var(--dp-shadow-lg);
}

.hero-showcase__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-showcase__stack img {
  min-height: 10rem;
}

.menu-path-grid,
.specials-grid,
.featured-grid,
.gallery-grid,
.service-cards,
.menu-sections,
.promo-stack {
  display: grid;
  gap: 1rem;
}

.menu-path-card,
.special-card,
.featured-card,
.deal-card,
.promo-card,
.menu-hero,
.card,
.cta-panel,
.visit-panel,
.entry-card {
  border: 1px solid var(--dp-color-line);
  border-radius: var(--dp-radius-lg);
  background: rgba(247, 231, 207, 0.88);
  box-shadow: var(--dp-shadow-sm);
}

.menu-path-card,
.special-card,
.featured-card {
  overflow: hidden;
}

.menu-path-card img,
.featured-card img {
  aspect-ratio: 4 / 3;
}

.special-card img {
  aspect-ratio: 4 / 5;
}

.menu-path-card__link,
.special-card__link {
  display: block;
  height: 100%;
}

.menu-path-card__media,
.special-card__media {
  position: relative;
}

.menu-path-card__body,
.featured-card__body,
.deal-card,
.promo-card,
.card,
.visit-panel,
.entry-card {
  padding: 1.35rem;
}

.special-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.special-card__media {
  overflow: hidden;
  border-radius: var(--dp-radius-lg);
  box-shadow: var(--dp-shadow-sm);
}

.special-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem 1.15rem 1.45rem;
  background: linear-gradient(180deg, rgba(18, 13, 9, 0), rgba(18, 13, 9, 0.9) 55%, rgba(18, 13, 9, 0.96));
}

.special-card__overlay h3 {
  margin: 0;
  color: #fff;
  font-family: var(--dp-font-body);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.special-card__pricebox {
  width: calc(100% - 2rem);
  margin: -1.2rem auto 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--dp-color-line);
  border-radius: var(--dp-radius-sm);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--dp-shadow-sm);
  text-align: center;
}

.special-card__price {
  color: var(--dp-color-ink);
  font-size: 1.65rem;
  font-weight: 900;
}

.menu-path-card__body p {
  color: var(--dp-color-muted);
}

.menu-path-card__media {
  overflow: hidden;
  background: rgba(255, 253, 249, 0.82);
}

.menu-path-card__image--contain {
  object-fit: contain !important;
  padding: 1rem;
}

.menu-path-card__label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.82);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--dp-color-brand);
}

.card__link::after {
  content: "→";
}

@media (max-width: 47.99rem) {
  .site-topbar {
    display: none;
  }

  .site-header__inner {
    gap: 0.7rem;
    padding: 0.7rem 0;
  }

  .site-branding__mark {
    width: 2.7rem;
  }

  .site-branding__title {
    font-size: 1rem;
  }

  .menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .menu::-webkit-scrollbar {
    display: none;
  }

  .menu a {
    min-height: 2.1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .site-actions {
    gap: 0.5rem;
  }

  .button {
    min-height: 2.65rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__layout {
    gap: 1.5rem;
  }

  .hero__content h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
    line-height: 0.95;
  }

  .hero__content p {
    margin-bottom: 1rem;
    font-size: 0.98rem;
  }

  .hero__highlights {
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .hero-showcase__main {
    min-height: 14rem;
  }

  .hero-showcase__stack img {
    min-height: 7.5rem;
  }

  .menu-hero {
    gap: 1rem;
    padding: 1.1rem;
  }

  .menu-hero .entry-title {
    font-size: clamp(2rem, 11vw, 2.7rem);
    line-height: 0.98;
  }

  .menu-hero__copy {
    font-size: 0.98rem;
  }

  .menu-hero__visual img {
    min-height: 13rem;
  }

  .section--tight {
    padding: 1.25rem 0;
  }
}

@media (max-width: 71.99rem) {
  .site-branding__meta {
    display: none;
  }
}

.about-grid {
  align-items: center;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--dp-font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
}

.about-copy p {
  font-size: 1.02rem;
}

.about-visual img {
  min-height: 24rem;
  box-shadow: var(--dp-shadow-lg);
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--dp-radius-lg);
  box-shadow: var(--dp-shadow-sm);
}

.gallery-card a {
  display: block;
}

.gallery-card img {
  aspect-ratio: 1 / 1;
}

.menu-hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}

.menu-hero--photo {
  background:
    linear-gradient(180deg, rgba(249, 236, 215, 0.94), rgba(224, 198, 161, 0.92));
}

.menu-hero__copy {
  font-size: 1.06rem;
}

.menu-hero__visual img {
  min-height: 18rem;
}

.section-jump-links {
  margin-bottom: 1.5rem;
}

.board-links {
  margin-top: 1rem;
}

.menu-section__head {
  margin-bottom: 1rem;
}

.menu-items {
  display: grid;
  gap: 0.9rem;
}

.menu-item {
  display: grid;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dp-color-line);
}

.menu-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.menu-item__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.menu-item__body p {
  margin: 0;
  font-size: 0.95rem;
}

.menu-item__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(54, 88, 58, 0.1);
  color: var(--dp-color-olive);
  font-size: 0.92rem;
  font-weight: 800;
}

.price-pill strong {
  color: var(--dp-color-ink);
}

.menu-notes {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dp-color-line);
}

.menu-notes p {
  margin: 0;
  font-size: 0.95rem;
}

.menu-notes--global {
  margin-top: 1.5rem;
}

.cta-panel {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  background:
    linear-gradient(140deg, rgba(178, 39, 29, 0.96), rgba(20, 14, 10, 0.96));
  color: #fff;
}

.cta-panel h2,
.cta-panel p,
.cta-panel .eyebrow {
  color: #fff;
}

.cta-panel .eyebrow::before {
  background: currentColor;
}

.cta-panel--dark {
  background:
    linear-gradient(140deg, rgba(18, 13, 9, 0.98), rgba(35, 21, 14, 0.98));
}

.visit-grid {
  align-items: stretch;
}

.visit-panel {
  background: rgba(247, 231, 207, 0.88);
}

.visit-panel--accent {
  background: rgba(54, 88, 58, 0.08);
}

.hours-list {
  display: grid;
  gap: 0.85rem;
}

.hours-list__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--dp-color-line);
}

.hours-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours-list dt {
  font-weight: 800;
}

.hours-list dd {
  margin: 0;
  color: var(--dp-color-muted);
  text-align: right;
}

.hours-list--footer .hours-list__row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.hours-list--footer dt,
.hours-list--footer dd {
  color: rgba(255, 253, 249, 0.84);
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.4rem;
}

.contact-meta strong {
  display: block;
  margin-bottom: 0.15rem;
}

.contact-meta--footer {
  margin: 0 0 1.15rem;
}

.contact-meta--footer span,
.contact-meta--footer a {
  color: rgba(255, 253, 249, 0.78);
}

.footer-directions {
  margin: 1rem 0 0;
}

.footer-directions a {
  color: var(--dp-color-gold);
  font-weight: 800;
}

.site-footer {
  padding: var(--dp-space-7) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dp-color-night);
  color: rgba(255, 253, 249, 0.84);
}

.site-footer__layout {
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 1rem;
}

.site-footer__logo {
  width: 5rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.site-footer p {
  color: rgba(255, 253, 249, 0.78);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--dp-color-gold);
}

.entry-card {
  padding: 1.7rem;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--dp-font-display);
  line-height: 1.1;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

@media (min-width: 48rem) {
  .section {
    padding: var(--dp-space-8) 0;
  }

  .site-topbar__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-navigation {
    grid-column: 1 / -1;
  }

  .site-actions {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }

  .hero__layout,
  .about-grid,
  .visit-grid,
  .site-footer__layout,
  .menu-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .hero {
    padding-top: var(--dp-space-8);
  }

  .menu-path-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .specials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .cta-panel {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 2rem;
  }

  .site-footer__layout {
    grid-template-columns: 1.2fr 0.9fr 1fr;
  }
}

@media (min-width: 72rem) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .site-navigation {
    grid-column: auto;
    justify-self: stretch;
  }

  .menu {
    justify-content: flex-end;
    row-gap: 0.5rem;
  }

  .site-actions {
    grid-auto-flow: column;
    grid-template-columns: none;
    justify-content: end;
  }
}
