/* ===== Reset / base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b0b0f;
  color: #fff;
}

:root { --vh: 1vh; --fxms: 1000ms; }

/* ===== Page ===== */
.page { min-height: 100dvh; display: flex; flex-direction: column; }

/* ===== Hero sizing (mobile-safe) ===== */
.hero {
  width: 100vw;
  height: calc(var(--vh) * 100);
  overflow: hidden;
  flex: 0 0 auto;
}

.heroSlider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

/* ===== Slides ===== */
.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Image: no black borders */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

/* Cinematic overlay */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}

/* ===== Effects ===== */
.slide.effect-fade.is-active img { animation: fxFade var(--fxms) ease both; }
@keyframes fxFade {
  from { opacity: 0.35; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}

.slide.effect-slide.is-active img { animation: fxSlide var(--fxms) cubic-bezier(.2,.8,.2,1) both; }
@keyframes fxSlide {
  from { transform: translateX(6%) scale(1.06); }
  to   { transform: translateX(0) scale(1); }
}

.slide.effect-zoom.is-active img { animation: fxZoom var(--fxms) ease both; }
@keyframes fxZoom {
  from { transform: scale(1.18); }
  to   { transform: scale(1); }
}

.slide.effect-blur.is-active img { animation: fxBlur var(--fxms) ease both; }
@keyframes fxBlur {
  from { filter: blur(10px); transform: scale(1.08); opacity: 0.55; }
  to   { filter: blur(0); transform: scale(1); opacity: 1; }
}

.slide.effect-flip.is-active img { animation: fxFlip var(--fxms) ease both; transform-origin: center; }
@keyframes fxFlip {
  from { transform: perspective(1000px) rotateY(-8deg) scale(1.06); opacity: 0.75; }
  to   { transform: perspective(1000px) rotateY(0deg) scale(1); opacity: 1; }
}

/* ===== Footer ===== */
.siteFooter {
  flex: 0 0 auto;
  width: 100%;
  background: rgba(10,10,14,0.92);
  border-top: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}
.footerInner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footerLeft {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.footerLeft span {
  font-size: 13px;
  opacity: 0.85;
}
.footerRight a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 14px;
}
.footerRight a:hover { text-decoration: underline; }
