/* ============================================================
   Sticks & Steaks — Masters-inspired stylesheet
   ============================================================ */

:root {
  --green:      #1c4932;
  --green-dark: #132e20;
  --green-light:#245c3e;
  --gold:       #fce300;
  --gold-light: #fde933;
  --cream:      #F5F0E8;
  --white:      #FFFFFF;
  --text-dark:  #1C1C1C;
  --text-mid:   #444444;
  --shadow:     0 4px 24px rgba(0,0,0,0.18);
}

/* ── Reset & Base ─────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

/* ── Navbar ───────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--green);
  border-bottom: 2px solid var(--gold);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-links {
  margin-left: auto;
  display: flex;
  gap: 2rem;
}

.navbar-link {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.navbar-link:hover {
  color: var(--gold);
}

.navbar-link--active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 480px) {
  .navbar-links {
    gap: 1rem;
  }

  .navbar-link {
    font-size: 0.85rem;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.48)),
    url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 1.75rem auto 0;
  opacity: 0.8;
}

/* ── Limerick Section ─────────────────────────────────────── */

.limerick-section {
  background: var(--green);
  padding: 5rem 2rem;
  text-align: center;
}

.limerick {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--white);
  line-height: 2;
  max-width: 600px;
  margin: 0 auto;
}

.limerick-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0 auto 2.5rem;
}

/* ── Charter Section ──────────────────────────────────────── */

.charter-section {
  background: var(--green);
  padding: 4rem 2rem;
}

.charter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.charter-block {
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 2rem 2.25rem;
  color: var(--white);
}

.charter-block--highlight {
  border: 2px solid var(--gold);
}

.charter-block h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1rem;
}

.charter-block p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 640px) {
  .charter-inner { grid-template-columns: 1fr; }
}

/* ── Dots Section ─────────────────────────────────────────── */

.dots-section {
  background: var(--cream);
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--green);
}

.section-subtitle {
  margin-top: 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-mid);
}

.section-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 1.25rem auto 0;
}

/* ── Dot Tiers ────────────────────────────────────────────── */

.tier {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 103, 71, 0.25);
}

.dot-pip-group {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.dot-pip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.tier-label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
}

/* ── Achievement Cards ────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: 6px;
  border-top: 3px solid var(--green);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.card-note {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--green);
}

/* ── Rules Notes ──────────────────────────────────────────── */

.rules-notes {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.notes-block {
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  width: 100%;
}

.notes-block h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.notes-block ul {
  list-style: none;
  padding: 0;
}

.notes-block ul li {
  font-size: 0.93rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.notes-block ul li:last-child { border-bottom: none; }

.notes-block .dots-val {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Gallery Hero ─────────────────────────────────────────── */

.gallery-hero {
  min-height: 50vh;
  background-image:
    linear-gradient(rgba(28, 73, 50, 0.85), rgba(28, 73, 50, 0.85)),
    url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.gallery-hero-content {
  max-width: 800px;
}

/* ── Photo Gallery ────────────────────────────────────────── */

.gallery-section {
  background: var(--cream);
  padding: 5rem 2rem;
  min-height: 50vh;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-mid);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.gallery-empty h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.gallery-empty p {
  font-size: 1rem;
  line-height: 1.6;
}

.gallery-empty code {
  background: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--green-dark);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 3.5rem 1.25rem;
  }
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  background: var(--green-dark);
  border-top: 2px solid var(--gold);
  text-align: center;
  padding: 2.5rem 2rem;
}

.footer-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  margin-top: 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}

.footer-copyright {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .navbar-inner { padding: 0.75rem 1.25rem; }
  .dots-section { padding: 3.5rem 1.25rem; }
}
