/* ============================================================
   GORDON TATTOO — DESIGN SYSTEM
   Dark Luxury Premium Landing Page
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@200;300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --black-absolute: #050505;
  --black-deep: #080808;
  --black-graphite: #0d0d0d;
  --black-soft: #111111;
  --gray-900: #141414;
  --gray-800: #1a1a1a;
  --gray-700: #222222;
  --gray-600: #2a2a2a;
  --gray-500: #333333;
  --gray-400: #555555;
  --gray-300: #777777;
  --gray-200: #999999;
  --gray-100: #bbbbbb;
  --white: #f5f5f0;
  --white-pure: #ffffff;

  /* Gold Palette */
  --gold-matte: #c9a84c;
  --gold-light: #d4b85a;
  --gold-bright: #e8cc6e;
  --gold-dark: #a08030;
  --gold-subtle: rgba(201, 168, 76, 0.15);
  --gold-glow: rgba(201, 168, 76, 0.3);

  /* Semantic */
  --bg-primary: var(--black-absolute);
  --bg-secondary: var(--black-graphite);
  --bg-card: var(--gray-900);
  --bg-glass: rgba(10, 10, 10, 0.7);
  --text-primary: var(--white);
  --text-secondary: var(--gray-200);
  --text-muted: var(--gray-300);
  --text-gold: var(--gold-matte);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.3);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;
  --text-6xl: 5rem;
  --text-7xl: 7rem;
  --text-8xl: 10rem;
  --text-9xl: 14rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s ease;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.2);

  /* Layout */
  --container-max: 1440px;
  --container-wide: 1280px;
  --container-base: 1100px;
  --container-narrow: 800px;
  --nav-height: 80px;
  --section-padding: clamp(80px, 10vw, 160px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black-absolute); }
::-webkit-scrollbar-thumb { background: var(--gray-600); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-matte); }

/* Selection */
::selection {
  background: var(--gold-subtle);
  color: var(--gold-matte);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.5rem, 10vw, 10rem); }
h2 { font-size: clamp(2.5rem, 6vw, 6rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-base);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--full {
  max-width: 100%;
  padding: 0 var(--space-8);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.section--dark { background: var(--black-absolute); }
.section--graphite { background: var(--black-graphite); }

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-matte);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-matte);
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before { opacity: 1; }

/* Primary - Gold */
.btn--primary {
  background: var(--gold-matte);
  color: var(--black-absolute);
}

.btn--primary::before {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-matte));
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

/* Secondary - Outline */
.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--secondary::before {
  background: rgba(255, 255, 255, 0.05);
}

.btn--secondary:hover {
  border-color: var(--gold-matte);
  color: var(--gold-matte);
  transform: translateY(-2px);
}

/* WhatsApp */
.btn--whatsapp {
  background: var(--gold-matte);
  color: var(--black-absolute);
}

.btn--whatsapp:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.btn .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   OUTLINE WORDS (Background Text)
   ============================================================ */
.bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 20rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--gold-matte);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.4s ease, height 0.4s ease;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 20px;
  height: 20px;
}

/* ============================================================
   GOLD LINE DIVIDER
   ============================================================ */
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-matte), transparent);
  margin: var(--space-6) 0;
}

/* ============================================================
   REVEAL ANIMATIONS (initial state)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.reveal-blur {
  opacity: 0;
  filter: blur(20px);
}

/* ============================================================
   MEDIA QUERIES — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-padding: clamp(60px, 8vw, 100px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-5); }
  :root { --nav-height: 60px; }
}

@media (max-width: 480px) {
  .btn { padding: 14px 28px; font-size: 0.75rem; }
}

/* Hide cursor on touch devices */
@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
}
