:root {
  --bg: #f4efe7;
  --bg-strong: #e8ddce;
  --surface: rgba(255, 251, 246, 0.78);
  --surface-strong: rgba(255, 248, 240, 0.92);
  --text: #241d17;
  --muted: #66584d;
  --line: rgba(55, 39, 27, 0.14);
  --accent: #a66c3d;
  --accent-deep: #6e4726;
  --shadow: 0 24px 70px rgba(46, 27, 12, 0.12);
  --radius-large: 32px;
  --radius-medium: 22px;
  --radius-small: 16px;
  --content-width: 1180px;
}

[data-theme="dark"] {
  --bg: #15110d;
  --bg-strong: #211a14;
  --surface: rgba(31, 24, 18, 0.82);
  --surface-strong: rgba(38, 29, 22, 0.94);
  --text: #f2e7da;
  --muted: #c8b7a7;
  --line: rgba(245, 230, 214, 0.12);
  --accent: #deab6f;
  --accent-deep: #f6d2ac;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 35%),
    linear-gradient(180deg, #f8f2ea 0%, var(--bg) 45%, #efe5d7 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), 1320px);
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-large) + 10px);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.86), rgba(232, 221, 206, 0.64)),
    url("1544%2012th%20St%20Reshoot-1.jpg") center/cover;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 20, 12, 0.68) 0%, rgba(30, 20, 12, 0.24) 48%, rgba(30, 20, 12, 0.1) 100%);
  pointer-events: none;
}

.topbar,
.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0 0.5rem;
}

.brand {
  font-family: "Aptos Display", "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff6ee;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.topbar-links a {
  color: rgba(255, 247, 239, 0.92);
  font-size: 0.95rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(255, 248, 240, 0.3);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.08);
  color: rgba(255, 247, 239, 0.92);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.theme-toggle-track {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.22);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff4e8;
  transition: transform 220ms ease, background-color 220ms ease;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(20px);
  background: #f0c99f;
}

.theme-toggle-label {
  font-size: 0.9rem;
}

.hero-content {
  max-width: 840px;
  padding: 9rem 1rem 7rem;
  color: #fff7ee;
}

.eyebrow,
.section-label,
.hero-card-label {
  margin: 0 0 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1,
.section-heading h2,
.room-card h3,
.highlight-card h3 {
  font-family: "Aptos Display", "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  max-width: 30ch;
}

.hero-copy {
  max-width: 52ch;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 247, 239, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #fff4e8;
  color: var(--accent-deep);
}

.button-secondary {
  border: 1px solid rgba(255, 248, 240, 0.35);
  background: rgba(255, 248, 240, 0.1);
  color: #fff7ee;
  backdrop-filter: blur(10px);
}

.hero-card {
  width: min(360px, calc(100% - 2rem));
  margin-left: auto;
  padding: 1.4rem;
  border: 1px solid rgba(255, 248, 240, 0.28);
  border-radius: var(--radius-medium);
  background: rgba(255, 247, 239, 0.14);
  color: #fff7ee;
  backdrop-filter: blur(12px);
}

.hero-card-title {
  margin: 0;
  font-family: "Aptos Display", "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  font-size: 1.6rem;
}

.hero-card-copy {
  margin: 0.75rem 0 0;
  line-height: 1.65;
  color: rgba(255, 247, 239, 0.88);
}

.section {
  margin-top: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.section-label {
  color: var(--accent);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1;
}

.highlight-grid,
.room-list {
  display: grid;
  gap: 1rem;
}

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

.highlight-card,
.room-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 252, 248, 0.8);
}

.highlight-card h3,
.room-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.highlight-card p,
.room-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.room-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.room-links a {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.78);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.room-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 108, 61, 0.55);
  color: var(--accent-deep);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 0.9rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-small);
}

.gallery-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(24, 17, 12, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  width: auto;
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.lightbox-nav,
.lightbox-close {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 245, 236, 0.35);
  border-radius: 999px;
  background: rgba(255, 245, 236, 0.12);
  color: #fff7ee;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

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

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row-full,
.form-actions {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 0.95rem 1rem;
  background: rgba(255, 252, 248, 0.82);
  color: var(--text);
  font: inherit;
}

.form-row textarea {
  resize: vertical;
  min-height: 160px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(166, 108, 61, 0.34);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.button-form {
  border: 0;
  background: var(--accent-deep);
  color: #fff7ee;
  cursor: pointer;
}

.button-form:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

@media (max-width: 980px) {
  .highlight-grid,
  .room-list,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 2;
  }

  .hero-content {
    padding-top: 6rem;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), 1320px);
    padding-top: 0.5rem;
  }

  .hero,
  .section {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding: 4.5rem 0.25rem 3rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .highlight-grid,
  .room-list,
  .contact-form,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-card {
    width: 100%;
    margin-top: 1rem;
  }
}

body {
  transition: background 220ms ease, color 220ms ease;
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(255, 232, 204, 0.08), transparent 28%),
    linear-gradient(180deg, #120e0b 0%, var(--bg) 45%, #1f1813 100%);
}

[data-theme="dark"] .hero::after {
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.78) 0%, rgba(8, 7, 6, 0.42) 48%, rgba(8, 7, 6, 0.18) 100%);
}

[data-theme="dark"] .section,
[data-theme="dark"] .highlight-card,
[data-theme="dark"] .room-card,
[data-theme="dark"] .room-links a {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .section {
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
}

[data-theme="dark"] .highlight-card,
[data-theme="dark"] .room-card {
  background: rgba(42, 33, 25, 0.86);
}

[data-theme="dark"] .form-row input,
[data-theme="dark"] .form-row textarea {
  background: rgba(42, 33, 25, 0.86);
  border-color: var(--line);
}

[data-theme="dark"] .room-links a {
  background: rgba(45, 35, 26, 0.86);
}

[data-theme="dark"] .button-primary {
  background: #f0c99f;
  color: #3b291a;
}

[data-theme="dark"] .button-secondary,
[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 230, 204, 0.22);
  background: rgba(255, 230, 204, 0.08);
}

[data-theme="dark"] .lightbox {
  background: rgba(10, 8, 6, 0.92);
}
