/*
Theme Name: Better Man
Theme URI: https://betterman.com
Author: Better Man
Author URI: https://betterman.com
Description: Better Man — A custom WordPress theme for men's coaching and development.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: better-man
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap");

/* ── CSS Variables ─────────────────────────────── */
:root {
  --color-charcoal: #1a1a1b;
  --color-slate: #707070;
  --color-silver: #c7c7c7;
  --color-gold: #b89b5e;
  --color-steel: #f5f5f5;
  --color-charcoal-light: #252527;
  --color-charcoal-mid: #2e2e30;
}

/* ── Base ──────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #1a1a1b;
  color: #c7c7c7;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: #b89b5e;
  color: #1a1a1b;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background-color: #1a1a1b;
}
::-webkit-scrollbar-thumb {
  background-color: #b89b5e;
  border-radius: 9999px;
}

/* ── Buttons ───────────────────────────────────── */
.btn-gold {
  background-color: #b89b5e;
  color: #1a1a1b;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  line-height: 1.5;
  border: none;
}
.btn-gold:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
  color: #1a1a1b;
}
.btn-gold:active {
  transform: scale(0.98);
}

.btn-outline {
  border: 1px solid #b89b5e;
  color: #b89b5e;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  line-height: 1.5;
  background: transparent;
}
.btn-outline:hover {
  background-color: #b89b5e;
  color: #1a1a1b;
}
.btn-outline:active {
  transform: scale(0.98);
}

/* ── Navigation ────────────────────────────────── */
.nav-link {
  position: relative;
  color: #707070;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.25rem 0;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  display: inline-block;
}
.nav-link:hover {
  color: #b89b5e;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background-color: #b89b5e;
  width: 0;
  transition: all 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Utilities ─────────────────────────────────── */
.text-gradient-gold {
  background: linear-gradient(135deg, #b89b5e, #d4b96e, #b89b5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Marquee ───────────────────────────────────── */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Page Transition ───────────────────────────── */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-transition {
  animation: pageFadeIn 0.35s ease-out forwards;
}

/* ── Welcome Modal ─────────────────────────────── */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out forwards;
}

/* ── Select dark ───────────────────────────────── */
select.bm-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B89B5E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
