/* ============================================================
   GFX Pools — Ground Effects LLC
   Brand: Dark luxury / Engineering Liquid Luxury
   Accent: #E8620A | Dark base | Clean gold highlights
   ============================================================ */

:root {
  --orange:     #E8620A;
  --orange-dim: #b34c08;
  --gold:       #C9A84C;
  --dark:       #0D0D0D;
  --dark-card:  #161616;
  --dark-mid:   #1F1F1F;
  --border:     #2A2A2A;
  --text:       #E8E4DC;
  --muted:      #888880;
  --white:      #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 6rem 2rem;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: var(--section-pad); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dim); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { margin-left: 1.5rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.3) 0%,
    rgba(13,13,13,0.6) 60%,
    rgba(13,13,13,0.95) 100%
  ), url('../images/hero.jpg') center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 6rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Section headers ─────────────────────────────────────────── */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.center { text-align: center; }
.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin-top: 1rem;
}
.section-header.center p { margin: 1rem auto 0; }

/* ── Services grid ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
}
.service-card {
  background: var(--dark-card);
  padding: 2.5rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--dark-mid); }
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* ── Shop / Buy Button embed ─────────────────────────────────── */
.shop-section {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.shopify-buy-frame { width: 100%; }
#shopify-buy-button-placeholder {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px dashed var(--border);
}

/* ── Portfolio / collage ─────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 4px;
}
.portfolio-grid .cell { overflow: hidden; }
.portfolio-grid .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-grid .cell:hover img { transform: scale(1.04); }
.cell-large  { grid-column: span 8; grid-row: span 2; min-height: 480px; }
.cell-tall   { grid-column: span 4; grid-row: span 2; min-height: 480px; }
.cell-wide   { grid-column: span 6; min-height: 240px; }
.cell-small  { grid-column: span 4; min-height: 240px; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.testimonial-stars { color: var(--orange); margin-bottom: 1rem; font-size: 0.85rem; }
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.testimonial-author { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Financing banner ───────────────────────────────────────── */
.financing-banner {
  background: var(--orange);
  padding: 4rem 2rem;
  text-align: center;
}
.financing-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.financing-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.btn-financing {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}
.btn-financing:hover { background: var(--dark); color: var(--white); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Page hero (interior pages) ─────────────────────────────── */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--orange);
  margin: 1.5rem 0;
}
.divider.center { margin: 1.5rem auto; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark-card);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cell-large, .cell-tall, .cell-wide, .cell-small { grid-column: span 12; min-height: 220px; }
  .hero-actions { flex-direction: column; }
}
