/* =============================================
   247 Indoor Golf — Global Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0b100e;
  --bg2:        #131a16;
  --bg3:        #1a2420;
  --green:      #3dba6f;
  --green-dark: #2a9456;
  --gold:       #c9a84c;
  --white:      #f4f4f2;
  --muted:      #8a9e94;
  --border:     #243028;
  --nav-h:      72px;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: #c0cfc8; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 1rem; }
.section-intro  { max-width: 640px; color: var(--muted); font-size: 1.05rem; margin-top: 0.5rem; }

/* --- Layout --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-header { margin-bottom: 56px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(61,186,111,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-gold {
  background: var(--gold);
  color: #0b100e;
}
.btn-gold:hover { background: #b8923e; transform: translateY(-1px); }

.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(11,16,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.nav-logo-text span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c0cfc8;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--bg3); }
.nav-links .nav-cta { background: var(--green); color: #fff; padding: 9px 18px; }
.nav-links .nav-cta:hover { background: var(--green-dark); }

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

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #c0cfc8;
}
.mobile-menu a:hover { color: var(--white); background: var(--bg3); }
.mobile-menu .mob-cta { margin-top: 12px; background: var(--green); color: #fff; text-align: center; border-radius: var(--radius); padding: 14px; font-weight: 600; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://res.cloudinary.com/dxxf8iuoz/image/upload/v1781009705/facility-overview.jpg_sojxbh.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,16,14,0.85) 40%, rgba(61,186,111,0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,186,111,0.15);
  border: 1px solid rgba(61,186,111,0.3);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p { font-size: 1.15rem; color: #b0c4bb; max-width: 560px; margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 48px; }
.hero-phone { font-size: 1.4rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 10px; }
.hero-phone svg { color: var(--green); }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.hero-stat .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--green); transform: translateY(-3px); }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(61,186,111,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; }

/* --- CTA Bands --- */
.cta-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-phone { font-size: 1.6rem; font-weight: 800; color: var(--green); }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}
.price-card.featured {
  border-color: var(--green);
  background: linear-gradient(145deg, var(--bg2), #0f2018);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-amount { font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 16px 0 4px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 24px; }

.price-list { list-style: none; margin-bottom: 28px; }
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: #c0cfc8;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.price-list li:last-child { border-bottom: none; }
.price-list li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* --- Two-col layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

.two-col-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.two-col-img img { width: 100%; height: 400px; object-fit: cover; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.95rem; color: #c0cfc8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-weight: 600; font-size: 0.88rem; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }

/* --- Footer --- */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; color: var(--muted); margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: #8a9e94; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; color: #8a9e94; line-height: 1.8; }
.footer-contact a { color: var(--green); }
.footer-contact a:hover { color: var(--green-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all 0.15s;
}
.social-links a:hover { border-color: var(--green); color: var(--green); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: var(--muted); max-width: 580px; margin-top: 16px; }

/* --- Accordion / FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question svg { flex-shrink: 0; color: var(--green); transition: transform 0.2s; }
.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { font-size: 0.93rem; color: #b0c4bb; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding-bottom: 0; }
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }

/* --- Tag chips --- */
.tag {
  display: inline-block;
  background: rgba(61,186,111,0.12);
  color: var(--green);
  border: 1px solid rgba(61,186,111,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* --- Divider --- */
.divider { height: 1px; background: var(--border); margin: 0; }

/* --- Utility --- */
.text-green { color: var(--green); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.w-full { width: 100%; }
.gap-sm { gap: 8px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.flip { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { min-height: 95vh; }
  .hero-stats { gap: 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .two-col-img img { height: 260px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
