/* ============================================================
   WaleyFX — style.css
   Global styles, variables, typography, utilities
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark:  #8B6914;
  --gold-dim:   rgba(201,168,76,0.12);
  --black:      #050505;
  --dark:       #0D0D0D;
  --dark2:      #141414;
  --gray:       #1E1E1E;
  --text:       #D4C5A9;
  --text-dim:   #7A6E5F;
  --white:      #F5EDD8;
  --radius:     2px;
  --transition: 0.35s ease;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- CUSTOM CURSOR (desktop only) ---------- */
.cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
  opacity: 0.6;
}
@media (max-width: 768px) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
  font-family: 'Bebas Neue', cursive;
  color: var(--white);
  line-height: 1;
  letter-spacing: 1px;
}
h2 { font-size: clamp(42px, 6vw, 80px); margin-bottom: 16px; }
h2 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-weight: 300;
}
p { line-height: 1.75; color: var(--text-dim); }

/* ---------- LAYOUT UTILITIES ---------- */
.section { padding: 110px 80px; }
@media (max-width: 768px) { .section { padding: 70px 28px; } }

.section-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- GRID BACKGROUNDS ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ---------- SECTION DIVIDER ---------- */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0;
  opacity: 0.25;
}

/* ---------- DARK SECTION BG ---------- */
.bg-dark { background: var(--dark); }
.bg-dark2 { background: var(--dark2); }
