/* style.css - Ultra-minimal luxury cinematic hero with enhanced cursor & ripples */

/* Basic reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }

:root{
  --bg-dark-1: #000000;
  --bg-dark-2: #111112; /* charcoal */
  --gold-1: #caa45a;
  --gold-2: #ffd98b;
  --soft-white: #e8e6e3;
  --glass: rgba(255,255,255,0.02);
}

/* Page */
body {
  font-family: "Playfair Display", serif;
  background: linear-gradient(180deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 100%);
  color: var(--soft-white);
  overflow: hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Canvas sits behind everything */
#sparkle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display:block;
}

/* Hero content centered */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6vmin 4vmin;
}

/* Inner container */
.hero-inner {
  max-width: 1200px;
  width: 100%;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transform-origin: center;
  animation: floaty 10s ease-in-out infinite;
}

/* Logo - increased baseline size, responsive, retina-ready */
#logo {
  width: min(48vmin, 520px); /* bigger than before */
  height: auto;
  display:block;
  opacity: 0;
  transform: scale(0.94);
  transition: transform 900ms cubic-bezier(.2,.9,.3,1), opacity 900ms ease-out, box-shadow 400ms ease;
  filter: drop-shadow(0 26px 60px rgba(0,0,0,0.7));
  will-change: transform, opacity, filter;
  border-radius: 6px; /* in case logo has slight edges, optional */
}

/* Tagline */
.tagline {
  margin-top: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(1.05rem, 2.2vmin + 0.6rem, 2rem);
  color: var(--soft-white);
  text-shadow: 0 6px 18px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translateY(8px);
  transition: transform 900ms cubic-bezier(.2,.9,.3,1), opacity 900ms ease-out;
}

/* Gold line */
.tagline .line:first-child {
  color: var(--gold-1);
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.02),
    0 10px 36px rgba(202,164,90,0.06),
    0 1px 22px rgba(202,164,90,0.18);
}

/* Silver/dim second line */
.tagline .dim {
  color: rgba(232,230,227,0.92);
  font-weight: 400;
  display:block;
  margin-top: 0.35rem;
  font-size: 0.92em;
  letter-spacing: 0.04em;
}

/* Shimmer overlay */
.tagline::after{
  content: "";
  position: absolute;
  width: 36%;
  height: 6px;
  left: 32%;
  top: calc(50% + 48px);
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.18;
  background: linear-gradient(90deg, transparent, rgba(255,217,127,0.85), transparent);
  transform: translateX(-120%);
  animation: shimmer 6s infinite linear;
}

/* When loaded */
.loaded #logo { opacity:1; transform: scale(1); }
.loaded .tagline { opacity:1; transform: translateY(0); }

/* Hover micro-scale for logo */
.hero-inner:hover #logo { transform: scale(1.01); }

/* Cursor glow (bigger & more pronounced) */
#cursor-glow{
  position: fixed;
  width: 42px; /* increased */
  height: 42px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 6;
  transition: transform 0.09s ease-out, opacity 0.12s linear;
  opacity: 0;
  box-shadow:
    0 0 40px 14px rgba(202,164,90,0.08),
    0 0 12px 4px rgba(255,217,127,0.12),
    inset 0 0 12px rgba(255,217,180,0.02);
  backdrop-filter: blur(2px);
}

/* trailing dot */
#cursor-trail{
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  opacity: .9;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out;
  box-shadow: 0 0 12px 4px rgba(255,217,127,0.12);
  background: radial-gradient(circle at 35% 30%, rgba(255,240,200,1), rgba(255,200,100,0.85));
}

/* Show when active */
body.cursor-on #cursor-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Mobile tweaks */
@media (max-width:720px){
  #logo { width: min(62vmin, 360px); }
  .tagline { font-size: clamp(0.95rem, 2.6vmin, 1.35rem); }
}

/* subtle background vignette */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 55% at 50% 40%, rgba(255,255,255,0.02), transparent 30%),
              radial-gradient(40% 35% at 50% 60%, rgba(0,0,0,0.45), rgba(0,0,0,0.6) 70%);
  mix-blend-mode: multiply;
  z-index:1;
}

/* keyframes */
@keyframes shimmer{
  0% { transform: translateX(-120%); opacity: 0.0; }
  20% { opacity: 0.15; }
  50% { transform: translateX(40%); opacity: 0.5; }
  100% { transform: translateX(120%); opacity: 0.0; }
}
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Accessibility focus outline removed for visual but retain keyboard focus style */
:focus { outline: none; }
