/* =========================================
   GANNON MUNICIPAL GOLF CLUB — style.css
   Fonts: Cormorant Garant (headings) + DM Sans (body)
   ========================================= */

:root {
  --green-dark:  #1B3A2B;
  --green-mid:   #2D5A3D;
  --gold:        #C4A141;
  --gold-light:  #D4B55A;
  --cream:       #F8F4ED;
  --charcoal:    #2C2C2C;
  --white:       #FFFFFF;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.75;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garant', serif;
  font-weight: 600;
}
img { display: block; }
a { transition: color 0.2s; }

/* ---- Utility ---- */
.text-gold { color: var(--gold) !important; }

.btn-gold {
  background: var(--gold);
  color: #fff !important;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.22s;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-green {
  background: var(--green-dark);
  color: #fff !important;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.22s;
}
.btn-green:hover { background: var(--green-mid); }

/* ---- Section wrappers ---- */
.section-cream { background: var(--cream); padding: 88px 0; }
.section-white { background: var(--white); padding: 88px 0; }
.section-dark  { background: var(--green-dark); padding: 88px 0; }

/* ---- Section typography ---- */
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  display: block;
}
.section-heading {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-dark .section-heading { color: var(--white); }
.section-sub {
  font-size: 1.02rem;
  color: #666;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.7;
}
.lead-text {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: rgba(27, 58, 43, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(196, 161, 65, 0.3);
}
.nav-logo {
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
}
.brand-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
#mainNav .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82) !important;
  padding: 0.5rem 0.8rem;
  transition: color 0.2s;
}
#mainNav .nav-link:hover { color: var(--gold) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 780px;
  width: 100%;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 3px;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.05;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
  margin-bottom: 0;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--green-dark);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.stat-item {
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garant', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.35rem;
  display: block;
}

/* ============================================================
   ABOUT
   ============================================================ */
.course-spec {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 0.8rem 1.3rem;
  min-width: 110px;
}
.spec-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.spec-value {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ============================================================
   RATES
   ============================================================ */
.rates-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 1.75rem;
  height: 100%;
}
.rates-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--gold);
}
.rates-card-header i {
  font-size: 1.4rem;
  color: var(--gold);
}
.rates-card-header h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--green-dark);
}
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.rates-table thead th {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.rates-table td {
  padding: 0.6rem 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--charcoal);
}
.rates-table td:not(:first-child),
.price-col {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-dark);
  text-align: right;
}
.membership-heading {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.85rem;
  color: var(--green-dark);
}
.membership-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  border-top: 4px solid var(--gold);
}
.membership-card-title {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-cell {
  position: relative;
  overflow: hidden;
}
.gallery-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-cell:hover .gallery-img { transform: scale(1.06); }
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(27,58,43,0.88) 0%, transparent 100%);
  color: var(--white);
  font-family: 'Cormorant Garant', serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 1.4rem 1rem 0.7rem;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   FUNCTIONS / EVENTS
   ============================================================ */
.event-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.event-icon {
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.event-card h5 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.25rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.event-card p { font-size: 0.88rem; color: #666; margin: 0; }

.menus-strip {
  background: var(--green-dark);
  border-radius: 4px;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.menus-title {
  font-family: 'Cormorant Garant', serif;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}
.menus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.menus-list span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.15);
}

.catering-contact {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  max-width: 600px;
  margin: 0 auto;
}
.catering-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.1rem;
}
.catering-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.7rem;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}
.catering-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 0.5rem;
}
.catering-links a {
  color: var(--green-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.catering-links a:hover { color: var(--gold); }
.catering-links i { margin-right: 0.3rem; }
.catering-hours {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 0.75rem;
}
.catering-tagline {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #777;
  margin: 0;
}

/* ============================================================
   GOLF SHOP & JUNIOR GOLF
   ============================================================ */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.brand-badge {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.instruction-box {
  background: var(--cream);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
}
.instruction-box h5 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.lesson-prices { display: flex; flex-direction: column; gap: 0.6rem; }
.lesson-row { display: flex; flex-direction: column; gap: 0.1rem; }
.lesson-type {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.lesson-detail {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.junior-details { display: flex; flex-direction: column; gap: 1.1rem; }
.junior-detail-item { display: flex; gap: 1rem; align-items: flex-start; }
.junior-detail-item i {
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.junior-detail-item div { display: flex; flex-direction: column; }
.junior-detail-item strong {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-dark);
  margin-bottom: 0.1rem;
}
.junior-detail-item span {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.08rem;
  color: var(--charcoal);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item i {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.contact-item div { display: flex; flex-direction: column; }
.contact-item strong {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.15rem;
}
.contact-item p {
  color: rgba(255,255,255,0.88);
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}
.contact-sub { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin: 0; }
.contact-link {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.contact-link:hover { color: var(--gold); }
.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f2218;
  padding: 3.5rem 0 1.5rem;
  color: rgba(255,255,255,0.6);
}
.footer-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 0.3rem;
}
.footer-address {
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}
.footer-address a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-address a:hover { color: var(--gold); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.social-links { display: flex; justify-content: center; gap: 0.6rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--gold); color: #fff; }

.powered-by {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.powered-by:hover { color: rgba(255,255,255,0.7); }
.powered-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.powered-brand {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
  text-transform: none;
}
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 2.5rem 0 1.25rem;
}
.footer-copy {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .section-cream, .section-white, .section-dark { padding: 64px 0; }
}

@media (max-width: 767px) {
  .section-cream, .section-white, .section-dark { padding: 52px 0; }

  .hero-content { padding: 2rem 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 260px; }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem;
  }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: 2.2rem; }

  .gallery-img { height: 160px; }

  .menus-strip { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .powered-by { align-items: center; }

  .brands-grid .brand-badge { font-size: 0.72rem; }

  .catering-links { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .gallery-img { height: 130px; }
  .section-heading { font-size: 1.85rem; }
}
