/* =========================================
   OVCA Junior Superspiel 2026
   Colour palette: Forest Green, Gold, Black, Off-white
   ========================================= */

:root {
  --green:       #1a5c2a;
  --green-dark:  #0f3a1a;
  --green-light: #2d7a3f;
  --gold:        #f0b429;
  --gold-dark:   #c8911a;
  --black:       #0d0d0d;
  --off-white:   #f5f2ec;
  --grey-light:  #e8e4db;
  --grey-mid:    #9a9488;
  --text-dark:   #1a1a1a;
  --text-light:  #f5f2ec;

  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --nav-height: 72px;
  --container:  1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border-color: var(--off-white);
}
.btn-outline:hover {
  background: var(--off-white);
  color: var(--black);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* ---- SECTION LABELS ---- */
.section-label {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold); }
.section-label.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* =========================================
   NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 180, 41, 0.2);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.75);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--gold-dark);
  color: var(--black);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: all 0.25s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 30, 15, 0.92) 0%, rgba(10, 30, 15, 0.75) 50%, rgba(10, 30, 15, 0.3) 100%),
    linear-gradient(to top, rgba(10, 30, 15, 0.6) 0%, transparent 50%);
}

/* Ice sheet lines */
.hero-ice-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 119px,
      rgba(255,255,255,0.02) 119px,
      rgba(255,255,255,0.02) 120px
    );
  background-size: 120px 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.25s ease forwards;
}

.hero-title-junior {
  display: block;
  font-size: clamp(4rem, 10vw, 9rem);
  color: var(--gold);
  letter-spacing: -0.01em;
}

.hero-title-super {
  font-size: clamp(5.5rem, 14vw, 13rem);
  color: var(--off-white);
  letter-spacing: -0.02em;
}

.hero-title-spiel {
  font-size: clamp(5.5rem, 14vw, 13rem);
  color: var(--off-white);
  letter-spacing: -0.02em;
  -webkit-text-stroke: 2px var(--off-white);
  color: transparent;
}

.hero-date-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-left: 4px solid var(--gold);
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s ease forwards;
}

.hero-date-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-date-label {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-date-value {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  color: var(--off-white);
}

.hero-date-divider {
  width: 1px;
  height: 36px;
  background: rgba(240, 180, 41, 0.3);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s ease forwards;
}

/* Decorative stone */
.hero-stone {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 3px solid rgba(240, 180, 41, 0.15);
  z-index: 1;
}
.hero-stone::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px solid rgba(240, 180, 41, 0.1);
}
.hero-stone::after {
  content: '';
  position: absolute;
  inset: 100px;
  border-radius: 50%;
  border: 2px solid rgba(240, 180, 41, 0.08);
}

/* =========================================
   ABOUT STRIP (ticker)
   ========================================= */
.about-strip {
  background: var(--gold);
  overflow: hidden;
  padding: 0.75rem 0;
  white-space: nowrap;
}

.about-strip-inner {
  display: inline-block;
  animation: ticker 25s linear infinite;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.about-strip-inner span { margin: 0 1.25rem; }
.strip-dot { color: var(--green); }

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 6rem 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 1.25rem;
}

.about-text p strong { color: var(--green); }

.about-text .btn { margin-top: 0.75rem; }

.about-visual {
  position: relative;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 5;
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.about-photo-wrap:hover .about-photo {
  transform: scale(1.03);
}

.about-photo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 90px;
  height: 90px;
  background: var(--black);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.about-photo-badge img {
  width: 100%;
  height: auto;
}

/* =========================================
   PRIZE CALLOUT
   ========================================= */
.prize-callout {
  background: var(--green-dark);
  padding: 6rem 0;
  overflow: hidden;
}

.prize-callout-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.prize-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--off-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.prize-amount {
  color: var(--gold);
}

.prize-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 242, 236, 0.75);
  margin-bottom: 2rem;
}

.prize-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.prize-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slowSpin 20s linear infinite;
}

.prize-ring::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.4);
}

.prize-ring::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 2px dashed rgba(240, 180, 41, 0.2);
}

.prize-ring-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slowSpinReverse 20s linear infinite;
}

.prize-ring-value {
  font-family: var(--font-display);
  font-size: 3.25rem;
  color: var(--gold);
  line-height: 1;
}

.prize-ring-value span {
  font-size: 2rem;
}

.prize-ring-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.6);
  margin-top: 0.4rem;
}

/* =========================================
   VENUE
   ========================================= */
.venue {
  padding: 6rem 0;
  background: var(--off-white);
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.venue .about-photo-wrap {
   height: 100%;
   aspect-ratio: unset;
}

.venue .about-photo {
   width: 100X;
   height: 100%;
   object-fit: cover;
   object-position: center top;
}

.venue-info p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 1.75rem;
}

.venue-details {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.venue-detail-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1rem;
  color: var(--green-dark);
}

.venue-icon {
  font-size: 1.1rem;
}

/* Curling house rings diagram */
.venue-accent {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center; 
}

.venue-rings {
  position: relative;
  width: 300px;
  height: 300px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 300px; height: 300px; background: #c8e6d4; border: 2px solid #9ecfb0; }
.ring-2 { width: 225px; height: 225px; background: #f5f2ec; border: 2px solid #c8d4cc; }
.ring-3 { width: 150px; height: 150px; background: var(--gold); border: 2px solid var(--gold-dark); opacity: 0.7; }
.ring-4 { width: 75px; height: 75px; background: var(--off-white); border: 2px solid #c8d4cc; }
.ring-button { width: 22px; height: 22px; background: var(--green); border: 2px solid var(--green-dark); }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: var(--black);
  padding: 5rem 0;
  border-top: 4px solid var(--gold);
}

.cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.cta-banner-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--off-white);
  margin-bottom: 1rem;
}

.cta-banner-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 242, 236, 0.65);
  margin-bottom: 2rem;
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--green-dark);
  padding: 3rem 0;
  border-top: 1px solid rgba(240, 180, 41, 0.2);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  height: 80px;
  width: auto;
  filter: brightness(1) opacity(0.7);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.6);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-info {
  text-align: right;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  color: rgba(245, 242, 236, 0.5);
  line-height: 1.6;
}

.footer-copy { margin-top: 0.4rem; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes slowSpinReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .about-grid,
  .prize-callout-inner,
  .venue-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .prize-graphic { order: -1; }

  .hero-title-junior { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-title-super,
  .hero-title-spiel  { font-size: clamp(4rem, 16vw, 7rem); }

  .hero-date-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-date-divider { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--black);
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(240,180,41,0.2);
  }

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

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 1.1rem;
  }

  .nav-links .nav-cta {
    margin-top: 1rem;
    text-align: center;
    padding: 0.85rem;
    border: none;
  }

  .nav-toggle { display: flex; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-info { text-align: left; }

  .about-visual {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-date-bar { max-width: 100%; }
  .about-visual { grid-template-columns: 1fr; }
  .about-crest { grid-column: span 1; }
  .prize-ring { width: 220px; height: 220px; }
  .prize-ring-value { font-size: 2.5rem; }
}
