/* =========================================
   GJS Development — Minimal Luxury Landing
   Mobile-first, no frameworks, Lighthouse-friendly
========================================= */

:root{
  --bg: #070a10;
  --ink: #eaf0ff;
  --muted: rgba(234, 240, 255, 0.868);
  --line: rgba(255, 255, 255, 0.16);

  --radius: 999px;
  --shadow: 0 18px 60px rgba(0,0,0,0.55);

  /* Parallax variables (set by JS; default to 0) */
  --logo-x: 0px;
  --logo-y: 0px;
  --bg-x: 0px;
  --bg-y: 0px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  height: 0; /* semantic only */
}

.hero{
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

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

.hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Gentle breathing + optional parallax offset */
  transform: translate3d(var(--bg-x), var(--bg-y), 0) scale(1.04);
  will-change: transform;
  animation: bgBreath 14s ease-in-out infinite;
}

/* Overlay gradient for readability */
.hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1200px 800px at 50% 35%,
      rgba(0,0,0,0.03),
      rgba(0,0,0,0.38) 60%,
      rgba(0,0,0,0.52)
    ),
    linear-gradient(to bottom,
      rgba(0,0,0,0.30),
      rgba(0,0,0,0.50)
    );
}


/* Subtle film grain (no heavy filters) */
.hero__grain{
  position: absolute;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("assets/grain.png"); /* optional; safe to remove */
  background-size: 320px 320px;
  mix-blend-mode: overlay;
  transform: translate3d(0,0,0);
}

/* Content */
.hero__content{
  position: relative;
  z-index: 3;
  padding: 28px 18px;
  width: min(920px, 92vw);
  text-align: center;
}

.brand{
  display: grid;
  gap: 14px;
  place-items: center;

  /* Parallax + float */
  transform: translate3d(var(--logo-x), var(--logo-y), 0);
  will-change: transform;
}

.brand__lockup{
  display: grid;
  place-items: center;
  gap: 10px;
}

/* Logo image (if present) */
.brand__logo{
  width: min(320px, 74vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
  transform: translate3d(0,0,0);
  will-change: transform;
  user-select: none;
}

/* Text fallback is hidden unless .no-logo is set on <html> */
.brand__text{
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.22em;
  user-select: none;
  text-transform: uppercase;
  font-size: clamp(22px, 4.5vw, 40px);
  line-height: 1.08;
  text-shadow: 0 10px 26px rgba(0,0,0,0.45);
  display: none;
}

html.no-logo .brand__logo{ display: none; }
html.no-logo .brand__text{ display: block; animation: logoFloat 8s ease-in-out infinite; }

.brand__tagline{
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-weight: 300;
  font-size: clamp(13px, 2.6vw, 16px);
  line-height: 1.6;
    user-select: none;
  letter-spacing: 0.02em;
}

.brand__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
   
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  user-select: none;
}

.btn--outline{
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.25);
}

.btn--outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.60);
  box-shadow: 0 14px 46px rgba(0,0,0,0.35);
}

.btn--outline:active{
  transform: translateY(0px);
}

.btn:focus-visible{
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

/* Footer */
.site-footer{
  position: fixed;
  inset: auto 0 0 0;
  padding: 12px 16px;
  text-align: center;
  color: rgba(255,255,255,0.66);
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  z-index: 10;
    user-select: none;
}

/* Clouds (optional) */
.hero__clouds{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.cloud{
  position: absolute;
  top: 12%;
  left: -20%;
  width: 160%;
  height: 45%;
  opacity: 0.22;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  transform: translate3d(0,0,0);
  will-change: transform;
}

/* Replace these PNGs with your transparent cloud layers or delete the blocks */
.cloud--1{
  background-image: url("assets/cloud-1.png");
  top: 8%;
  opacity: 0.18;
  animation: cloudDrift1 70s linear infinite;
}
.cloud--2{
  background-image: url("assets/cloud-2.png");
  top: 18%;
  opacity: 0.16;
  animation: cloudDrift2 95s linear infinite;
}

/* Make cloud 3 start off the RIGHT side instead of the left */
.cloud--3{
  background-image: url("assets/cloud-1.png");
  top: 28%;
  opacity: 0.24;

  left: auto;
  right: -20%;

  width: 120%;              /* key fix: don't let it spill past the left edge */
  background-position: right center; /* keep the PNG anchored on the right */

  animation: cloudDriftFromRight 120s linear infinite;
}


/* Responsive tweaks */
@media (min-width: 768px){
  .hero__content{
    padding: 44px 22px;
  }
  .brand__cta{
    gap: 14px;
  }
  .btn{
    padding: 12px 20px;
  }
}

/* Animations */
@keyframes logoFloat{
  0%, 100%{ transform: translate3d(0, 0, 0); }
  50%{ transform: translate3d(0, -8px, 0); }
}

@keyframes bgBreath{
  0%, 100%{ transform: translate3d(var(--bg-x), var(--bg-y), 0) scale(1.04); }
  50%{ transform: translate3d(var(--bg-x), var(--bg-y), 0) scale(1.065); }
}

@keyframes cloudDrift1{
  0%{ transform: translate3d(-6%, 0, 0); }
  100%{ transform: translate3d(6%, 0, 0); }
}
@keyframes cloudDrift2{
  0%{ transform: translate3d(-8%, 0, 0); }
  100%{ transform: translate3d(8%, 0, 0); }
}
@keyframes cloudDrift3{
  0%{ transform: translate3d(-10%, 0, 0); }
  100%{ transform: translate3d(10%, 0, 0); }
}

@keyframes cloudDriftFromRight{
  0%   { transform: translate3d(12%, 0, 0); }
  100% { transform: translate3d(-12%, 0, 0); }
}



/* Reduced motion: disable parallax + animations */
@media (prefers-reduced-motion: reduce){
  .hero__img,
  .brand__logo,
  .brand__text,
  .cloud{
    animation: none !important;
  }
  .btn{
    transition: none;
  }
}



/* Mobile: make clouds smaller / less overpowering */
@media (max-width: 767px){
  .cloud{
    width: 70%;
    height: 34%;
    opacity: 0.16;
  }

  .cloud--1{ top: 10%; }
  .cloud--2{ top: 20%; }
  .cloud--3{ top: 30%; }

  .cloud--1{ animation-duration: 20s; } /* was 70s */
  .cloud--2{ animation-duration: 30s; } /* was 95s */
  .cloud--3{ animation-duration: 40s; } /* was 120s */

}



/* Top banner (simple, button-like) */
.hero { position: relative; } /* ensure this exists */

.top-banner{
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 6;              /* must be above overlay (1) + clouds (2) */
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;    /* only pill clickable */
  display:none;
}

.top-banner__pill{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;
  
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 34px rgba(0,0,0,0.22);

  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.top-banner__pill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.56);
  box-shadow: 0 14px 46px rgba(0,0,0,0.32);
}

@media (min-width: 768px){
  .top-banner{ top: 18px; }
  .top-banner__pill{ padding: 10px 16px; }
}
