/*
Theme Name: Midnight Rose
Author: Midnight Rose
Description: Custom theme for Midnight Rose Private Parlour, Coffs Harbour.
Version: 1.4.15
Requires at least: 6.4
Tested up to: 6.8
Text Domain: midnight-rose
*/

:root {
  --mr-black: #070506;
  --mr-red: #8a1826;
  --mr-gold: #c9a227;
  --mr-cream: #f3ead6;
  --mr-frame: #141010;
  --mr-serif: "Cinzel", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --mr-body: "Source Serif 4", Palatino, "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--mr-black);
  color: var(--mr-cream);
  font-family: var(--mr-body);
  line-height: 1.55;
  font-size: 1.05rem;
}

a { color: var(--mr-gold); text-decoration: none; }
a:hover, a:focus { color: #e0c056; text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--mr-gold);
  color: var(--mr-black);
  padding: 0.4rem 0.7rem;
}

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

.wrap {
  width: min(720px, calc(100% - 1.6rem));
  margin: 0 auto;
}

.site-header, .site-footer {
  background: #000;
}

.site-header {
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  padding: 1rem 0 0.85rem;
  text-align: center;
  box-shadow: 0 0 28px rgba(138, 24, 38, 0.35), 0 0 48px rgba(201, 162, 39, 0.08);
}

.site-brand {
  display: block;
  color: var(--mr-gold);
}

.site-logo {
  display: block;
  width: min(280px, 86%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(138, 24, 38, 0.7)) drop-shadow(0 0 36px rgba(201, 162, 39, 0.28));
  transition: filter 0.35s ease;
}
.site-brand:hover .site-logo,
.site-brand:focus .site-logo {
  filter: drop-shadow(0 0 24px rgba(138, 24, 38, 0.9)) drop-shadow(0 0 44px rgba(201, 162, 39, 0.4));
}

.site-tag {
  margin: 0.45rem 0 0.85rem;
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav {
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  padding-top: 0.7rem;
}

.site-nav .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--mr-cream);
  font-family: var(--mr-serif);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.site-nav .current-menu-item a,
.site-nav a:hover,
.site-nav a:focus {
  color: var(--mr-gold);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.55);
}

body.home .site-logo { display: none; }
body.home .site-tag { margin-top: 0.15rem; }

.site-main { padding: 1.6rem 0 2.6rem; }

h1, h2 {
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 1rem;
}

h2 {
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
}

.hero {
  text-align: center;
  padding: 0.4rem 0 0.5rem;
}

.hero-sign {
  display: block;
  width: min(640px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.1rem;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(138, 24, 38, 0.75)) drop-shadow(0 0 56px rgba(201, 162, 39, 0.32));
}

.lede {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 1.35rem;
  color: var(--mr-cream);
}

.rose-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.4rem auto 1.3rem;
  max-width: 22rem;
  color: var(--mr-gold);
  font-size: 0.85rem;
}
.rose-rule::before,
.rose-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mr-gold), transparent);
}

.cta {
  display: inline-block;
  background: var(--mr-red);
  color: var(--mr-cream);
  font-family: var(--mr-serif);
  padding: 0.7rem 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #a32233;
  box-shadow: 0 0 18px rgba(138, 24, 38, 0.55);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.cta:hover, .cta:focus {
  color: #fff;
  text-decoration: none;
  background: #9b1b2a;
  border-color: var(--mr-gold);
  box-shadow: 0 0 22px rgba(201, 162, 39, 0.45), 0 0 36px rgba(138, 24, 38, 0.5);
}

.center { text-align: center; }

.page-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.4rem;
}

.split {
  display: grid;
  gap: 1.4rem;
}

.plaque {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--mr-gold);
  box-shadow: 0 0 0 6px var(--mr-frame), 0 16px 40px rgba(0, 0, 0, 0.45);
}

.price-table, .hours-table {
  width: min(36rem, 100%);
  margin: 0.6rem auto 1.1rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.price-table th, .price-table td,
.hours-table th, .hours-table td {
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  padding: 0.75rem 0.7rem;
  text-align: center;
  vertical-align: middle;
}

.price-table th, .hours-table th {
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hours-table col.hours-col {
  width: 50%;
}

.hours-table th,
.hours-table td {
  width: 50%;
}

.gallery-set {
  margin: 0 0 2.1rem;
}

.gallery-set h2 {
  text-align: center;
}

.gallery-room {
  padding: 0.85rem 0.55rem 1rem;
  background:
    radial-gradient(ellipse at center, rgba(40, 18, 22, 0.95) 0%, rgba(7, 5, 6, 0.15) 78%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: top center;
  background: #000;
  border: 1px solid var(--mr-gold);
  box-shadow: 0 0 0 7px #0c0a0a, 0 14px 28px rgba(0, 0, 0, 0.55);
  opacity: 0.96;
  transition: opacity 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}
.gallery img:hover,
.gallery img:focus {
  opacity: 1;
  filter: brightness(1.06);
  box-shadow: 0 0 0 7px #0c0a0a, 0 0 22px rgba(201, 162, 39, 0.35), 0 16px 32px rgba(0, 0, 0, 0.6);
}

.outcall {
  max-width: 36rem;
  margin: 0.6rem auto 1.1rem;
  text-align: center;
  color: var(--mr-cream);
}
.notice {
  color: var(--mr-red);
  letter-spacing: 0.04em;
  text-align: center;
}

.contact-block p { margin: 0.45rem 0; }

.map-embed {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--mr-gold);
  box-shadow: 0 0 0 6px var(--mr-frame);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.legal {
  max-width: 40rem;
  margin: 0 auto;
}
.legal p { margin: 0.7rem 0; }
.legal h2 {
  text-align: left;
  letter-spacing: 0.1em;
  margin-top: 1.6rem;
}

.site-footer {
  border-top: 1px solid rgba(201, 162, 39, 0.45);
  padding: 1.5rem 0 1.7rem;
  text-align: center;
  font-size: 0.92rem;
}

.site-footer p { margin: 0.28rem 0; }

.footer-legal a { margin: 0 0.35rem; }

@media (min-width: 700px) {
  .wrap { width: min(980px, calc(100% - 2.4rem)); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 1.05rem; }
  .gallery img { height: auto; aspect-ratio: 1 / 1; }
  .site-logo { width: min(340px, 42%); }
}

@media (min-width: 1080px) {
  .wrap { width: min(1180px, calc(100% - 3.5rem)); }
  html { font-size: 1.08rem; }
  .site-header { padding: 1.35rem 0 1rem; }
  .site-logo { width: min(380px, 34%); }
  .site-nav { padding-top: 0.9rem; }
  .site-nav a { font-size: 0.78rem; letter-spacing: 0.2em; }
  .site-main { padding: 2.4rem 0 3.4rem; }
  h1 { font-size: 1.55rem; margin-bottom: 1.2rem; }
  .hero-sign { width: min(720px, 70%); margin-bottom: 1.4rem; }
  .lede { font-size: 1.12rem; margin-bottom: 1.6rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .gallery img { height: auto; aspect-ratio: 1 / 1; }
  .gallery-room { padding: 1.2rem 1rem 1.3rem; }
  .split {
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    align-items: start;
    gap: 2.2rem;
  }
  .plaque { width: 100%; max-width: 460px; margin: 0; }
  .price-table, .hours-table { width: min(44rem, 100%); margin: 0.8rem auto 1.2rem; }
  .map-embed iframe { height: 360px; }
  .map-embed { min-height: 360px; }
}


.price-table--board {
  width: min(44rem, 100%);
}

.price-table--board col.price-col {
  width: 25%;
}

.price-table--board th,
.price-table--board td {
  text-align: center;
  width: 25%;
}

.price-table--board .price-col-label {
  text-align: center;
}

.price-note {
  max-width: 44rem;
  margin: 0 auto 0.9rem;
  text-align: center;
  color: rgba(243, 234, 214, 0.72);
  font-size: 0.92rem;
}

.outcall {
  max-width: 44rem;
}

.home-notices {
  position: relative;
  margin: 1.8rem auto 1.15rem;
  width: min(36rem, calc(100% - 1.25rem));
  padding: 1.35rem 1.5rem 1.45rem;
  text-align: center;
  border: 1px solid var(--mr-gold);
  background:
    radial-gradient(ellipse at center, rgba(40, 18, 22, 0.9) 0%, rgba(7, 5, 6, 0.15) 78%);
  box-shadow:
    0 0 0 6px var(--mr-frame),
    0 0 28px rgba(138, 24, 38, 0.35),
    0 0 48px rgba(201, 162, 39, 0.08);
}

.home-notices::before {
  content: "";
  position: absolute;
  inset: 0.38rem;
  border: 1px solid rgba(201, 162, 39, 0.32);
  pointer-events: none;
}

.home-notices h2 {
  text-align: center;
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
}

.home-notices-body {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--mr-cream);
  font-size: 1.2rem;
  line-height: 1.55;
}

.home-notices-body > * {
  margin: 0;
}

.home-notices-body > * + * {
  margin-top: 0.7rem;
}

.home-notices-body ul,
.home-notices-body ol {
  padding-left: 1.35rem;
  text-align: left;
}

.home-notices-body > ul,
.home-notices-body > ol {
  display: inline-block;
  max-width: 100%;
}

.home-notices-body li {
  margin: 0.2rem 0;
}

.home-notices-body a {
  color: var(--mr-gold);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.home-notices-body a:hover,
.home-notices-body a:focus {
  color: #e0c056;
}

.home-notices-body strong,
.home-notices-body b {
  font-weight: 600;
}

.home-notices-body em,
.home-notices-body i {
  font-style: italic;
}

.home-gallery {
  margin: 2.2rem auto 1.4rem;
  max-width: 52rem;
  padding: 0 0.75rem;
}

.home-gallery h2 {
  text-align: center;
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
}

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

@media (min-width: 720px) {
  .gallery--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .gallery--home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gallery--home .gallery-thumb img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.gallery-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  background: #000;
  border: 1px solid var(--mr-gold);
  box-shadow: 0 0 0 7px #0c0a0a, 0 14px 28px rgba(0, 0, 0, 0.55);
  opacity: 0.96;
  transition: opacity 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  display: block;
}

.gallery-thumb:hover img,
.gallery-thumb:focus img {
  opacity: 1;
  filter: brightness(1.06);
  box-shadow: 0 0 0 7px #0c0a0a, 0 0 22px rgba(201, 162, 39, 0.35), 0 16px 32px rgba(0, 0, 0, 0.6);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--mr-gold);
  outline-offset: 4px;
}

.home-gallery-more {
  text-align: center;
  margin: 1rem 0 0;
}

.home-gallery-more a {
  color: var(--mr-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

.home-gallery-more a:hover {
  border-bottom-color: var(--mr-gold);
}

body.mr-lightbox-open {
  overflow: hidden;
}

.mr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.mr-lightbox[hidden] {
  display: none !important;
}

.mr-lightbox__figure {
  margin: 0;
  max-width: min(920px, 100%);
  max-height: 90vh;
  text-align: center;
}

.mr-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--mr-gold);
  box-shadow: 0 0 0 6px #0c0a0a, 0 20px 40px rgba(0, 0, 0, 0.65);
}

.mr-lightbox__cap {
  margin-top: 0.75rem;
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.mr-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  color: var(--mr-cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* mr-1.4.0 square thumbs + lightbox nav */

.gallery img,
.gallery-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
}

.gallery--home .gallery-thumb img {
  height: auto;
  aspect-ratio: 1 / 1;
}

@media (min-width: 980px) {
  .gallery--home .gallery-thumb img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.mr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: mr-lb-fade-in 0.22s ease;
}

.mr-lightbox[hidden] {
  display: none !important;
}

@keyframes mr-lb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mr-lightbox__figure {
  margin: 0;
  max-width: min(920px, 100%);
  max-height: 90vh;
  text-align: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mr-lightbox__figure.is-out {
  opacity: 0;
  transform: scale(0.97);
}

.mr-lightbox__figure.is-in {
  opacity: 1;
  transform: scale(1);
}

.mr-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--mr-gold);
  box-shadow: 0 0 0 6px #0c0a0a, 0 20px 40px rgba(0, 0, 0, 0.65);
  touch-action: pan-y;
}

.mr-lightbox__cap {
  margin-top: 0.75rem;
  color: var(--mr-gold);
  font-family: var(--mr-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.mr-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  color: var(--mr-cream);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  z-index: 2;
}





/* mr-1.4.3 symmetrical tables */

@media (min-width: 700px) {
  .price-table,
  .hours-table {
    width: min(40rem, 100%);
  }
  .price-table--board {
    width: min(48rem, 100%);
  }
}

@media (min-width: 1080px) {
  .price-table,
  .hours-table {
    width: min(44rem, 92%);
  }
  .price-table--board {
    width: min(52rem, 92%);
  }
  .price-table th,
  .price-table td,
  .hours-table th,
  .hours-table td {
    padding: 0.9rem 0.85rem;
  }
}
