/*
Theme Name: nltp
Author: Ben
Description: Custom theme converted from static HTML
Version: 1.0
*/
/* NLTP Coaching Website Styles */

/* ============================================
   COLOR SYSTEM - NLTP BRAND COLORS
   ============================================ */
:root {
  /* Brand Colors */
  --brand-pink: #FF007F;
  --brand-pink-hover: #E6006F;
  --brand-green: #10B981;
  --brand-green-hover: #059669;
  
  /* Backgrounds */
  --bg-page: #022C22; /* dark brand green */
  #--bg-page: #FAFFEE;
  --bg-white: #FFFFFF;
  --bg-card: #FAFAFF;
  --bg-subtle: #F7F7F7;
  
  /* Text Colors */
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-light: #6B7280;
  
  /* Borders */
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-giant: 64px;
}

/* ============================================
   GLOBAL STYLES (ORIGINAL — COMMENTED OUT)
   ============================================ */
/*
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-content {
  padding-top: 90px;
  min-height: 100vh;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
*/


/* ============================================
   GLOBAL STYLES (ACTIVE — FINAL)
   ============================================ */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Dark green site canvas (brand-aligned) */
  background-color: #062f26;
  color: var(--text-primary);

  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keeps space for fixed pink header */
.main-content {
  padding-top: 90px;
  min-height: 100vh;
}

/* Standard container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}


/* ============================================
   PAGE READABILITY FIX (NON-HOMEPAGE ONLY)
   ============================================ */

/* OLD RULE — kept for revert
body:not(.home):not(.front-page) .main-content > * {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 32px;
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) auto;
  max-width: 1440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}
*/

/*
  NEW RULE:
  - Applies white panel to normal pages
  - Skips homepage
  - Skips Enquire page (nltp-no-panel)
*/
body:not(.home):not(.front-page) .main-content > *:not(.nltp-no-panel) {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 32px;
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) auto;
  max-width: 1440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

/* Ensure text is readable inside panels */
body:not(.home):not(.front-page) h1,
body:not(.home):not(.front-page) h2,
body:not(.home):not(.front-page) h3,
body:not(.home):not(.front-page) p,
body:not(.home):not(.front-page) li {
  color: var(--text-primary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.nltp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  padding: var(--spacing-md) var(--spacing-sm);
  background: transparent;
}

.nav-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--brand-pink);
  border-radius: 25px;
  padding: 12px var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.2);
}

.nltp-logo {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ============================================
   HEADER LOGO IMAGE (replaces NLTP COACHING text)
   ============================================ */
.nltp-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  margin-right: 16px;
}

.nltp-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nltp-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nltp-nav-link {
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.nltp-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nltp-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  padding: var(--spacing-giant) 0;
  background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

/* OLD (kept for easy revert)
.hero-text {
  animation: fadeInUp 0.8s ease-out;
}
*/

/* NEW: improves readability on dark backgrounds */
.hero-text {
  animation: fadeInUp 0.8s ease-out;

  background: rgba(255, 255, 255, 0.85);
  padding: 48px;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Optional: keep the panel from being too wide on large screens */
/* .hero-text { max-width: 640px; } */

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.hero-cta-group {
  margin-bottom: var(--spacing-lg);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  color: var(--brand-green);
  width: 24px;
  height: 24px;
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-image {
  animation: fadeIn 1s ease-out;
}

.coach-image {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-cta,
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-pink);
  color: white;
  border-radius: 25px;
  padding: 14px 32px;
  font-size: 1rem;
  min-height: 48px;
}

.btn-primary:hover {
  background: var(--brand-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.btn-cta {
  background: var(--brand-pink);
  color: white;
  border-radius: 33px;
  padding: 18px 36px;
  font-size: 1.125rem;
  min-height: 54px;
  box-shadow: 0 4px 16px rgba(255, 0, 127, 0.25);
}

.btn-cta:hover {
  background: var(--brand-pink-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.35);
}

.btn-submit {
  background: var(--brand-green);
  color: white;
  border-radius: 25px;
  padding: 16px 40px;
  font-size: 1.125rem;
  min-height: 54px;
  width: 100%;
  justify-content: center;
}

.btn-submit:hover:not(:disabled) {
  background: var(--brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--spacing-giant) 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: var(--bg-card);
  border-radius: 32px;
  padding: var(--spacing-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-green));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--spacing-md);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--spacing-giant) 0;
  background: var(--bg-subtle);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.about-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.about-points {
  list-style: none;
  padding: 0;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.point-bullet {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.cta-box {
  background: white;
  border-radius: 32px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 120px;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.cta-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

/* ============================================
   ENQUIRE PAGE
   ============================================ */
.enquire-page {
  padding: var(--spacing-xl) 0 var(--spacing-giant);
  min-height: calc(100vh - 90px);
}

.enquire-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* OLD BACK BUTTON STYLES (kept for easy revert)
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 8px 16px;
  margin-bottom: var(--spacing-lg);
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.back-button:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.back-button svg {
  width: 20px;
  height: 20px;
}
*/

/* NEW BACK BUTTON STYLES (readable on dark green background) */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;

  /* White for readability */
  color: rgba(255, 255, 255, 0.9);

  font-size: 0.95rem;
  padding: 8px 16px;
  margin-bottom: var(--spacing-lg);
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.back-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor; /* makes the arrow match the text colour */
}

.enquire-content {
  background: white;
  border-radius: 32px;
  padding: var(--spacing-xl);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.enquire-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.enquire-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.enquire-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.enquire-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  padding: 14px 18px;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.1);
}

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

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.success-message {
  text-align: center;
  padding: var(--spacing-xl);
}

.success-icon {
  color: var(--brand-green);
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.success-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.redirect-text {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.nltp-footer {
  background: var(--text-primary);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: var(--spacing-giant);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-pink);
  letter-spacing: 1px;
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: flex-end;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-pink);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--brand-pink);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  background: white;
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  animation: slideIn 0.3s ease-out;
}

.toast.show {
  display: block;
}

.toast.success {
  border-left: 4px solid var(--brand-green);
}

.toast.error {
  border-left: 4px solid #EF4444;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
  }
  to {
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero-image {
    order: -1;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .cta-box {
    position: relative;
    top: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 80px;
  }

  .nltp-header {
    padding: 12px;
  }

  .nav-wrapper {
    padding: 10px var(--spacing-sm);
    border-radius: 20px;
  }

  .nltp-logo {
    font-size: 16px;
  }

  .nltp-nav {
    gap: 12px;
  }

  .nltp-nav-link {
    padding: 8px 14px;
    font-size: 14px;
  }

  .hero-section,
  .services-section,
  .about-section {
    padding: var(--spacing-xl) 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .service-card {
    padding: var(--spacing-md);
    border-radius: 24px;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .enquire-content {
    padding: var(--spacing-md);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}
