/* The Domino Room — shared site styles */

@font-face {
  font-family: 'PP Eiko';
  src: url('fonts/PPEiko-Thin.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Eiko';
  src: url('fonts/PPEiko-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Eiko';
  src: url('fonts/PPEiko-Heavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sometype Mono';
  src: url('fonts/SometypeMono-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tdr-burgundy: #69150D;
  --tdr-burgundy-dark: #5F1D15;
  --tdr-cream: #e5dac3;
  --tdr-gold: #C59B3B;
  --tdr-gold-foil: linear-gradient(135deg, #b08833 0%, #c59b3b 22%, #d1ae5b 38%, #c59b3b 52%, #b68f35 66%, #d0ad56 82%, #c19746 100%);
  --tdr-ink: #020203;
  --tdr-font-display: 'PP Eiko', Georgia, 'Times New Roman', serif;
  --tdr-font-body: 'Sometype Mono', 'Courier New', monospace;
  --tdr-max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--tdr-burgundy);
  font-family: var(--tdr-font-body);
  line-height: 1.6;

  background-color: var(--tdr-cream);
  background-image:
    linear-gradient(rgba(197, 155, 59, 0.0), rgba(197, 155, 59, 0.0)),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.05) 140%),
    url("images/TDR_Web_BG_PaperTexture_Seamless.webp");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: cover, cover, 1400px 1400px;
  background-blend-mode: normal, soft-light, multiply;
  background-attachment: fixed, fixed, fixed;
}

h1, h2, h3, h4 {
  font-family: var(--tdr-font-display);
  font-weight: 500;
  color: var(--tdr-burgundy);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: var(--tdr-max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

main section {
  padding: 4rem 1.5rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: transparent;
  border-bottom: 0px solid rgba(105, 21, 13, 0.15);
}

.site-header .logo img {
  height: 48px;
  width: auto;
  /* Debossed: dark shadow on the light-facing edge (top-left), warm
     highlight opposite, matching the hero logo/trim. */
  filter:
    drop-shadow(-1px -1px 1px rgba(58, 22, 12, 0.4))
    drop-shadow(1px 1.5px 0.5px rgba(255, 248, 230, 0.55));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--tdr-font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tdr-burgundy);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: transparent;
  background: var(--tdr-gold-foil);
  background-clip: text;
  -webkit-background-clip: text;
  border-bottom-color: var(--tdr-gold);
}

.site-nav a.nav-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.4em;
  background: transparent;
  color: var(--tdr-gold);
  border: 1px solid var(--tdr-gold);
}

.site-nav a.nav-reserve:hover,
.site-nav a.nav-reserve.active {
  background: var(--tdr-gold-foil);
  color: var(--tdr-ink);
  border-color: var(--tdr-gold);
}

.nav-toggle {
  display: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 3, 0.55);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  display: none;
}

@media (max-width: 700px) {
  .site-nav {
    position: fixed;
    inset: 0px 0px 0 50px;
    background: var(--tdr-burgundy);
    color: var(--tdr-gold);
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem 1.5rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    color: var(--tdr-gold);
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: var(--tdr-cream);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    border-bottom-color: var(--tdr-cream);
  }

  .site-nav a.nav-reserve {
    margin-top: auto;
  }

  .site-header .logo img {
    height: 32px;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--tdr-burgundy);
    cursor: pointer;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--tdr-gold);
    cursor: pointer;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.8em;
  font-family: var(--tdr-font-body);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid var(--tdr-burgundy);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--tdr-burgundy);
  color: var(--tdr-cream);
}

.btn-primary:hover {
  background: var(--tdr-gold-foil);
  border-color: var(--tdr-gold);
  color: var(--tdr-ink);
}

.btn-outline {
  background: transparent;
  color: var(--tdr-burgundy);
}

.btn-outline:hover {
  background: var(--tdr-burgundy);
  color: var(--tdr-cream);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-row-bottom {
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
}

.cta-illustration {
  width: 64px;
  height: auto;
  transform: scaleX(-1);
}

/* ---------- Hero ---------- */

.home-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1.5rem;
  overflow: hidden;
}

.home-screen::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-style: solid;
  border-width: 10px;
  border-image: var(--tdr-gold-foil) 1;
  pointer-events: none;
  /* Debossed: dark shadow on the light-facing edge (top-left), warm
     highlight on the opposite edge, so the gold trim presses into the paper. */
  filter:
    drop-shadow(-1px -1px 1px rgba(58, 22, 12, 0.42))
    drop-shadow(1px 1.5px 0.5px rgba(255, 248, 230, 0.5));
}

.home-illustration {
  width: 280px;
  height: auto;
  margin-left: -280px;
  z-index: 2;
}

.home-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
  z-index: 1;
}

.home-heading {
  /* line-height: 0 collapses the inline-image descender gap so the h1
     wrapper adds no height beyond the logo itself */
  margin: 0;
  line-height: 0;
}

.home-logo {
  width: min(360px, 70vw);
  /* Debossed: same top-left shadow / bottom-right highlight pairing as the
     trim, scaled up slightly for the larger mark. */
  filter:
    drop-shadow(-1px -1px 1.5px rgba(58, 22, 12, 0.4))
    drop-shadow(1.5px 2px 0.5px rgba(255, 248, 230, 0.55));
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.home-links a {
  text-decoration: none;
  font-family: var(--tdr-font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tdr-burgundy);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-links a:hover {
  color: transparent;
  background: var(--tdr-gold-foil);
  background-clip: text;
  -webkit-background-clip: text;
  border-bottom-color: var(--tdr-gold);
}

@media (min-width: 701px) {
  .home-illustration {
    position: absolute;
    left: -14vw;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(480px, 51vw, 840px);
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .home-illustration {
    position: absolute;
    left: 10%;
    bottom: 1.5px;
    transform: translateX(-50%);
    margin-left: 20px;
  }

  .home-links {
    flex-direction: column;
    align-items: center;
  }

  .home-screen {
  min-height: 100svh;
}
}

/* ---------- Sections ---------- */

.page-hero {
  text-align: center;
  padding-bottom: 1rem;
}

.page-hero-sub {
  font-family: var(--tdr-font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--tdr-burgundy-dark);
  margin-top: 0.25rem;
}

.page-hero-illustration {
  width: 64px;
  height: auto;
  margin: 1.25rem auto 0;
}

/* ---------- Menu page ---------- */

.menu-body {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.menu-outro {
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem 4rem;
}

.menu-outro img {
  width: 160px;
  height: auto;
}

/* ---------- About grid ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: stretch;
  max-width: var(--tdr-max-width);
  margin: 0 auto;
}

@media (max-width: 850px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
   max-width: var(--tdr-max-width);
   margin: 0 auto;
}

.pull-quote-wrap {
  position: relative;
  max-width: 480px;
  margin: 2.5rem 0;
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
}

.quote-mark {
  position: absolute;
  top: -1.75rem;
  left: -0.5rem;
  font-family: var(--tdr-font-display);
  font-size: 5rem;
  line-height: 1;
  background: var(--tdr-gold-foil);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.pull-quote {
  font-family: var(--tdr-font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--tdr-burgundy-dark);
  margin: 0;
}

/* ---------- Visit card ---------- */

.visit-card {
  position: relative;
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--tdr-gold);
  background: rgba(197, 155, 59, 0.07);
}

.visit-address a {
  text-decoration: none;
  font-size: 1.05rem;
}

.visit-address a:hover {
  color: var(--tdr-gold);
}

.hours-table {
  width: 100%;
  margin: 1.5rem auto;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.45em 0.5em;
  border-bottom: 1px solid rgba(105, 21, 13, 0.15);
}

.hours-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.hours-table td:last-child {
  text-align: right;
}

.visit-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.visit-contacts a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.visit-contacts a:hover {
  color: var(--tdr-gold);
}

/* ---------- Gallery ---------- */

.gallery-section {
  text-align: center;
}

.gallery-wrap {
  position: relative;
  max-width: var(--tdr-max-width);
  margin: 2rem auto 0;
}

.gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.gallery-photo {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  background: #fff;
  padding: 14px;
}

.gallery-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 850px) {
  .gallery {
    padding-inline: 16px;
    padding-bottom: 0;
    scroll-padding-inline: 16px;
  }

  .gallery-photo {
    width: 100%;
    max-width: 420px;
    scroll-snap-align: center;
  }
}

.gallery-arrow {
  display: none;
}

@media (min-width: 851px) {
  .gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: none;
    border: none;
    color: var(--tdr-burgundy);
    font-size: 3.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s ease;
  }

  .gallery-arrow:hover {
    color: var(--tdr-gold);
  }

  .gallery-arrow-prev {
    left: -48px;
  }

  .gallery-arrow-next {
    right: -48px;
  }
}

.scrap-corner {
  display: none;
}

.gallery-swipe-hint {
  display: none;
}

@media (max-width: 850px) {
  .scrap-corner {
    display: block;
    position: absolute;
    width: 28px;
    height: 28px;
    background: rgba(197, 155, 59, 0.85);
    z-index: 3;
    pointer-events: none;
  }

  .scrap-corner-tl {
    top: -3px;
    left: 12px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .scrap-corner-tr {
    top: -3px;
    right: 12px;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
  }

  .scrap-corner-bl {
    bottom: -3px;
    left: 12px;
    clip-path: polygon(0 100%, 100% 100%, 0 0);
  }

  .scrap-corner-br {
    bottom: -3px;
    right: 12px;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
  }

  .gallery-swipe-hint {
    display: block;
    text-align: center;
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tdr-burgundy-dark);
    opacity: 0.6;
    animation: swipeHint 2.2s ease-in-out infinite;
  }
}

@keyframes swipeHint {
  0%, 100% { transform: translateX(0); opacity: 0.45; }
  50% { transform: translateX(5px); opacity: 0.85; }
}

.tour-embeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--tdr-max-width);
  margin: 0 auto;
}

@media (max-width: 850px) {
  .tour-embeds {
    grid-template-columns: 1fr;
  }
}

.packages {
  max-width: var(--tdr-max-width);
  margin: 0 auto;
  text-align: left;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--tdr-gold);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  background: var(--tdr-burgundy);
  color: var(--tdr-gold);
}

.site-footer .footer-logo {
  height: 36px;
  margin: 0 auto 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--tdr-cream);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-social a svg {
  width: 22px;
  height: 22px;
  color: var(--tdr-gold);
  transition: color 0.2s ease;
}

.footer-social a:hover svg {
  color: var(--tdr-cream);
}

.footer-copyright {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 1.5rem;
}
