/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0c14;
  --bg-section: #0f1220;
  --bg-card: #161a2a;
  --gold: #d4a84b;
  --gold-light: #f0d27a;
  --text: #c8cad4;
  --text-light: #eaecf2;
  --accent: #4a6fa5;
  --accent-glow: rgba(74, 111, 165, 0.25);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--text-light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  transition: background .35s, box-shadow .35s;
}
.navbar.scrolled {
  background: rgba(10, 12, 20, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.nav-logo__icon { font-size: 1.5rem; }
.nav-logo__text { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-light); }

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
  font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  color: var(--text); transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-light);
  margin: 5px 0; transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
    flex-direction: column; background: var(--bg-section);
    padding: 5rem 2rem 2rem; gap: 1.5rem;
    transition: right .4s ease;
  }
  .nav-links.open { right: 0; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0c14 0%, #131830 40%, #1a1028 70%, #0a0c14 100%);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(212,168,75,.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero__particles {
  position: absolute; inset: 0; pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) scale(.5); }
  20%  { opacity: .6; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 2rem; animation: fadeUp .9s ease-out;
}
.hero__pre {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .25em;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15; margin-bottom: 1.2rem;
}
.hero__line { display: block; }
.hero__line--2 { color: var(--gold-light); font-style: italic; }
.hero__subtitle {
  font-size: 1.1rem; color: var(--text); max-width: 520px; margin: 0 auto 2rem;
}
.hero__cta {
  display: inline-block; padding: .85rem 2.2rem;
  border: 1.5px solid var(--gold); border-radius: 50px;
  color: var(--gold-light); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; transition: background .3s, color .3s, transform .2s;
}
.hero__cta:hover {
  background: var(--gold); color: var(--bg-dark); transform: translateY(-2px);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2;
}
.mouse {
  width: 26px; height: 40px; border: 2px solid rgba(212,168,75,.4);
  border-radius: 14px; display: flex; justify-content: center;
  padding-top: 8px;
}
.mouse__wheel {
  width: 3px; height: 8px; background: var(--gold); border-radius: 3px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   SECTION LABEL (reusable)
   ============================================= */
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--gold); margin-bottom: .75rem;
  padding: .35rem 1rem; border: 1px solid rgba(212,168,75,.3);
  border-radius: 50px;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 7rem 0; background: var(--bg-dark);
}
.about__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem;
  align-items: start; margin-top: 2rem;
}
.about__heading {
  font-size: 1.8rem; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--text-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about__text p { margin-bottom: 1rem; color: var(--text); }
.about__text strong { color: var(--gold-light); }

.about__stats {
  display: flex; gap: 2.5rem; margin-top: 2rem;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat__number { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat__label { font-size: .82rem; color: var(--text); }

/* Detective card */
.detective-card {
  background: var(--bg-card); border: 1px solid rgba(212,168,75,.15);
  border-radius: 16px; padding: 2rem; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.detective-card__icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
.detective-card__details {
  display: grid; grid-template-columns: auto 1fr; gap: .5rem .8rem;
  text-align: left; font-size: .92rem;
}
.detective-card__details span { color: var(--text); }
.detective-card__details strong { color: var(--gold-light); }

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* =============================================
   INSPIRATION
   ============================================= */
.inspiration {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-section) 20%, var(--bg-section) 80%, var(--bg-dark));
}
.inspiration__heading {
  font-size: 1.8rem; margin-bottom: 2.5rem; text-align: center;
}
.inspiration__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.inspo-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px; padding: 2rem 1.6rem;
  text-align: center; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.inspo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,168,75,.25);
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
.inspo-card__icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(212,168,75,.08);
  display: flex; align-items: center; justify-content: center;
}
.inspo-card__icon { font-size: 1.8rem; }
.inspo-card__title { font-size: 1.15rem; margin-bottom: .8rem; }
.inspo-card p { font-size: .92rem; color: var(--text); }

@media (max-width: 768px) {
  .inspiration__grid { grid-template-columns: 1fr; }
}

/* =============================================
   WORKS
   ============================================= */
.works {
  padding: 7rem 0; background: var(--bg-dark);
}
.works__heading { font-size: 1.8rem; margin-bottom: 2.5rem; text-align: center; }
.works__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.story-card {
  display: flex; align-items: stretch;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.story-card__cover {
  width: 90px; min-height: 100%;
  background: linear-gradient(135deg, #1a1028, #252040);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; flex-shrink: 0;
}
.story-card__body { padding: 1.3rem 1.5rem; }
.story-card__tag {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold);
  background: rgba(212,168,75,.1); padding: .2rem .6rem;
  border-radius: 50px; display: inline-block; margin-bottom: .5rem;
}
.story-card__title { font-size: 1.1rem; margin-bottom: .4rem; }
.story-card__desc { font-size: .88rem; color: var(--text); }

@media (max-width: 768px) {
  .works__grid { grid-template-columns: 1fr; }
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-section) 30%, var(--bg-section));
  text-align: center;
}
.contact__heading { font-size: 1.8rem; margin-bottom: .8rem; }
.contact__text { max-width: 540px; margin: 0 auto 2.5rem; color: var(--text); }
.contact__cards {
  display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap;
}
.contact-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 1.5rem 1.8rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  min-width: 200px; transition: border-color .3s, transform .25s;
}
.contact-card:hover {
  border-color: rgba(212,168,75,.3); transform: translateY(-3px);
}
.contact-card__icon { font-size: 1.6rem; margin-bottom: .3rem; }
.contact-card__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); }
.contact-card__value { font-size: .95rem; color: var(--text-light); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 2rem 0; text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
  background: var(--bg-dark);
}
.footer__copy { font-size: .8rem; color: rgba(200,202,212,.4); }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
