/* ============================================
   TK STUDIO — Luxury Minimalist Agency Website
   ============================================ */

:root {
  --bg: #0A0A0A;
  --bg2: #111111;
  --bg3: #1A1A1A;
  --gold: #C9A84C;
  --gold-light: #E8C87A;
  --white: #F5F5F5;
  --gray: #888888;
  --border: rgba(201, 168, 76, 0.15);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
.gold { color: var(--gold); }
p { color: #BBBBBB; }

a { color: inherit; text-decoration: none; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.05em;
}
.logo span { color: var(--gold); }
.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: 2px;
  transition: all 0.3s !important;
}
.btn-nav:hover { background: var(--gold) !important; color: var(--bg) !important; }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  padding: 0 2rem;
}
.mobile-menu a {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--gray);
}
.mobile-menu.open { display: flex; }

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-tag {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.hero-sub { font-size: 1.1rem; color: #AAAAAA; margin: 1.5rem 0 2.5rem; max-width: 480px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }
.btn-outline {
  border: 1px solid rgba(245,245,245,0.3);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.3s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Phone mockup */
.hero-visual {
  flex: 1; display: flex; justify-content: center; align-items: center;
}
.phone-mock {
  width: 220px; height: 420px;
  border: 2px solid var(--border);
  border-radius: 28px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(201,168,76,0.1);
}
.phone-screen {
  width: 90%; height: 92%;
  background: var(--bg3);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.tiktok-bar { flex: 1; background: linear-gradient(135deg, #1a1a1a, #111); }
.tiktok-content { padding: 1rem; }
.play-icon { font-size: 2rem; color: var(--gold); text-align: center; margin-bottom: 0.5rem; }
.tiktok-handle { font-size: 0.75rem; color: var(--white); }
.tiktok-views { font-size: 0.7rem; color: var(--gold); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--gray); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: var(--gold); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---- STATS ---- */
#stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.stats-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem; color: var(--gold);
}
.stat-num::after { content: '+'; }
.stat-item p { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }

/* ---- SECTIONS COMMON ---- */
section:not(#hero):not(#stats) { padding: 6rem 2rem; }
.section-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 4rem; align-items: flex-start;
}
.section-inner.center { flex-direction: column; align-items: center; text-align: center; }
.section-tag {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-inner.center h2 { margin-bottom: 3rem; }

/* ---- ABOUT ---- */
.about-text { flex: 1; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.5rem; line-height: 1.8; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.about-list li { font-size: 0.9rem; color: #CCCCCC; }
.check { color: var(--gold); margin-right: 0.6rem; }
.about-visual {
  flex: 1; display: flex; flex-direction: column; gap: 1rem;
}
.about-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color 0.3s;
}
.about-card:hover { border-color: var(--gold); }
.about-card--offset { margin-left: 2rem; }
.card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.about-card h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--white); }
.about-card p { font-size: 0.85rem; }

/* ---- SERVICES ---- */
#services { background: var(--bg2); }
.services-grid {
  width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.3s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.service-card--gold { background: linear-gradient(135deg, #1a1508, #0f0d05); border-color: rgba(201,168,76,0.4); }
.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem; color: var(--border);
  margin-bottom: 1rem;
}
.service-card--gold .service-num { color: rgba(201,168,76,0.3); }
.service-card h3 { color: var(--white); margin-bottom: 0.8rem; }
.service-card p { font-size: 0.85rem; line-height: 1.7; }

/* ---- WORK ---- */
.work-grid {
  width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.work-thumb {
  height: 280px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.work-thumb::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--border); transition: border-color 0.3s;
}
.work-item:hover .work-thumb::after { border-color: var(--gold); }
.work-play {
  font-size: 2rem; color: var(--gold);
  opacity: 0.7; transition: opacity 0.3s;
}
.work-item:hover .work-play { opacity: 1; }
.work-views {
  position: absolute; bottom: 1rem; right: 1rem;
  font-size: 0.75rem; color: var(--gold);
  background: rgba(0,0,0,0.7); padding: 0.2rem 0.6rem;
}
.work-info { padding: 1rem 0; text-align: left; }
.work-info h4 { font-family: var(--font-serif); font-size: 1rem; color: var(--white); margin-bottom: 0.3rem; }
.work-info p { font-size: 0.75rem; color: var(--gray); }

/* ---- PROCESS ---- */
#process { background: var(--bg2); }
.process-steps {
  display: flex; align-items: flex-start; gap: 1rem;
  width: 100%; margin-top: 1rem;
}
.process-step { flex: 1; }
.step-num {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  color: var(--gold); font-family: var(--font-serif);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h4 { color: var(--white); margin-bottom: 0.5rem; font-size: 0.95rem; }
.process-step p { font-size: 0.8rem; }
.process-arrow { color: var(--gold); font-size: 1.5rem; padding-top: 0.7rem; flex-shrink: 0; }

/* ---- CONTACT ---- */
.contact-text { flex: 1; }
.contact-text h2 { margin: 1rem 0 1.5rem; }
.contact-text p { margin-bottom: 1rem; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-info a { color: var(--gold); }
.contact-form { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--bg2); }
.form-note { font-size: 0.8rem; color: var(--gold); text-align: center; }

/* ---- FOOTER ---- */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-inner .logo { font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-inner p { font-size: 0.8rem; color: var(--gray); }
.footer-tagline { color: var(--gold) !important; }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  #hero { flex-direction: column; text-align: center; gap: 3rem; }
  .hero-content { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-tag { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-inner { flex-direction: column; }
  .about-card--offset { margin-left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); padding: 0; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}

/* ---- CUSTOM CURSOR ---- */
#cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}
#cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.12s ease-out;
}
body.cursor-hover #cursor-ring {
  width: 48px; height: 48px;
  border-color: var(--gold);
}
@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ---- PARTICLE CANVAS ---- */
#particles-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Ensure content stays above canvas */
#navbar, section, footer { position: relative; z-index: 1; }

/* ---- GSAP OVERRIDES (disable old fade-up so GSAP owns it) ---- */
.gsap-ready .fade-up { opacity: 1; transform: none; transition: none; }
