/* ============================================
   HARD FORE GOLF — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green: #1a4a2e;
  --green-dark: #122e1e;
  --green-light: #2a6b42;
  --cream: #f5f0e8;
  --orange: #e8612a;
  --orange-dark: #c94d1e;
  --dark: #1a1a1a;
  --gold: #c9a84c;
  --white: #ffffff;
  --navy: #1a2744;
  --tan: #c9a96e;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo svg {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}

.btn {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232, 97, 42, 0.4);
}

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

.btn-outline:hover {
  background: var(--cream);
  color: var(--dark);
  transform: translateY(-1px);
}

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

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--cream);
}

.nav-cta {
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  background-color: var(--green);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    ),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 10px,
      rgba(255,255,255,0.008) 10px,
      rgba(255,255,255,0.008) 11px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--green-dark), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--cream);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--orange);
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 5rem 2rem;
}

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   COLLECTION / HAT CARDS
   ============================================ */

.collection {
  background: var(--cream);
}

.collection-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.hat-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hat-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.hat-image-green  { background: linear-gradient(135deg, #1a4a2e, #2a6b42); }
.hat-image-navy   { background: linear-gradient(135deg, #1a2744, #2a3d6b); }
.hat-image-tan    { background: linear-gradient(135deg, #9e7a3a, #c9a96e); }
.hat-image-black  { background: linear-gradient(135deg, #111, #333); }
.hat-image-orange { background: linear-gradient(135deg, #b84a1a, #e8612a); }
.hat-image-cream  { background: linear-gradient(135deg, #d4c9b0, #f5f0e8); }

.hat-info {
  padding: 1.5rem;
}

.hat-name {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.hat-color-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.hat-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.hat-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--dark);
}

.btn-notify {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
}

.notify-success {
  display: none;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   MANIFESTO
   ============================================ */

.manifesto {
  background: var(--green-dark);
  text-align: center;
  padding: 7rem 2rem;
}

.manifesto-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--cream);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.manifesto-quote em {
  font-style: normal;
  color: var(--orange);
}

.manifesto-attr {
  display: block;
  margin-top: 2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.8;
}

/* ============================================
   DROP LIST
   ============================================ */

.droplist {
  background: var(--cream);
  text-align: center;
}

.droplist .section-title {
  margin-bottom: 0.5rem;
}

.droplist-sub {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.droplist-perks {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2.5rem;
}

.perk {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.perk-icon {
  color: var(--orange);
  font-size: 1rem;
}

.droplist-form {
  display: flex;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.droplist-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.2rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.droplist-form input:focus {
  outline: none;
  border-color: var(--orange);
}

.droplist-form .btn {
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  white-space: nowrap;
}

.form-note {
  font-size: 0.8rem;
  color: #999;
  margin-top: 1rem;
}

.form-success {
  display: none;
  color: var(--green);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(26,74,46,0.08);
  border-radius: 8px;
}

/* ============================================
   TICKER
   ============================================ */

.ticker {
  background: var(--dark);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}

.ticker-inner {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  padding: 0.9rem 3rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.ticker-item span {
  color: var(--orange);
  margin: 0 0.5rem;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  padding: 4rem 2rem 2rem;
  color: var(--cream);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo svg {
  height: 50px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: center;
}

.footer-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--orange);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* ============================================
   PAGE HEADERS (inner pages)
   ============================================ */

.page-header {
  background: var(--green);
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: var(--cream);
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   STORY PAGE
   ============================================ */

.story-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.story-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.8rem;
}

.story-content .lead {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
}

.story-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--green);
  color: var(--cream);
}

.story-cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.story-cta p {
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

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

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hat-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .droplist-form {
    flex-direction: column;
  }

  .droplist-form input,
  .droplist-form .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 1rem;
  }

  .manifesto {
    padding: 4rem 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
