/* Palace Wetzikon – Art Deco Cinema Experience */

:root {
  --bg-deep: #0a0708;
  --bg-surface: #141014;
  --bg-elevated: #1c1619;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dim: #8a7020;
  --burgundy: #4a1528;
  --burgundy-deep: #2d0c18;
  --cream: #f5efe0;
  --cream-muted: #b8ad9a;
  --white: #faf8f4;
  --accent-red: #8b1a2e;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-accent: "Italiana", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 72px;
  --max-width: 1280px;
  --radius: 4px;
  --shadow-gold: 0 0 40px rgba(201, 162, 39, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover { color: var(--white); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 7, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  transition: background 0.3s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 7, 8, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__logo svg { flex-shrink: 0; }

.nav__links {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

.nav__links a {
  color: var(--cream-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.08);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
}

.nav__mobile.open { display: block; }

.nav__mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__mobile a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--cream);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.nav__mobile a:hover { background: rgba(201, 162, 39, 0.08); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 50dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) saturate(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 7, 8, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, rgba(74, 21, 40, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.04em;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.35s forwards;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--cream);
  margin-top: 1.25rem;
  max-width: 32ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.65s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--bg-deep);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  box-shadow: 0 0 60px rgba(201, 162, 39, 0.3);
  color: var(--bg-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 239, 224, 0.25);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ── Sections ── */
.section {
  padding: 5rem 1.5rem;
}

.section--dark { background: var(--bg-surface); }
.section--burgundy {
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--bg-deep) 100%);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
}

.section__divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.25rem auto 0;
}

/* ── Ticker ── */
.ticker {
  background: var(--burgundy);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 0.875rem 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  flex-shrink: 0;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Film Grid ── */
.films {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .films { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .films { grid-template-columns: repeat(3, 1fr); }
}

.film-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: pointer;
}

.film-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.film-card__poster {
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}

.film-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.film-card:hover .film-card__poster img { transform: scale(1.05); }

.film-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
}

.film-card__body { padding: 1.25rem; }

.film-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.film-card__meta {
  font-size: 0.8125rem;
  color: var(--cream-muted);
  margin-top: 0.5rem;
}

/* ── Info Banner ── */
.info-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 3rem;
}

.info-banner__icon { color: var(--gold); flex-shrink: 0; }

.info-banner p {
  font-size: 0.9375rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.info-banner strong { color: var(--gold-light); }

/* ── Feature Split ── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.split--reverse .split__media { order: -1; }

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
  pointer-events: none;
}

.split__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.split__content p {
  color: var(--cream-muted);
  margin-bottom: 1rem;
}

.split__quote {
  font-family: var(--font-accent);
  font-size: 1.375rem;
  color: var(--gold-light);
  font-style: italic;
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

/* ── Poinz Cards ── */
.poinz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .poinz-grid { grid-template-columns: repeat(3, 1fr); }
}

.poinz-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.poinz-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-4px);
}

.poinz-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.poinz-card h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.poinz-card p {
  font-size: 0.875rem;
  color: var(--cream-muted);
}

/* ── News ── */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

.news-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.news-card:hover .news-card__img img { transform: scale(1.04); }

.news-card__body { padding: 1.5rem; flex: 1; }

.news-card__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.news-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.news-card p {
  font-size: 0.875rem;
  color: var(--cream-muted);
}

/* ── CTA Phone ── */
.cta-phone {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.cta-phone p {
  font-size: 0.9375rem;
  color: var(--cream-muted);
  margin-bottom: 0.75rem;
  max-width: 50ch;
  margin-inline: auto;
}

.cta-phone a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--gold-light);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.cta-phone a:hover { color: var(--white); }

.cta-phone__note {
  font-size: 0.8125rem !important;
  margin-top: 1rem !important;
  color: var(--cream-muted) !important;
  opacity: 0.8;
}

/* ── Footer ── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  padding: 4rem 1.5rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__address {
  color: var(--cream-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer h5 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 0.5rem; }

.footer li a {
  color: var(--cream-muted);
  font-size: 0.875rem;
}

.footer li a:hover { color: var(--gold-light); }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 50%;
  color: var(--cream-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.08);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--cream-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a { color: var(--cream-muted); font-size: 0.8125rem; }
.footer__legal a:hover { color: var(--gold-light); }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

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