/*
Theme Name: Fairways & Freedom
Theme URI: https://fairwaysandfreedom.org
Description: A minimal one-page theme for the Fairways & Freedom Veterans Golf Outing.
Version: 1.0.0
Author: Fairways & Freedom
License: GPL-2.0-or-later
Text Domain: fairways-freedom
*/

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-navy: #1a2744;
  --color-navy-light: #2a3d5c;
  --color-red: #c41e3a;
  --color-red-dark: #a01830;
  --color-gold: #c5a55a;
  --color-gold-light: #d4bb7a;
  --color-white: #ffffff;
  --color-off-white: #f8f7f4;
  --color-light-gray: #edecea;
  --color-text: #333333;
  --color-text-light: #666666;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --max-width: 1100px;
  --section-padding: 5rem 1.5rem;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.3;
}

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

/* ========== NAVIGATION ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-navy);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--color-red) 33%, var(--color-white) 33% 66%, #3C5A99 66%) 1;
}

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

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: all var(--transition);
}

/* ========== HERO ========== */
.hero {
  padding: 0;
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 39, 68, 0.35) 0%,
    rgba(26, 39, 68, 0.15) 40%,
    rgba(26, 39, 68, 0.7) 75%,
    rgba(26, 39, 68, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 3rem;
  margin-top: -12rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.25rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-gold-light);
  margin-top: 0.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 1.5rem auto;
  max-width: 550px;
  line-height: 1.6;
}

.hero-date {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.hero-location {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
}

.hero-location a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
}

.hero-location a:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-white);
}

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 165, 90, 0.3);
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--color-off-white);
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

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

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto 0;
}

.section-divider::before,
.section-divider::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.section-divider-star {
  color: var(--color-gold);
  font-size: 0.75rem;
  line-height: 1;
}

.section-dark .section-divider-star {
  color: var(--color-gold-light);
}

.section-dark .section-divider::before,
.section-dark .section-divider::after {
  background: var(--color-gold-light);
}

/* ========== EVENT INFO ========== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-light-gray);
  border-top: 3px solid var(--color-navy);
  transition: all var(--transition);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.event-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.event-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.event-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.event-card a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(26, 39, 68, 0.3);
  text-underline-offset: 2px;
}

.event-card a:hover {
  color: var(--color-red);
  text-decoration-color: var(--color-red);
}

/* ========== REGISTER ========== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--color-light-gray);
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0.75rem 0;
}

.pricing-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ========== EVENT DETAILS ========== */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.detail-item {
  text-align: center;
  padding: 2rem 1rem;
}

.detail-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.detail-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.detail-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== SPONSORSHIPS ========== */
.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.sponsor-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2rem;
  border: 2px solid var(--color-light-gray);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy) 0%, #3C5A99 100%);
}

.sponsor-card:hover {
  border-color: var(--color-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sponsor-card.featured::before {
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red-dark) 100%);
}

.sponsor-card.featured {
  border-color: var(--color-red);
}

.sponsor-card.featured:hover {
  border-color: var(--color-red-dark);
}

.sponsor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.sponsor-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0.5rem 0;
}

.sponsor-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.sponsor-card li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.sponsor-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

.contest-sponsors {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--color-light-gray);
}

.contest-sponsors h3 {
  margin-bottom: 0.5rem;
}

.contest-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.contest-list li {
  background: var(--color-off-white);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.tax-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ========== BENEFICIARY ========== */
#beneficiary {
  position: relative;
  overflow: hidden;
}

#beneficiary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: url('images/eagle-watermark.png') center / contain no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.beneficiary-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.beneficiary-content h3 {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.beneficiary-content h3 a {
  color: var(--color-gold);
}

.beneficiary-content h3 a:hover {
  color: var(--color-gold-light);
}

.beneficiary-content p a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(212, 187, 122, 0.4);
  text-underline-offset: 2px;
}

.beneficiary-content p a:hover {
  color: var(--color-gold);
  text-decoration-color: var(--color-gold);
}

.beneficiary-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.beneficiary-content .thanks {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold-light);
  margin-top: 2rem;
  font-style: italic;
}

/* ========== SIGN UP / FORM ========== */
.signup-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.signup-form-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-light-gray);
}

.signup-contact {
  padding: 2rem;
  background: var(--color-off-white);
  border-radius: 10px;
}

.signup-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-item .label {
  font-weight: 600;
  color: var(--color-navy);
  min-width: 50px;
}

.contact-item a {
  color: var(--color-red);
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Form Styles */
.ff-form .form-group {
  margin-bottom: 1.25rem;
}

.ff-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.ff-form label .required {
  color: var(--color-red);
}

.ff-form input[type="text"],
.ff-form input[type="email"],
.ff-form input[type="tel"],
.ff-form textarea,
.ff-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 2px solid var(--color-light-gray);
  border-radius: 6px;
  transition: border-color var(--transition);
  background: var(--color-white);
  color: var(--color-text);
}

.ff-form input:focus,
.ff-form textarea:focus,
.ff-form select:focus {
  outline: none;
  border-color: var(--color-navy);
}

.ff-form textarea {
  resize: vertical;
  min-height: 100px;
}

.ff-form .radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
}

.ff-form .radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  cursor: pointer;
}

.ff-form .radio-group input[type="radio"] {
  accent-color: var(--color-navy);
  width: 18px;
  height: 18px;
}

.ff-form .sponsor-group {
  display: none;
}

.ff-form .form-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: center;
  margin: 1rem 0 0.25rem;
  line-height: 1.5;
}

.ff-form .btn {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 1rem;
}

.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.form-message.error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--color-red) 33%, var(--color-white) 33% 66%, #3C5A99 66%) 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

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

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

/* ========== STAR SECTION SEPARATORS ========== */
.section-star-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  background: var(--color-white);
  height: 2.5rem;
}

.section-star-sep.sep-alt {
  background: var(--color-off-white);
}

.section-star-sep.sep-dark {
  background: var(--color-navy);
}

.section-star-sep .sep-line {
  width: 60px;
  height: 1px;
  background: var(--color-light-gray);
}

.section-star-sep.sep-dark .sep-line {
  background: rgba(255, 255, 255, 0.15);
}

.section-star-sep .sep-stars {
  color: var(--color-gold);
  font-size: 0.6rem;
  letter-spacing: 4px;
  line-height: 1;
}

.section-star-sep.sep-dark .sep-stars {
  color: var(--color-gold-light);
}

/* ========== NAVY OUTLINE BUTTON VARIANT ========== */
.btn-navy-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-navy-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 39, 68, 0.25);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

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

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .hero {
    padding: 0;
  }

  .hero-content {
    margin-top: -6rem;
    padding: 0 1.25rem 2rem;
  }

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

  .hero h1 span {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  #beneficiary::before {
    width: 300px;
    height: 180px;
    opacity: 0.3;
  }

  .section-star-sep {
    height: 2rem;
  }

  .section-star-sep .sep-line {
    width: 40px;
  }

  .signup-wrapper {
    grid-template-columns: 1fr;
  }

  .signup-contact {
    order: -1;
  }

  .signup-form-card {
    padding: 1.5rem;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .sponsor-tiers {
    grid-template-columns: 1fr;
  }

  .ff-form .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-content {
    margin-top: -4rem;
    padding: 0 1rem 1.5rem;
  }

  .nav-brand {
    font-size: 1.05rem;
  }
}
