/* ============================================
   ALMACURA — All Paths to Vitality
   Premium Dark Theme Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0b0b0f;
  --bg-secondary: #13131a;
  --bg-card: #1a1a24;
  --bg-card-hover: #22222e;
  --gold: #c9a84c;
  --gold-light: #e0c872;
  --gold-dark: #a8872e;
  --text-primary: #e8e6e1;
  --text-secondary: #9a9890;
  --text-muted: #6b6960;
  --white: #ffffff;
  --border: rgba(201, 168, 76, 0.15);
  --border-light: rgba(201, 168, 76, 0.08);
  --green-accent: #5a8a5e;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 400;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 500; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.gold-text { color: var(--gold); }
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

.text-center { text-align: center; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo svg {
  width: 42px;
  height: 42px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.nav-logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8rem !important;
  padding: 0.6rem 1.5rem !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg-primary) !important;
}

/* --- Dropdown Menu --- */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(19, 19, 26, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  margin-top: 0.75rem;
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: none;
  transition: all var(--transition);
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.dropdown-menu li a::after {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(90, 138, 94, 0.03) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
}

.hero h1 {
  margin-bottom: 0.5rem;
  letter-spacing: 0.12em;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* --- Pathway / Model Section --- */
.pathway-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.pathway-step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.pathway-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.6;
}

.pathway-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pathway-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.pathway-step h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pathway-step p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --- Cards / Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.pillar-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.pillar-card p {
  font-size: 0.95rem;
}

/* --- Therapy Cards --- */
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.therapy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 2rem;
  transition: all var(--transition);
}

.therapy-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

.therapy-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.therapy-card p {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.therapy-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.therapy-meta span {
  display: inline-block;
  margin-right: 1.5rem;
}

.therapy-meta strong {
  color: var(--gold);
  font-weight: 500;
}

/* --- Diagnostic Items --- */
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.diagnostic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 2rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.diagnostic-card:hover {
  border-color: var(--border);
}

.diagnostic-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}

.diagnostic-card h4 {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.diagnostic-card p {
  font-size: 0.9rem;
}

/* --- Founder Section --- */
.founder-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.founder-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.founder-image {
  width: 280px;
  height: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-image::after {
  content: 'Dr. Vijay Shekar Reddy';
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.founder-details h2 {
  margin-bottom: 0.5rem;
}

.founder-qualifications {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.founder-details p {
  margin-bottom: 1rem;
}

.founder-interests {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.interest-tag {
  font-size: 0.78rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
}

/* --- Page Header (interior pages) --- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
}

.page-header .container {
  position: relative;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Nutrition Specifics --- */
.nutrition-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.nutrition-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.nutrition-step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 0.8rem;
}

.nutrition-step h4 {
  margin-bottom: 0.5rem;
}

/* --- Vision / Mission boxes --- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.vm-box {
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

.vm-box h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .founder-content { gap: 3rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 11, 15, 0.98);
    justify-content: center;
    align-items: flex-start;
    padding-left: 3rem;
    gap: 0.2rem;
    z-index: 999;
  }
  .nav-links.open > li > a {
    font-size: 1rem;
    padding: 0.6rem 0;
  }
  .menu-toggle { display: flex; z-index: 1001; }

  .has-dropdown .dropdown-menu {
    position: static;
    transform: none;
    min-width: auto;
    background: transparent;
    border: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    padding: 0.2rem 0 0.4rem;
  }
  .has-dropdown .dropdown-menu li a {
    padding: 0.35rem 0 0.35rem 1.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
  }
  .has-dropdown .dropdown-menu li a::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    opacity: 0.4;
    font-size: 0.7rem;
  }
  .dropdown-arrow { display: none; }

  .pathway-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .pathway-step:not(:last-child)::after { display: none; }

  .pillars-grid { grid-template-columns: 1fr; }
  .therapy-grid { grid-template-columns: 1fr; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .nutrition-flow { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }

  .founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-image { margin: 0 auto; width: 220px; height: 280px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .page-header { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .pathway-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
}
