@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700&display=swap');

/* ============================================
   COMPASS BARBERSHOP — Global Stylesheet
   ============================================ */

/* ── Design Tokens ── */
:root {
  --purple:       #AE00FF;
  --purple-soft:  rgba(174, 0, 255, 0.18);
  --purple-glow:  rgba(174, 0, 255, 0.55);
  --white:        #F5F3EE;
  --muted:        rgba(245, 243, 238, 0.58);
  --faint:        rgba(245, 243, 238, 0.10);
  --black:        #090909;
  --dark:         #111111;

  --font-display: 'Cubano', 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow Condensed', sans-serif;

  --radius:       4px;
  --transition:   0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ── Cubano font ── */
@font-face {
  font-family: 'Cubano';
  src: url('/fonts/Cubano.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ── Grain overlay (applied via body::before on pages that use it) ── */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.45;
}

/* ── Shared Buttons ── */
.btn {
  font-family: var(--font-display);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
}

.btn-solid {
  background: var(--purple);
  color: var(--white);
}
.btn-solid:hover {
  background: #c41cff;
  box-shadow: 0 0 30px var(--purple-glow);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple-soft);
  box-shadow: 0 0 18px rgba(174,0,255,0.28);
  color: var(--purple);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--faint);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(245,243,238,0.3);
}

/* ── Section utility ── */
.section {
  padding: 100px 80px;
}

.section-label {
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}

.rule {
  height: 1px;
  background: var(--faint);
}
