/* dancincrays-site/assets/styles.css */
:root {
  color-scheme: light;

  /* Winter / snow theme */
  --ink: #0b2432;
  --ink-soft: rgba(11, 36, 50, 0.74);

  --sky-1: #5f97ad;
  --sky-2: #89b3c5;
  --sky-3: #cbe0e9;

  --snow: #f6fbff;
  --snow-2: rgba(246, 251, 255, 0.88);

  --line: rgba(255, 255, 255, 0.78);
  --line-strong: rgba(255, 255, 255, 0.92);

  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.72);

  --shadow: 0 18px 45px rgba(5, 22, 32, 0.18);
  --radius: 18px;

  /* Optional hero image set by JS via config.heroImageUrl */
  --hero-image: none;
  --hero-image-opacity: 0.22;

  /* Layout */
  --container: 1100px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.5;

  background:
    radial-gradient(1000px 520px at 50% -180px, rgba(255,255,255,0.65), transparent 60%),
    linear-gradient(180deg, var(--sky-1), var(--sky-2) 42%, var(--sky-3));
  overflow-x: hidden;
}

/* Snowflake layer + gentle drift */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.55' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M60 8v104'/%3E%3Cpath d='M8 60h104'/%3E%3Cpath d='M22 22l76 76'/%3E%3Cpath d='M98 22L22 98'/%3E%3Cpath d='M60 8l-8 10m8-10l8 10'/%3E%3Cpath d='M60 112l-8-10m8 10l8-10'/%3E%3Cpath d='M8 60l10-8m-10 8l10 8'/%3E%3Cpath d='M112 60l-10-8m10 8l-10 8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 210px 210px;
  opacity: 0.32;

  animation: snow-drift 28s linear infinite;
}

@keyframes snow-drift {
  from { transform: translate3d(0, -36px, 0); }
  to   { transform: translate3d(0,  36px, 0); }
}

/* Soft stage spotlights at top */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(560px 420px at 35% -10%, rgba(255,255,255,0.34), transparent 60%),
    radial-gradient(560px 420px at 65% -10%, rgba(255,255,255,0.22), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.95;
}

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px;
  position: relative;
  z-index: 1;
}

.stack > * + * { margin-top: 16px; }

.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 200px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,0.55));
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  text-decoration: none;
  border: 2px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.nav a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.26);
  border-color: var(--line-strong);
}

.nav a.active {
  border-color: rgba(11, 36, 50, 0.35);
  background: rgba(255,255,255,0.38);
}

.nav-cta { font-weight: 700; }

.card {
  border: 1px solid rgba(255,255,255,0.44);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--glass);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card::before {
  z-index: 0;

  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), transparent 56%);
}

.card-inset {
  border: 1px solid rgba(255,255,255,0.40);
  border-radius: 14px;
  padding: 14px;
  background: var(--glass-strong);
}

.hero {
  padding: 22px;
}

.hero::after {
  z-index: 0;

  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: var(--hero-image-opacity);
  filter: saturate(1.05) contrast(1.02);
}

.hero h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: 0.5px;
}

.hero p { margin: 6px 0 0; }

h2 {
  margin: 0;
  letter-spacing: 0.3px;
}

.muted { color: var(--ink-soft); }

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.button {
  display: inline-block;
  border: 2px solid var(--line);
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255,255,255,0.20);
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.30);
  border-color: var(--line-strong);
}

.button.secondary {
  font-weight: 650;
  opacity: 0.95;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 850px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

.list {
  margin: 0;
  padding-left: 18px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.link {
  opacity: 0.95;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.embed-wrap {
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
}

.embed-wrap iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
}

.contact > * + * { margin-top: 8px; }

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

input, textarea {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  background: rgba(255,255,255,0.30);
  color: var(--ink);
}

input:focus, textarea:focus {
  outline: none;
  border-color: rgba(11, 36, 50, 0.35);
  background: rgba(255,255,255,0.38);
}

.hidden { display: none; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.35);
  margin-top: 26px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .nav a, .button { transition: none; }
}
