/* Golf Green - Pelajaran Golf | Demo Website */
:root {
  --green-deep: #1a4a2e;
  --green-mid: #2d7a4f;
  --green-light: #4caf78;
  --green-pale: #c8e6d4;
  --green-mist: #f0f8f3;
  --gold: #c9a227;
  --gold-light: #f0d060;
  --cream: #faf8f0;
  --sand: #e8dfc0;
  --dark: #121f16;
  --text: #1e3020;
  --text-muted: #4a6650;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(26,74,46,0.13);
  --shadow-card: 0 4px 24px rgba(26,74,46,0.11);
}

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

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

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

/* ===== DEMO BAR ===== */
.demo-bar {
  background: var(--dark);
  color: var(--gold-light);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.demo-bar span { opacity: 0.85; }
.demo-bar a {
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 2px 10px;
  font-weight: 600;
  transition: background 0.2s;
}
.demo-bar a:hover { background: var(--gold); color: var(--dark); }

/* ===== NAVIGATION ===== */
.site-header {
  background: var(--green-deep);
  position: sticky;
  top: 37px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; fill: var(--dark); }
.logo-text { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.logo-sub { font-size: 0.7rem; color: var(--green-pale); font-weight: 400; display: block; }

/* Mobile menu checkbox hack */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--green-pale);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}
.nav-cta a {
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 700;
  padding: 8px 18px !important;
}
.nav-cta a:hover { background: var(--gold-light); }

@media (max-width: 768px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green-deep);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  /* hamburger animation */
  .nav-toggle:checked ~ label span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle:checked ~ label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ label span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--green-pale);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-green { background: var(--green-mid); color: var(--white); }
.btn-green:hover { background: var(--green-deep); }

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
}
.stat-label { font-size: 0.8rem; color: var(--green-pale); }

/* ===== SECTIONS ===== */
.section { padding: 64px 20px; }
.section-alt { background: var(--green-mist); }
.container { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  color: var(--green-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }
.divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== CARDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,74,46,0.18); }

.card-icon {
  width: 56px; height: 56px;
  background: var(--green-mist);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; }

.card-body { padding: 28px 24px; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-deep); margin-bottom: 10px; }
.card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* package cards */
.pkg-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.25s;
}
.pkg-card:hover { transform: translateY(-4px); border-color: var(--green-light); }
.pkg-card.featured { border-color: var(--gold); }
.pkg-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
}
.pkg-name { font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.pkg-price { font-size: 2rem; font-weight: 800; color: var(--green-deep); margin-bottom: 6px; }
.pkg-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.pkg-features { list-style: none; margin-bottom: 28px; }
.pkg-features li {
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--green-mist);
}
.pkg-features li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--green-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13 4L6.5 11 3 7.5l1-1 2.5 2.5L12 3z'/%3E%3C/svg%3E");
  background-size: contain;
}

/* testimonial */
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--green-light);
}
.testi-stars { color: var(--gold); margin-bottom: 12px; font-size: 1.1rem; letter-spacing: 2px; }
.testi-text { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 0.9rem;
}
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--green-deep); }
.testi-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===== INSTRUCTOR PROFILE ===== */
.profile-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) { .profile-wrap { grid-template-columns: 1fr; } }

.profile-visual {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-mid) 100%);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.profile-visual::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.profile-avatar-svg {
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
}
.profile-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.profile-title { font-size: 0.85rem; color: var(--gold-light); margin-bottom: 20px; }
.profile-cert {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.cert-tag {
  background: rgba(255,255,255,0.12);
  color: var(--green-pale);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.profile-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--green-deep); margin-bottom: 16px; }
.profile-info p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.achievement-list { list-style: none; margin: 20px 0; }
.achievement-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--green-pale);
  font-size: 0.9rem;
}
.achievement-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ===== SCHEDULE / TABLE ===== */
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.schedule-table th {
  background: var(--green-deep);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.85rem;
}
.schedule-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--green-mist);
  color: var(--text);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--green-mist); }
.badge-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-pemula { background: #dcfce7; color: #166534; }
.badge-menengah { background: #fef9c3; color: #854d0e; }
.badge-lanjutan { background: #dbeafe; color: #1e40af; }
.badge-private { background: #fce7f3; color: #9d174d; }

/* ===== FORM ===== */
.form-wrap {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-mist);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item svg { width: 48px; height: 48px; }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(26,74,46,0.85), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 20px 12px 10px;
}
.gallery-item:nth-child(1) { background: linear-gradient(135deg, #1a4a2e, #2d7a4f); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #2d5a1a, #4a8f2d); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #1a3a4a, #2d6a7a); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #3a1a4a, #6a2d7a); }
.gallery-item:nth-child(5) { background: linear-gradient(135deg, #4a2d1a, #8f6a2d); }
.gallery-item:nth-child(6) { background: linear-gradient(135deg, #1a4a3a, #2d7a6a); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { color: var(--green-pale); margin-bottom: 28px; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.95rem;
  cursor: default;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '▾'; color: var(--green-mid); font-size: 1.1rem; }
.faq-a {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: #aaa; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #aaa; text-decoration: none; font-size: 0.85rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: #666;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 56px 20px 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--green-pale); max-width: 540px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--green-mist);
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--green-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; }

/* ===== ABOUT PAGE ===== */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  display: flex; gap: 16px;
}
.value-icon {
  width: 48px; height: 48px;
  background: var(--green-mist);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { width: 24px; height: 24px; }
.value-content h3 { font-size: 0.95rem; font-weight: 700; color: var(--green-deep); margin-bottom: 6px; }
.value-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 1.4rem; font-weight: 800; color: var(--green-deep); margin-bottom: 14px; }
.contact-info p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.info-item {
  display: flex; gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 16px;
  background: var(--green-mist);
  border-radius: 10px;
}
.info-icon {
  width: 40px; height: 40px;
  background: var(--green-mid);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; fill: white; }
.info-text strong { display: block; font-size: 0.85rem; color: var(--green-deep); margin-bottom: 2px; }
.info-text span { font-size: 0.88rem; color: var(--text-muted); }

/* ===== RESPONSIVE MISC ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }

/* scroll reveal placeholder style */
img { max-width: 100%; height: auto; }
