/* styles/main.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
  /* Colors */
  --bg-deep: #050505;           /* footer bg */
  --bg-charcoal: #5c5347;       /* warm mid-brown — all dark panels */
  --bg-light: #cfc8bd;          /* site-wide warm stone background */
  --bg-light-alt: #bfb8ac;      /* deeper warm stone for panels */
  --bg-glass: rgba(207, 200, 189, 0.82);
  --gold-primary: #c9a227;
  --gold-light: #e8c96a;
  --gold-glow: rgba(201, 162, 39, 0.35);
  --text-main: #120f0a;         /* near-black for max contrast on light bg */
  --text-muted: #4a3f35;        /* darker muted — readable on stone */
  --text-on-dark: #ede8e0;      /* light text for use on dark card surfaces */
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: auto; /* Show default arrow alongside custom cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* Glassmorphism */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid rgba(201, 162, 39, 0.15);
}

/* Utility Classes */
.text-gold { color: var(--gold-primary); }
.bg-gold { background-color: var(--gold-primary); }
.glow-gold { box-shadow: 0 0 20px var(--gold-glow); }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: auto;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid var(--gold-primary);
  background: transparent;
  color: var(--gold-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 4px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover {
  color: #fff;
  box-shadow: 0 8px 25px var(--gold-glow);
  transform: translateY(-2px);
  letter-spacing: 0.15em;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 10px var(--gold-glow);
}

/* Layout */
.section {
  padding: var(--spacing-xl) 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

/* ─── Light theme: section backgrounds ─── */
.section {
  padding: var(--spacing-xl) 0;
}

.view-all-link:hover {
  color: var(--gold-primary);
}

.view-all-link:hover svg {
  transform: translateX(5px);
}
