/*
Theme Name: PartyTime Dark
Theme URI: https://partytime.ee/
Description: Tume PartyTime kujundus, mis sobitub Slotera Dark broneerimisvormiga.
Author: PartyTime
Version: 1.0.2
Template: twentytwentyfive
Text Domain: partytime-dark
Requires at least: 6.7
Requires PHP: 8.1
*/

:root {
  --pt-outer: #0b1120;
  --pt-form: #0f172a;
  --pt-card: #111827;
  --pt-border: #334155;
  --pt-text: #ffffff;
  --pt-muted: #cbd5e1;
  --pt-coral: #ff5a47;
  --pt-coral-hover: #ff715f;
  --pt-teal: #22c7c9;
  --pt-gold: #fbbf24;
  --pt-pink: #da678f;
}

html { scroll-behavior: smooth; }
body { background: var(--pt-outer); color: var(--pt-text); }
a { text-underline-offset: .2em; }
.wp-site-blocks { overflow: hidden; }

.pt-shell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.pt-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(11, 17, 32, .94);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  backdrop-filter: blur(14px);
}

.pt-header__inner { min-height: 84px; }
.pt-logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--pt-coral);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: 1;
  text-decoration: none;
}
.pt-logo__time { color: #21dfe3; }
.pt-logo__ee { margin-left: .06em; color: #9b87ff; font-size: .68em; letter-spacing: -.04em; }
.pt-logo__spark { align-self: flex-start; margin: -.32em 0 0 -.05em; color: var(--pt-gold); font-size: .55em; line-height: 1; }
.pt-logo-link { display: inline-flex; text-decoration: none; }
.pt-header .wp-block-navigation { font-weight: 700; }
.pt-header .wp-block-navigation a { color: var(--pt-text); text-decoration: none; }
.pt-header .wp-block-navigation-item:last-child > a {
  display: inline-flex;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  background: var(--pt-coral);
  color: #fff;
}
.pt-header .wp-block-navigation-item:last-child > a:hover { background: var(--pt-coral-hover); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--pt-outer); color: var(--pt-text); }

.pt-hero { padding: clamp(72px, 10vw, 140px) 0 90px; position: relative; }
.pt-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 45%;
  height: 520px;
  background: radial-gradient(circle, rgba(34, 199, 201, .17), transparent 65%);
  pointer-events: none;
}
.pt-eyebrow { color: var(--pt-teal); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pt-hero h1 { font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: .96; letter-spacing: -.055em; max-width: 830px; }
.pt-lead { max-width: 700px; color: var(--pt-muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.pt-actions { gap: 14px; }
.pt-button .wp-block-button__link {
  border: 1px solid var(--pt-coral);
  border-radius: 999px;
  background: var(--pt-coral);
  color: #fff;
  font-weight: 800;
  padding: .95rem 1.35rem;
}
.pt-button--ghost .wp-block-button__link { background: transparent; border-color: var(--pt-border); }
.pt-button--ghost .wp-block-button__link:hover { border-color: var(--pt-teal); color: var(--pt-teal); }
.pt-hero-photo {
  width: 100%;
  min-height: 420px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.pt-trust { margin-bottom: 110px; padding: 22px 28px; border: 1px solid var(--pt-border); border-radius: 20px; background: rgba(17, 24, 39, .78); }
.pt-trust p { margin: 0; color: var(--pt-muted); font-weight: 700; }
.pt-trust strong { color: var(--pt-text); }

.pt-section { padding: 90px 0; }
.pt-section--soft { background: var(--pt-form); }
.pt-section__intro { max-width: 720px; margin-bottom: 44px; }
.pt-section__intro h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -.04em; }
.pt-section__intro p { color: var(--pt-muted); font-size: 1.1rem; }
.pt-grid { align-items: stretch; }
.pt-card { height: 100%; padding: 30px; border: 1px solid var(--pt-border); border-radius: 22px; background: var(--pt-card); }
.pt-card__icon { color: var(--pt-gold); font-size: 2rem; line-height: 1; }
.pt-card h3 { margin-top: 22px; }
.pt-card p { color: var(--pt-muted); }
.pt-card a { color: var(--pt-teal); font-weight: 800; }

.pt-step__number { display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--pt-coral); font-weight: 900; }
.pt-final { padding: 110px 0; text-align: center; }
.pt-final__box { padding: clamp(38px, 7vw, 78px); border: 1px solid var(--pt-border); border-radius: 30px; background: linear-gradient(135deg, #111827, #172554); }
.pt-final h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.04em; }

.pt-page { padding: 70px 0 110px; }
.pt-page-title { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.04em; }

.pt-footer { padding: 58px 0 28px; border-top: 1px solid var(--pt-border); background: #070c17; }
.pt-footer p, .pt-footer a { color: var(--pt-muted); }
.pt-footer a:hover { color: var(--pt-teal); }
.pt-footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(148, 163, 184, .16); }

/* Keep Slotera Dark visually continuous with the site. */
body .sltr-theme-dark {
  --sltr-form-bg: #0f172a;
  --sltr-form-text: #ffffff;
  --sltr-card-bg: #111827;
  --sltr-card-border: #334155;
  --sltr-primary: #ff5a47;
  --sltr-primary-text: #ffffff;
  --sltr-popular-bg: #da678f;
  --sltr-popular-text: #ffffff;
  --sltr-muted: #cbd5e1;
  --sltr-price-old: #ef4444;
  --sltr-price-new: #61ce4b;
  --sltr-discount-bg: #ef4444;
  --sltr-discount-text: #ffffff;
}

@media (max-width: 781px) {
  .pt-shell { width: min(100% - 28px, 1200px); }
  .pt-header__inner { min-height: 72px; }
  .pt-logo { font-size: clamp(1.65rem, 8vw, 2rem); }
  .pt-hero { padding-top: 58px; }
  .pt-hero-photo { min-height: 300px; }
  .pt-trust { margin-bottom: 65px; }
  .pt-section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
