/*
 * MOE GOT IT — Shared Stylesheet
 * Design System: Dark Navy + Gold
 * Fonts: Sora (headings/UI), DM Sans (body)
 * Version: 2.0 (Improved)
 */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #080d1a;
  color: #e8eaf2;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── DESIGN TOKENS ── */
:root {
  --navy:    #0e1a35;
  --navy2:   #1a2744;
  --navy3:   #2c3e6b;
  --gold:    #d4af37;
  --gold2:   #f5d76e;
  --gold3:   #b8960c;
  --muted:   rgba(200,210,230,0.65);
  --border:  rgba(212,175,55,0.14);
  --card-bg: rgba(26,39,68,0.6);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* ── STAR CANVAS ── */
#stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, #080d1a 0%, #0a0e14 100%);
}

/* ── COLOR STRIP ── */
.color-strip {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, #d4af37, #f5d76e, #4ade80, #60a5fa, #f472b6, #d4af37);
  background-size: 200% 100%;
  animation: stripMove 4s linear infinite;
}
@keyframes stripMove { to { background-position: 200% 0; } }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky; top: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(14,26,53,0.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  min-height: 58px;
}
.nav-brand {
  font-family: 'Sora', sans-serif; font-weight: 900; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-decoration: none; letter-spacing: -0.3px; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--gold2); }
.nav-links a.nav-it { color: var(--gold); }
.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy) !important; font-weight: 800; padding: 8px 16px;
  border-radius: 20px; box-shadow: 0 3px 12px rgba(212,175,55,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,175,55,0.45); background: linear-gradient(135deg, var(--gold), var(--gold3)); }
.hamburger {
  display: none; background: none; border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold); border-radius: 8px; padding: 6px 10px;
  font-size: 1.1rem; cursor: pointer; transition: all 0.2s;
}
.hamburger:hover { background: rgba(212,175,55,0.1); }

@media(max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,14,20,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); padding: 8px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; border-radius: 0; }
  .nav-links a.nav-cta { margin: 8px 16px; border-radius: 10px; text-align: center; }
}

/* ── SECTION LAYOUT ── */
section { padding: 80px 24px; position: relative; z-index: 1; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-label {
  font-family: 'Sora', sans-serif; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--gold);
  margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.3px;
}
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 520px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px;
  font-family: 'Sora', sans-serif; font-size: 0.88rem; font-weight: 800;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.22s, box-shadow 0.22s, opacity 0.22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(212,175,55,0.3);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(212,175,55,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }

/* ── SERVICE CARDS ── */
.svc-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.35); box-shadow: var(--shadow-lg); }
.svc-media {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.svc-card:hover .svc-media { transform: scale(1.04); }
.svc-media-placeholder {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, var(--navy2), var(--navy3));
}
.svc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.svc-name { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.svc-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 14px; }
.svc-includes { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.svc-includes li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.8); padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.4;
}
.svc-includes li:last-child { border-bottom: none; }
.svc-includes li::before { content: '✓'; color: #4ade80; font-weight: 800; font-size: 0.72rem; margin-top: 2px; flex-shrink: 0; }
.svc-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.svc-price { display: flex; flex-direction: column; gap: 2px; }
.price-was { font-size: 0.75rem; color: var(--muted); text-decoration: line-through; }
.price-now { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--gold2); line-height: 1; }
.price-tag { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.svc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy); font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 800;
  text-decoration: none; cursor: pointer; border: none;
  box-shadow: 0 3px 12px rgba(212,175,55,0.25);
  transition: all 0.22s; white-space: nowrap;
}
.svc-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); }
.svc-btn.btn-sm { padding: 7px 14px; font-size: 0.76rem; }

/* ── IT CARDS ── */
.it-card {
  background: rgba(26,39,68,0.6); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px 20px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.it-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,0.3); }
.it-card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.it-card-name { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.it-card-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 14px; }
.it-card-list { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.it-card-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.8); padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.4;
}
.it-card-list li:last-child { border-bottom: none; }
.it-card-list li::before { content: '→'; color: var(--gold); font-weight: 700; font-size: 0.72rem; margin-top: 2px; flex-shrink: 0; }
.it-card-footer { margin-top: auto; }
.it-card-price { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 800; color: var(--gold2); display: block; margin-bottom: 2px; }
.it-card-tag { font-size: 0.75rem; color: var(--muted); display: block; margin-bottom: 12px; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.site-footer {
  background: rgba(8,13,26,0.9); border-top: 1px solid var(--border);
  padding: 48px 24px 32px; text-align: center; position: relative; z-index: 1;
}
.footer-brand {
  font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.footer-sub { color: var(--muted); font-size: 0.82rem; margin-bottom: 20px; }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.footer-links a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s;
}
.footer-links a:hover { color: var(--gold); border-color: rgba(212,175,55,0.3); background: rgba(212,175,55,0.06); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy); border: none; font-size: 1.1rem; font-weight: 900;
  cursor: pointer; box-shadow: 0 4px 16px rgba(212,175,55,0.35);
  opacity: 0; transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s, transform 0.3s;
  display: flex; align-items: center; justify-content: center;
}
#scrollTop.visible { opacity: 1; transform: translateY(0) scale(1); }
#scrollTop:hover { transform: translateY(-3px) scale(1.08); }

/* ── ACCESSIBILITY ── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── SELECTION ── */
::selection { background: rgba(212,175,55,0.25); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080d1a; }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.5); }
