/* Gala RV — main styles.
   Design tokens are inline via CSS custom properties on :root.
   Section-specific styles live inline in the templates (matching the Design Center mockup).
   This file holds only the global resets, tokens, and interactive states. */

:root {
  --ac: #C6A15B;
  --ink: #14171A;
  --base: #F4F2ED;
  --muted: #8A857B;
  --muted-dark: #5C574D;
  --white: #FFFFFF;
  --border-soft: rgba(20, 23, 26, 0.08);
  --border-med: rgba(20, 23, 26, 0.15);
  --overlay-dark: rgba(20, 23, 26, 0.82);

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Instrument Sans', system-ui, sans-serif;

  --content: 1240px;
  --pad-x: 32px;
  --radius-card: 16px;
  --radius-lg: 20px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--base);
  font-family: var(--f-body);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: var(--ac); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--f-body); }
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -0.02em; margin: 0; }

.galarv-container { max-width: var(--content); margin: 0 auto; padding: 0 var(--pad-x); }

/* Nav links */
.galarv-nav-item {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.galarv-nav-item:hover,
.galarv-nav-item.is-active { border-bottom-color: var(--ac); }
.galarv-nav-item.is-active { color: var(--ink); }

/* Buttons */
.galarv-btn {
  cursor: pointer;
  display: inline-block;
  border: none;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  padding: 15px 28px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-align: center;
}
.galarv-btn--primary { background: var(--ac); color: #fff; }
.galarv-btn--primary:hover { background: var(--base); color: var(--ink); }
.galarv-btn--dark { background: var(--ink); color: #fff; }
.galarv-btn--dark:hover { background: var(--ac); color: #fff; }
.galarv-btn--ghost-light { background: transparent; color: var(--base); border: 1.5px solid rgba(244, 242, 237, 0.5); }
.galarv-btn--ghost-light:hover { background: rgba(244, 242, 237, 0.12); border-color: var(--base); }
.galarv-btn--ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid rgba(20, 23, 26, 0.3); }
.galarv-btn--ghost-dark:hover { border-color: var(--ink); }

/* Cards hover */
.galarv-model-card { transition: border-color .2s, transform .2s; }
.galarv-model-card:hover { border-color: var(--ac); transform: translateY(-3px); }

/* Mobile menu */
.galarv-hamburger { display: none; }
@media (max-width: 900px) {
  .galarv-nav { display: none !important; }
  .galarv-hamburger { display: flex !important; }
  .galarv-nav-mobile.is-open { display: flex !important; }
}

/* Section responsive */
@media (max-width: 900px) {
  .galarv-grid-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .galarv-grid-3 { grid-template-columns: 1fr !important; }
  .galarv-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .galarv-hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .galarv-h1 { font-size: clamp(36px, 8vw, 56px) !important; }
  .galarv-section-title { font-size: 32px !important; }
  .galarv-hero-cta { flex-direction: column; align-items: stretch; }
  .galarv-hero-cta .galarv-btn { width: 100%; }
}
@media (max-width: 600px) {
  .galarv-grid-5 { grid-template-columns: 1fr !important; }
  .galarv-grid-4 { grid-template-columns: 1fr !important; }
  :root { --pad-x: 20px; }
}
