/*
 * Global stylesheet for JALDH Management Consultancy landing page
 *
 * The design is inspired by the provided mock‑ups: elegant typography,
 * generous whitespace, dark and light panels, and subtle cards with
 * rounded corners. Responsive media queries ensure the page looks great
 * on phones, tablets and desktops. Colour variables at the top make it
 * easy to adjust the palette.
 */

:root {
  --color-dark: #011627;
  --color-mid: #1b3a57;
  --color-light: #f7f9fc;
  --color-primary: #0f2e46;
  --color-accent: #059669; /* green for check marks */
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --max-width: 1280px;
  --transition-fast: 0.2s ease-in-out;
  --radius-small: 0.5rem;
  --radius-large: 1rem;
}

/* Normalize & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: var(--transition-fast);
  border-bottom: 1px solid #f1f5f9;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  min-height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0.15rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}
.logo-subtitle {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.main-nav {
  position: relative;
}
nav.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}
nav.main-nav li {
  position: relative;
}
nav.main-nav > ul > li > a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0.25rem;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}
nav.main-nav > ul > li > a:hover {
  color: var(--color-primary);
}
nav.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
nav.main-nav > ul > li > a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-small);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  min-width: 200px;
  z-index: 100;
  padding: 0.5rem 0;
  list-style: none;
  flex-direction: column;
}
.dropdown li {
  display: block;
  width: 100%;
}
.dropdown li a {
  display: block;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  font-size: 0.875rem;
  color: var(--color-text);
  text-decoration: none;
}
.dropdown li a:hover {
  background-color: #f3f4f6;
  color: var(--color-primary);
}

/* Show dropdown on hover - Desktop only */
@media (min-width: 769px) {
  .has-dropdown:hover > .dropdown {
    display: flex !important;
  }
}

/* Responsive navigation: hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
}
.hamburger span {
  width: 1.5rem;
  height: 0.15rem;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
}
.hero-left {
  background-image: url('watercolor-geometric.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  width: 100%;
  height: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  position: relative;
}
.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.hero-right {
  text-align: left;
  padding: 2rem 0;
  animation: fadeInUp 0.8s ease-out;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.375rem;
  color: #4a5568;
  line-height: 1.7;
  font-weight: 400;
  max-width: 540px;
}

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

/* Our Expertise */
.expertise-section {
  padding: 4rem 0;
}
.expertise-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-primary);
}
.expertise-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.expertise-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-small);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}
.expertise-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}
.expertise-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.expertise-card p {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* How We Work */
.how-section {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 0;
  gap: 2rem;
}
.how-left {
  background-color: var(--color-mid);
  color: #ffffff;
  flex: 1 1 300px;
  border-radius: var(--radius-small);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.how-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.how-left p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.how-left ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.how-left ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.how-left ul li::before {
  content: '\2022';
  color: var(--color-accent);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.how-right {
  flex: 1 1 300px;
  border-radius: var(--radius-small);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-small);
}

/* Who We Support */
.support-section {
  padding: 4rem 0;
  background-color: var(--color-light);
}
.support-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}
.support-item {
  background-color: var(--color-mid);
  color: #ffffff;
  border-radius: var(--radius-small);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
.support-item::before {
  content: '';
  position: absolute;
  top: -0.375rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* Why JALDH */
.why-section {
  padding: 4rem 0;
}
.why-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-primary);
}
.why-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.why-checklist {
  list-style: none;
  margin-bottom: 1.5rem;
}
.why-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.why-checklist svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  margin-top: 0.25rem;
}
.why-section p {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.mission-vision h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.mission-vision p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Next Steps */
.next-section {
  padding: 4rem 0;
  text-align: center;
}
.next-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-small);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.cta-button:hover {
  background-color: var(--color-mid);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--color-light);
  text-align: center;
}
.contact-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.contact-section p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.contact-chip {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-small);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.contact-chip span {
  font-weight: 500;
  color: var(--color-primary);
}

/* Generic sections (Team, Our Brands, Growth Partners, Health Coaching, Coming Soon) */
.generic-section {
  padding: 4rem 0;
}
.generic-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-align: center;
}
.generic-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  text-align: center;
}

/* Footer */
.site-footer {
  background-color: var(--color-dark);
  color: #cbd5e1;
  padding: 2rem 0;
  font-size: 0.75rem;
  line-height: 1.5;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.site-footer a {
  color: #93c5fd;
  text-decoration: none;
  transition: var(--transition-fast);
}
.site-footer a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}
.site-footer .copyright {
  text-align: center;
  color: #64748b;
}

/* Media Queries */
/* Tablet Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-left {
    height: 350px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav.main-nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-small);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
  }
  nav.main-nav ul.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  /* Show dropdowns inline on mobile */
  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    background-color: transparent;
  }
  .has-dropdown > .dropdown {
    display: none;
  }
  .has-dropdown.open > .dropdown {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.125rem;
  }
  .hero-left {
    height: 280px;
    order: -1;
  }
  .hero-right {
    padding: 1rem 0;
  }
  .why-section h2,
  .support-section h2,
  .next-section h2,
  .contact-section h2,
  .generic-section h2 {
    font-size: 1.75rem;
  }
}