﻿/* Devils Ridge Charity Classic â€” site styles */

:root {
  --green-950: #0f2a1d;
  --green-900: #163d29;
  --green-800: #1e4d34;
  --green-700: #276240;
  --green-100: #e8f0ea;
  --gold-500: #c9a227;
  --gold-600: #ad8a1f;
  --gold-100: #f7edcf;
  --ink: #1c231f;
  --ink-soft: #4a534c;
  --paper: #ffffff;
  --paper-soft: #f4f6f3;
  --border: #dde3dc;
  --danger: #b3261e;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(15, 42, 29, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: var(--green-800);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 0 auto;
}

.brand img {
  height: 56px;
  width: auto;
  border-radius: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  color: var(--green-900);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn)[aria-current="page"] {
  color: var(--green-800);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 4px;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--green-950);
}

.btn-gold:hover {
  background: var(--gold-600);
}

.btn-outline {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--green-800);
  color: var(--green-800);
}

.btn-outline-dark:hover {
  background: var(--green-800);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  background: var(--paper);
  border: 1px solid var(--green-800);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--green-900);
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle::after {
  bottom: 15px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: var(--paper);
  padding: 3.5rem 0;
}

.hero.hero-compact {
  padding: 2.5rem 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.hero-copy {
  flex: 1 1 420px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold-100);
  background: rgba(201, 162, 39, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.hero .date-line {
  color: var(--gold-100);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.hero p.lede {
  color: #dfe9e2;
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.hero-logos {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-logo-card {
  display: block;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  line-height: 0;
}

.hero-logo-card img {
  height: 140px;
  width: auto;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-media {
  flex: 1 1 320px;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hero-stat-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.hero-stat-card dt {
  color: var(--gold-100);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-stat-card dd {
  margin: 0;
  color: var(--paper);
}

/* ---------- Sections ---------- */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--paper-soft);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  color: var(--green-900);
}

.section-title::before {
  content: "";
  width: 6px;
  height: 1.6rem;
  background: var(--gold-500);
  border-radius: 3px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.grid-2.reverse {
  grid-template-columns: 1fr 2fr;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.facts-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.facts-card li {
  margin-bottom: 0.6rem;
}

.danc-card {
  text-align: center;
}

.danc-card img {
  margin: 0 auto 1rem;
  max-width: 220px;
  border-radius: 6px;
}

.video-link {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-link img {
  width: 100%;
}

.video-link::after {
  content: "â–¶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(15, 42, 29, 0.25);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.video-link:hover::after {
  opacity: 1;
}

.video-feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.video-feature .video-link {
  flex: 1 1 480px;
  max-width: 720px;
}

.video-feature-logo {
  flex: 0 0 auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  line-height: 0;
}

.video-feature-logo img {
  height: 220px;
  width: auto;
}

/* ---------- Info list ---------- */

.info-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.info-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-list .label {
  flex: 0 0 110px;
  font-weight: 700;
  color: var(--green-800);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.callout {
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

/* ---------- Sponsors ---------- */

.sponsor-tier {
  margin-bottom: 2rem;
}

.sponsor-tier h3 {
  color: var(--green-900);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sponsor-tier .tier-image {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.sponsor-tier .tier-image img {
  width: 100%;
  height: auto;
}

/* Sponsor image carousel — slides are locked to the sponsor images' native
   900x200 aspect ratio so the <area> coordinates copied from the old site
   stay pixel-accurate at any display size (browsers scale map coordinates
   proportionally to the rendered image size). */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 200;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--green-900);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 2;
  padding: 0;
}

.carousel-arrow:hover {
  background: var(--paper-soft);
}

.carousel-prev {
  left: 0.75rem;
}

.carousel-next {
  right: 0.75rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--gold-500);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--gold-500);
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.25);
}

.price-card .tier-name {
  font-weight: 800;
  color: var(--green-900);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-card .tier-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-600);
  margin: 0.4rem 0 1rem;
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.price-card li {
  margin-bottom: 0.5rem;
}

/* ---------- Course page ---------- */

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.photo-stack {
  display: grid;
  gap: 1rem;
}

.photo-stack img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ---------- Register page ---------- */

.register-steps {
  counter-reset: step;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.register-steps li {
  position: relative;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.register-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-950);
  color: #d9e3dc;
  margin-top: 3rem;
}

.footer-mga {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-mga img {
  width: 130px;
  border-radius: 6px;
  flex-shrink: 0;
}

.footer-mga h2 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.footer-mga p {
  margin: 0 0 0.6rem;
  color: #c3d1c8;
  font-size: 0.95rem;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9db1a3;
}

.footer-links a {
  color: #c3d1c8;
  margin-right: 1rem;
}

/* ---------- Utility ---------- */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.small-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.breadcrumb {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-2,
  .grid-2.reverse,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-mga {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .header-bar {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    column-gap: 0.75rem;
  }

  .nav-toggle {
    display: block;
    grid-column: 2;
  }

  .brand {
    grid-column: 1;
    width: 100%;
    overflow: hidden;
  }

  .brand img {
    height: 36px;
  }

  .brand-text {
    width: 100%;
    overflow: hidden;
  }

  .brand-text span {
    display: none;
  }

  .brand-text strong {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav {
    grid-column: 1 / -1;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a:not(.btn) {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a:not(.btn)[aria-current="page"] {
    border-bottom: 1px solid var(--border);
  }

  .main-nav .btn {
    margin-top: 0.75rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

