/*
Theme Name: Midnight Rose
Author: Midnight Rose
Description: Custom theme for Midnight Rose Private Parlour, Coffs Harbour.
Version: 1.3.6
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(28rem, 100%);
  margin: 0.4rem auto 1rem;
  border-collapse: collapse;
}

.price-table th, .price-table td,
.hours-table th, .hours-table td {
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  padding: 0.65rem 0.45rem;
  text-align: left;
}

.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;
}

.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%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  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);
}

.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: 340px; }
  .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: 400px; }
  .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: 100%; margin: 0; }
  .map-embed iframe { height: 360px; }
  .map-embed { min-height: 360px; }
}
