/* Setlife Media - main stylesheet.
   Structure: base -> layout (header/footer) -> sections (hero, verticals).
   Mobile-first; breakpoints at 768px (tablet) and 1024px (desktop). */

/* ---------- base ---------- */
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-fg);
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

::selection { background: var(--c-strawberry); color: var(--c-white); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  transition: background var(--t);
}
.site-header.is-scrolled { background: rgba(10,10,10,0.92); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--s-3);
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 32px; width: auto; }

.site-nav {
  display: none; /* hidden on mobile, shown on tablet+ */
  gap: var(--s-4);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  padding: var(--s-1) 0;
  transition: color var(--t-fast);
}
.site-nav a:hover { color: var(--c-strawberry); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--c-strawberry);
  transition: width var(--t);
}
.site-nav a:hover::after { width: 100%; }

.lang-toggle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: var(--s-1) var(--s-2);
  border: 1px solid var(--c-white);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.lang-toggle:hover {
  background: var(--c-strawberry);
  border-color: var(--c-strawberry);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Fallback solid background (when video missing or on mobile) */
  background:
    radial-gradient(ellipse at 30% 40%, rgba(230,57,70,0.18), transparent 60%),
    var(--c-black);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none; /* video hidden on mobile/tablet for perf; enabled on desktop */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--s-6) var(--s-3);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--c-strawberry); }
.hero-sub {
  margin-top: var(--s-3);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- verticals ---------- */
.verticals {
  padding: var(--s-7) 0;
}
.verticals .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.vertical {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--s-4) 0;
}
.vertical h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}
.vertical h2 .accent { color: var(--c-strawberry); }
.vertical p {
  color: var(--c-muted);
  max-width: 56ch;
  font-size: 1.05rem;
}

/* ---------- contact ---------- */
.contact {
  text-align: center;
  padding: var(--s-5) var(--s-3) var(--s-6);
}
.contact-email {
  display: inline-block;
  /* slightly larger to draw the eye toward the only contact CTA */
  font-size: clamp(1.65rem, 5.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-white);
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
  /* subtle strawberry-red glow so the email pops against the dark background */
  text-shadow:
    0 0 18px rgba(var(--c-strawberry-rgb), 0.35),
    0 0 44px rgba(var(--c-strawberry-rgb), 0.18);
  transition: color var(--t-fast), border-color var(--t-fast), text-shadow var(--t);
}
.contact-email:hover {
  color: var(--c-strawberry);
  border-color: var(--c-strawberry);
  text-shadow:
    0 0 24px rgba(var(--c-strawberry-rgb), 0.55),
    0 0 64px rgba(var(--c-strawberry-rgb), 0.28);
}
.contact-email:focus-visible {
  outline: 2px solid var(--c-strawberry);
  outline-offset: 4px;
}

/* ---------- toast (clipboard-copy confirmation) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 12px);
  background: var(--c-black);
  color: var(--c-white);
  border: 1px solid var(--c-strawberry);
  border-radius: 2px;
  padding: var(--s-2) var(--s-3);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: opacity var(--t), transform var(--t);
}
.toast::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-strawberry);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- footer ---------- */
.site-footer {
  padding: var(--s-5) 0 var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: var(--c-muted);
  font-size: 0.85rem;
}
.footer-tagline {
  color: var(--c-white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.footer-copy { margin: 0; }

/* social icons row in the footer */
.social-list {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin: var(--s-3) 0;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: var(--c-white);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  color: var(--c-white);
  background: var(--c-strawberry);
  border-color: var(--c-strawberry);
}
.social-icon:focus-visible {
  outline: 2px solid var(--c-strawberry);
  outline-offset: 3px;
}

/* ---------- breakpoints ---------- */
@media (min-width: 768px) {
  .site-nav { display: flex; }
  .verticals .container {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
  .vertical { border-top: 0; padding: 0; }
}

@media (min-width: 1024px) {
  .hero-video { display: block; }
  :root { --header-h: 88px; }
  .brand-logo { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-video { display: none; }
}
