/* ============================================================
   LUKTIL — SHARED PAGE STYLES
   pages.css — loaded on every page
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── NAV ── */
.lk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  transition: background 0.4s, box-shadow 0.4s;
}
.lk-nav.scrolled {
  background: rgba(8, 12, 16, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.lk-nav.nav-solid {
  background: var(--black);
}

.lk-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.lk-logo em {
  color: var(--gold);
  font-style: normal;
}

.lk-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.lk-nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.lk-nav-links a:hover,
.lk-nav-links a.active {
  color: #fff;
}

.lk-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lk-nav-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: 0.2s;
  font-size: 14px;
}
.lk-nav-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lk-nav-cta {
  margin-left: 8px;
  padding: 9px 22px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background 0.2s;
}
.lk-nav-cta:hover { background: var(--wood); color: #fff; }

/* HAMBURGER */
.lk-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.lk-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: 0.3s;
}

/* MOBILE NAV DRAWER */
.lk-mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 56px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.lk-mobile-nav.open { transform: translateX(0); }
.lk-mobile-nav a {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.65);
  line-height: 1.2;
  transition: color 0.2s;
}
.lk-mobile-nav a:hover { color: #fff; }
.lk-mobile-nav-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 24px;
  color: rgba(255,255,255,0.5);
  background: none;
  border: none;
  line-height: 1;
}
.lk-mobile-nav-contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}
.lk-mobile-nav-contact a {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.6) !important;
  display: block;
  margin-bottom: 8px;
}

/* ── SECTION ATOMS ── */
.lk-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lk-h1 {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.lk-h1 em { font-style: normal; color: var(--gold); }

.lk-h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--blue);
}
.lk-h2 em { font-style: normal; color: var(--gold); }

.lk-h2-white { color: #fff; }
.lk-h2-white em { color: var(--gold); }

.lk-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-mid);
}

.lk-body-white {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
}

/* ── BUTTONS ── */
.lk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  transition: 0.2s;
  white-space: nowrap;
}
.lk-btn-gold {
  background: var(--gold);
  color: var(--black);
}
.lk-btn-gold:hover { background: var(--wood); color: #fff; }

.lk-btn-white {
  background: #fff;
  color: var(--black);
}
.lk-btn-white:hover { background: var(--off); }

.lk-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}
.lk-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.lk-btn-dark {
  background: var(--blue);
  color: #fff;
}
.lk-btn-dark:hover { background: var(--blue-mid); }

.lk-btn-blue {
  background: var(--blue-light, #1a7fd4);
  color: #fff;
}
.lk-btn-blue:hover { background: var(--blue-mid, #1570bb); }

.lk-btn-wa {
  background: #25D366;
  color: #fff;
}
.lk-btn-wa:hover { background: #1db954; }

/* Arrow icon */
.lk-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.lk-btn:hover .lk-arrow { transform: translateX(4px); }

/* ── SCROLL REVEAL ── */
.lk-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.lk-reveal.visible { opacity: 1; transform: translateY(0); }
.lk-d1 { transition-delay: 0.1s; }
.lk-d2 { transition-delay: 0.2s; }
.lk-d3 { transition-delay: 0.3s; }
.lk-d4 { transition-delay: 0.45s; }

/* ── DIVIDER ── */
.lk-divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ── FOOTER ── */
.lk-footer {
  background: var(--black);
  padding: 72px 56px 36px;
}
.lk-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.lk-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.lk-footer-brand .lk-logo {
  display: inline-block;
  margin-bottom: 20px;
}
.lk-footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
}
.lk-footer-col h4 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.lk-footer-col ul { list-style: none; }
.lk-footer-col ul li { margin-bottom: 10px; }
.lk-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.lk-footer-col ul li a:hover { color: #fff; }
.lk-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lk-footer-contact a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.lk-footer-contact a:hover { color: #fff; }
.lk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}

/* ── CONTACT FORM ── */
.lk-form { display: grid; gap: 12px; }
.lk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lk-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.lk-input::placeholder { color: rgba(255,255,255,0.55); }
.lk-input:focus { border-color: var(--gold); }
.lk-input-light {
  background: #fff;
  border: 1px solid var(--sand-dark);
  color: var(--text);
}
.lk-input-light::placeholder { color: var(--text-light); }
.lk-input-light:focus { border-color: var(--blue); }
textarea.lk-input { resize: none; height: 120px; }

/* ── MODAL ── */
.lk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,12,16,0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(6px);
}
.lk-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lk-modal {
  background: var(--white);
  max-width: 520px;
  width: 94%;
  padding: 52px 48px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
.lk-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 18px;
  color: var(--text-light);
  background: none;
  border: none;
  line-height: 1;
}
.lk-modal-config {
  background: var(--sand);
  padding: 14px 18px;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 16px 0 24px;
  border-left: 3px solid var(--gold);
}

/* ── FORM SUCCESS ── */
.lk-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.lk-success-icon { font-size: 40px; margin-bottom: 16px; }
.lk-success h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.lk-success p { font-size: 14px; color: var(--text-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lk-nav { padding: 0 32px; }
  .lk-footer { padding: 64px 32px 32px; }
}

@media (max-width: 768px) {
  .lk-nav { padding: 0 24px; }
  .lk-nav-links { display: none; }
  .lk-nav-right .lk-nav-cta { display: none; }
  .lk-hamburger { display: flex; }
  .lk-footer { padding: 56px 24px 28px; }
  .lk-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lk-form-row { grid-template-columns: 1fr; }
  .lk-modal { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .lk-footer-top { grid-template-columns: 1fr; }
  .lk-mobile-nav { padding: 80px 28px; }
}

/* ============================================================
   SECTION COLOR ABSTRACTION
   Each section defines its own text colors relative to background.
   Use these utility classes on <section> to auto-set text.
   ============================================================ */

/* Light background sections (sand, white) */
.sec-light {
  --sec-heading: var(--blue);
  --sec-body: var(--text-mid);
  --sec-muted: var(--text-light);
  --sec-accent: var(--gold);
  --sec-border: var(--sand-dark);
  color: var(--sec-body);
}
.sec-light h2, .sec-light h3 { color: var(--sec-heading); }
.sec-light p { color: var(--sec-body); }
.sec-light .lk-eyebrow { color: var(--sec-accent); }

/* Dark background sections (blue, black, secondary) */
.sec-dark {
  --sec-heading: #ffffff;
  --sec-body: rgba(255,255,255,0.65);
  --sec-muted: rgba(255,255,255,0.4);
  --sec-accent: var(--gold);
  --sec-border: rgba(255,255,255,0.08);
  color: var(--sec-body);
}
.sec-dark h2, .sec-dark h3 { color: var(--sec-heading); }
.sec-dark p { color: var(--sec-body); }
.sec-dark .lk-eyebrow { color: var(--sec-accent); }

/* ============================================================
   ENHANCED MOBILE RESPONSIVE
   ============================================================ */

/* Touch-friendly minimum targets */
.lk-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Better font scaling */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Smooth image loading */
img {
  content-visibility: auto;
}

/* Better focus styles for a11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Skip to content link (a11y) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 8px;
}

/* ── TABLET (768-1024) ── */
@media (max-width: 1024px) {
  .lk-h1 { font-size: clamp(40px, 7vw, 80px); }
  .lk-h2 { font-size: clamp(30px, 4.5vw, 56px); }
}

/* ── MOBILE (< 768) ── */
@media (max-width: 768px) {
  .lk-h1 { font-size: clamp(36px, 10vw, 60px); }
  .lk-h2 { font-size: clamp(28px, 7vw, 44px); }
  .lk-body, .lk-body-white { font-size: 15px; }
  .lk-btn {
    padding: 14px 28px;
    font-size: 11px;
    width: 100%;
    justify-content: center;
  }
  /* Stack buttons vertically on mobile */
  .hp-hero-btns,
  .hp-cta-btns,
  .hm-hero-btns,
  .hm-final-btns,
  .loc-cta-btns,
  .vis-quick-btns {
    flex-direction: column;
    width: 100%;
  }
  .hp-hero-btns .lk-btn,
  .hp-cta-btns .lk-btn,
  .hm-hero-btns .lk-btn,
  .loc-cta-btns .lk-btn {
    width: 100%;
    text-align: center;
  }
}

/* ── SMALL MOBILE (< 480) ── */
@media (max-width: 480px) {
  .lk-h1 { font-size: clamp(32px, 12vw, 48px); }
  .lk-h2 { font-size: clamp(24px, 8vw, 36px); }
  .lk-body, .lk-body-white { font-size: 14px; line-height: 1.7; }
  .lk-eyebrow { font-size: 9px; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .lk-nav, .lk-mobile-nav, .lknav, .lknav-drawer,
  .lk-footer, .lkfoot,
  .hp-hero-dots, .hp-marquee-wrap { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  section { page-break-inside: avoid; }
}
