/* Laser TV Canada — shared theme styles (light theme + motion) */

/* Theme palette: override per color scheme */
:root {
  --brand-600: #e6b93d;
  --slogan-2: #5eb2f7;
  --slogan-3: #e6b93d;
}

/* 1. Base type scale: slightly larger than browser default for readability */
html {
  font-size: 18px;
}
@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
}

html {
  scroll-behavior: smooth;
}

/* 2. Scroll-reveal animation (elements start hidden, fade/slide in on scroll) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-img,
  .blob {
    animation: none;
  }
}

/* 3. Hero image slow zoom (Ken Burns effect) */
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-img {
  animation: kenburns 18s ease-in-out infinite alternate;
}

/* 4. Floating decorative blobs */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
.blob {
  animation: floaty 7s ease-in-out infinite;
}
.blob-delay {
  animation-delay: 3.5s;
}

/* 5. Card lift on hover */
.lift {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.lift:hover {
  transform: translateY(-6px);
}

/* 6. Navbar shadow once the page is scrolled */
#navbar {
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* 7. Button press feedback */
.btn-press {
  transition: transform 0.15s ease;
}
.btn-press:active {
  transform: scale(0.97);
}

/* 8. Hero slogan: rise-in entrance + flowing gradient shine */
@keyframes slogan-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slogan-shine {
  to { background-position: 200% center; }
}
.slogan-shine {
  background: linear-gradient(90deg, var(--brand-600), var(--slogan-2), var(--slogan-3), var(--brand-600));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation:
    slogan-rise 1s ease-out 0.5s forwards,
    slogan-shine 5s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .slogan-shine {
    animation: none;
    opacity: 1;
    background: none;
    color: var(--brand-600);
  }
}

/* 9. Contact page — White Desert inspired editorial style (fixed palette, all themes) */
.wd-main { background: #f7f4ee; color: #101823; }
.wd-section { padding: 4.5rem 1.5rem; }
.wd-section-alt { background: #fffdf9; border-top: 1px solid #e5ded1; border-bottom: 1px solid #e5ded1; }
.wd-container { max-width: 72rem; margin: 0 auto; }
.wd-narrow { max-width: 48rem; }

.wd-eyebrow { font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 1.25rem; font-weight: 500; }
.wd-eyebrow-dark { color: #8a7f6a; }

.wd-display { font-family: 'Oswald', 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-weight: 500; text-transform: uppercase; color: #ffffff; font-size: clamp(3.2rem, 11vw, 8.5rem); line-height: 0.95; letter-spacing: 0.01em; }

.wd-serif-accent { font-family: 'Cormorant Garamond', Georgia, 'Songti SC', serif; font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: rgba(255,255,255,0.93); margin-top: 1.5rem; max-width: 36rem; line-height: 1.45; }

.wd-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; background: #0b1220; }
.wd-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.wd-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,10,20,0.85) 0%, rgba(5,10,20,0.28) 55%, rgba(5,10,20,0.5) 100%); }
.wd-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 72rem; margin: 0 auto; padding: 9rem 1.5rem 5rem; }
.wd-hero-note { margin-top: 2rem; display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.88); border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 0.65rem 1.35rem; }

.wd-h2 { font-family: 'Oswald', 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif; text-transform: uppercase; font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); color: #101823; letter-spacing: 0.02em; margin-bottom: 1rem; line-height: 1.05; }
.wd-h3 { font-family: 'Oswald', 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif; text-transform: uppercase; font-weight: 500; font-size: 1.6rem; color: #101823; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.wd-lead { color: #5c6675; font-size: 1.05rem; margin-bottom: 2rem; max-width: 34rem; line-height: 1.65; }

.wd-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .wd-cards { grid-template-columns: repeat(3, 1fr); } }
.wd-card { display: block; background: #fffdf9; border: 1px solid #e5ded1; border-radius: 1.25rem; padding: 2rem 1.75rem; color: #101823; text-decoration: none; }
a.wd-card:hover { border-color: #101823; }
.wd-card-label { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: #8a7f6a; margin-bottom: 1rem; font-weight: 500; }
.wd-card-value { font-family: 'Oswald', 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 1.45rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.5; }
.wd-break { word-break: break-all; font-size: 1.15rem; }
.wd-card-addr { font-size: 1.12rem; line-height: 1.55; }
.wd-card-note { margin-top: 1rem; color: #5c6675; font-size: 0.92rem; }
.wd-hours { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #e5ded1; font-size: 0.92rem; color: #5c6675; display: grid; gap: 0.3rem; }
.wd-hours div:first-child span { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: #8a7f6a; font-weight: 500; }
.wd-link { display: inline-block; margin-top: 1.1rem; font-weight: 600; color: #101823; text-decoration: underline; text-underline-offset: 4px; font-size: 0.95rem; }

.wd-split { display: grid; gap: 3.5rem; }
@media (min-width: 960px) { .wd-split { grid-template-columns: 1.12fr 0.88fr; } }

.wd-form { display: grid; gap: 1.25rem; }
.wd-label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #3d4654; margin-bottom: 0.5rem; }
.wd-input { width: 100%; background: #fffdf9; border: 1px solid #d8d1c2; border-radius: 0.75rem; padding: 0.9rem 1.1rem; color: #101823; font-size: 1rem; transition: border-color 0.2s ease; font-family: inherit; }
.wd-input:focus { outline: none; border-color: #101823; }
select.wd-input { appearance: auto; }
.wd-btn { background: #101823; color: #f7f4ee; font-family: 'Oswald', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.02rem; font-weight: 500; padding: 1rem 1.5rem; border-radius: 0.75rem; width: 100%; border: none; cursor: pointer; transition: background 0.2s ease; }
.wd-btn:hover { background: #24344c; }
.wd-success { text-align: center; color: #1c6b3a; background: #eef7f0; border: 1px solid #bfe3c9; padding: 0.85rem 1rem; border-radius: 0.75rem; font-weight: 500; }
.wd-error { text-align: center; color: #9c2b2b; background: #fdf0f0; border: 1px solid #f0c4c4; padding: 0.85rem 1rem; border-radius: 0.75rem; font-weight: 500; }

.wd-next { background: #101823; color: #f7f4ee; border-radius: 1.25rem; padding: 2.5rem 2rem; align-self: start; }
.wd-next .wd-h3 { color: #f7f4ee; }
.wd-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.75rem; }
.wd-steps li { display: flex; gap: 1.25rem; }
.wd-step-num { font-family: 'Oswald', 'Arial Narrow', sans-serif; color: #a89a7c; font-size: 1.05rem; letter-spacing: 0.08em; flex: none; padding-top: 0.15rem; }
.wd-step-t { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.3rem; }
.wd-step-d { color: rgba(247,244,238,0.72); font-size: 0.95rem; line-height: 1.6; }

.wd-map { border: 1px solid #e5ded1; border-radius: 1.25rem; overflow: hidden; margin-top: 2rem; }
.wd-center-muted { text-align: center; color: #5c6675; margin-top: 1.25rem; }

.wd-faq { margin-top: 2rem; border-top: 1px solid #e5ded1; }
.wd-faq-item { border-bottom: 1px solid #e5ded1; }
.wd-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0.25rem; font-family: 'Oswald', 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 1.2rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; color: #101823; }
.wd-faq-item summary::-webkit-details-marker { display: none; }
.wd-faq-item summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: #8a7f6a; transition: transform 0.25s ease; flex: none; font-weight: 400; }
.wd-faq-item[open] summary::after { transform: rotate(45deg); }
.wd-faq-item p { padding: 0 0.25rem 1.6rem; color: #5c6675; line-height: 1.7; max-width: 44rem; margin: 0; }

/* Dark theme D: surfaces + darkened map */
body.bg-white { background-color: #0a0f1e !important; }
.bg-white { background-color: #111a33 !important; }
iframe[src*="google.com/maps"] { filter: invert(0.9) hue-rotate(180deg) saturate(0.6); }
/* Dark contrast fixes (D) */
.text-slate-200 { color: #dbe4f5 !important; }              /* case photo descriptions */
.text-slate-300 { color: #7c8aa5 !important; }              /* footer divider */
.text-indigo-700.bg-indigo-100 { color: #1e3a8a !important; } /* product tag pills */
span.text-indigo-600.mr-2, span.text-indigo-600.text-2xl { color: #7aa2f7 !important; } /* checkmarks */
.bg-indigo-600 .text-indigo-100 { color: #edf2ff !important; } /* CTA descriptions */
.cases-cta-desc, .home-cta-desc, .prod-cta-desc { color: #0a0f1e !important; } /* CTA desc on light gradient (D) */
