:root {
  --ink: #111827;
  --muted: #657184;
  --line: #e7e0d2;
  --paper: #fffaf1;
  --ivory: #fffdf7;
  --gold: #c89b3c;
  --gold-dark: #92702e;
  --green: #16483b;
  --teal: #0f766e;
  --rose: #b86b66;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.nav {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: white;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: white;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.menu-open .nav-toggle span {
  opacity: 0;
}

body.menu-open .nav-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .nav-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: white;
  background: #111827;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.36), rgba(17, 24, 39, 0.68));
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 88px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn.primary {
  background: var(--gold);
  color: #16120a;
  box-shadow: 0 14px 34px rgba(200, 155, 60, 0.28);
}

.btn.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.btn.dark {
  background: var(--ink);
  color: white;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.hall-card,
.feature,
.contact-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.hall-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hall-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 155, 60, 0.6);
  box-shadow: var(--shadow);
}

.hall-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hall-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.hall-card:hover img {
  transform: scale(1.045);
}

.card-body {
  padding: 24px;
}

.card-body p,
.feature p,
.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.chip {
  padding: 7px 10px;
  border-radius: var(--radius);
  background: #f3f0e8;
  color: #4b5563;
  font-size: 0.86rem;
  font-weight: 700;
}

.feature {
  padding: 24px;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: #fff;
}

.stat span {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
}

.page-hero {
  padding: 148px 0 70px;
  color: white;
  background:
    linear-gradient(110deg, rgba(17, 24, 39, 0.92), rgba(22, 72, 59, 0.76)),
    url("../images/amc-palace.webp") center / cover;
}

.page-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
}

.hall-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.45fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.hall-detail:last-child {
  border-bottom: 0;
}

.hall-detail img {
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery button {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #111827;
}

.gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery button:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  font-size: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.48fr);
  gap: 28px;
}

.contact-panel {
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7d0c3;
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.legal-panel {
  padding: 30px;
}

.legal-panel h2 {
  margin-top: 30px;
  font-size: 1.55rem;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 48px 0 28px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.09);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 108px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(17, 24, 39, 0.98);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .section-head,
  .split,
  .contact-layout,
  .hall-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.two,
  .gallery,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 720px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .grid.three,
  .grid.two,
  .gallery,
  .stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero-content {
    padding: 74px 0 70px;
  }

  .hall-detail img {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
