/* ================================================================
   Mpita Medical: Zodiac-Themed Monthly Styles (v1.1)
   Fixed & Optimized for GitHub Pages
   ================================================================ */

/* Root defaults */
:root {
  --primary-color: #5c4033;
  --secondary-color: #8b5e3c;
  --accent-color: #1b8bca;
  --background-color: #f8f8f8;
  --text-color: #222222;
  --header-bg: var(--primary-color);
  --footer-bg: #0c2433;
}

/* Typography */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 1s ease, color 1s ease;
}

/* Navigation */
.navbar {
  background-color: var(--header-bg);
  color: #fff;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.75em;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: var(--accent-color);
}

/* Hero */
.hero-bg {
  background: linear-gradient(120deg, #5c4033, #8b5e3c); /* rich brown gradient */
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  /* make hero fill the viewport (account for sticky header visually) */
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 4rem 1rem;
  border-bottom: 4px solid #d4a373; /* subtle gold-brown accent line */
}

/* Hero Text */
.hero h1 {
  font-size: 3em;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.25em;
  margin-bottom: 1.5em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f8f3ed;
  line-height: 1.6;
}

/* Button */
.btn-primary {
  background: #f8f3ed;
  color: #5c4033;
  padding: 0.9em 1.8em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: #d4a373;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Services */
.services-highlight {
  padding: 4em 1em;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--accent-color);
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: #ccc;
  padding: 2em 1em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
}

footer a {
  color: #c7e2f0;
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-color);
}

/* ================================================================
   Zodiac Monthly Theme Variants
   ================================================================ */

/* January - Capricorn */
body[data-zodiac="capricorn"] {
  --primary-color: #2c3e50;
  --secondary-color: #95a5a6;
  --accent-color: #7f8c8d;
  --footer-bg: #1b2631;
}

/* February - Aquarius */
body[data-zodiac="aquarius"] {
  --primary-color: #2980b9;
  --secondary-color: #aedff7;
  --accent-color: #5dade2;
  --footer-bg: #154360;
}

/* March - Pisces */
body[data-zodiac="pisces"] {
  --primary-color: #1b6ca8;
  --secondary-color: #7fc8f8;
  --accent-color: #65aedd;
  --footer-bg: #0d3b66;
}

/* April - Aries */
body[data-zodiac="aries"] {
  --primary-color: #c0392b;
  --secondary-color: #f5b7b1;
  --accent-color: #e74c3c;
  --footer-bg: #641e16;
}

/* May - Taurus */
body[data-zodiac="taurus"] {
  --primary-color: #145a32;
  --secondary-color: #a9dfbf;
  --accent-color: #58d68d;
  --footer-bg: #0b3d1d;
}

/* June - Gemini */
body[data-zodiac="gemini"] {
  --primary-color: #16a085;
  --secondary-color: #a2d9ce;
  --accent-color: #1abc9c;
  --footer-bg: #0b5345;
}

/* July - Cancer */
body[data-zodiac="cancer"] {
  --primary-color: #34495e;
  --secondary-color: #d6dbdf;
  --accent-color: #85929e;
  --footer-bg: #212f3c;
}

/* August - Leo */
body[data-zodiac="leo"] {
  --primary-color: #d4ac0d;
  --secondary-color: #f9e79f;
  --accent-color: #f1c40f;
  --footer-bg: #7d6608;
}

/* September - Virgo */
body[data-zodiac="virgo"] {
  --primary-color: #196f3d;
  --secondary-color: #a9dfbf;
  --accent-color: #27ae60;
  --footer-bg: #0b3d1d;
}

/* October - Libra */
body[data-zodiac="libra"] {
  --primary-color: #884ea0;
  --secondary-color: #d2b4de;
  --accent-color: #bb8fce;
  --footer-bg: #4a235a;
}

/* November - Scorpio */
body[data-zodiac="scorpio"] {
  --primary-color: #6c3483;
  --secondary-color: #d7bde2;
  --accent-color: #a569bd;
  --footer-bg: #4a235a;
}

/* December - Sagittarius */
body[data-zodiac="sagittarius"] {
  --primary-color: #2874a6;
  --secondary-color: #aed6f1;
  --accent-color: #5dade2;
  --footer-bg: #1a5276;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1EBE57;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

/* ================================================================
   Modern Contact Form Styling
   ================================================================ */
.contact-section-modern {
  background: linear-gradient(135deg, #f9fafb, #f0f4ff);
  padding: 5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.contact-container-modern {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.contact-form-modern {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-modern {
  display: block;
  width: 100%;
  background-color: #2563eb;
  color: #fff;
  font-weight: 600;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modern:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}
