/* css/style.css - Bateman-Gatrost Chiropractic (Original Family Image + Vertical Image Shift) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-teal-header: #1c8598;
  --color-teal-dark: #0f4c5c;
  --color-hero-bg: #e4f4f7;
  --color-bg-canvas: #fcfaf6;
  --color-card-bg: #ffffff;
  --color-orange-btn: #f28c38;
  --color-orange-hover: #e07a27;
  --color-text-navy: #0f2d38;
  --color-text-muted: #5a7184;
  --color-border-light: #eae5dc;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-canvas);
  color: var(--color-text-navy);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-navy);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Top Navbar */
.navbar {
  background-color: var(--color-teal-header);
  color: #ffffff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(28, 133, 152, 0.15);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ffffff;
}

.logo-text-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Navigation Links Bar */
.nav-links-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: var(--color-text-navy);
  min-width: 230px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid var(--color-border-light);
  padding: 10px 0;
  z-index: 1100;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-navy);
}

.dropdown-menu li a:hover {
  background: var(--color-hero-bg);
  color: var(--color-teal-header);
}

.nav-item.has-dropdown:hover .dropdown-menu {
  display: block;
}

.btn-nav-book {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-teal-header) !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-nav-book:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

/* Family Full-Width Hero Section */
.hero-family-section {
  background-color: #cbe3f8;
  background-image: url('/images/hero_family_full.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 60px 20px;
  position: relative;
}

.hero-family-container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.hero-box-sky {
  max-width: 580px;
  background: rgba(228, 244, 247, 0.92);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 36px rgba(15, 76, 92, 0.08);
}

/* Mobile Hero Banner Image */
.mobile-hero-img {
  display: none;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: right top;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.btn-orange-hero {
  display: inline-block;
  background: var(--color-orange-btn);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(242, 140, 56, 0.35);
  border: none;
  cursor: pointer;
}

.btn-orange-hero:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
}

/* 4 Feature Cards Grid */
.cards-section {
  max-width: 1140px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-pill-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.feature-pill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 76, 92, 0.08);
}

.icon-badge-round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  flex-shrink: 0;
}

.feature-pill-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-text-navy);
}

.feature-pill-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Patient Featured Spotlight Box */
.trends-section {
  max-width: 1140px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.trends-spotlight-box {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.spotlight-badge {
  display: inline-block;
  background: var(--color-teal-header);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* Appointment Form */
.appointment-section {
  max-width: 780px;
  margin: 0 auto 70px;
  padding: 0 20px;
  text-align: center;
}

.appointment-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.appointment-form-pill {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(15, 76, 92, 0.06);
  border: 1px solid var(--color-border-light);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.input-pill {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid #d1d5db;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
}

.input-pill:focus {
  border-color: var(--color-teal-header);
  box-shadow: 0 0 0 3px rgba(28, 133, 152, 0.15);
}

textarea.input-pill {
  border-radius: 16px;
  width: 100%;
  resize: vertical;
}

.btn-submit-orange {
  width: 100%;
  background: var(--color-orange-btn);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(242, 140, 56, 0.35);
  margin-top: 10px;
}

.btn-submit-orange:hover {
  background: var(--color-orange-hover);
}

/* Footer */
.footer-mockup {
  background: var(--color-bg-canvas);
  border-top: 1px solid var(--color-border-light);
  padding: 50px 20px 20px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  font-size: 1.25rem;
  color: var(--color-text-navy);
  margin-bottom: 8px;
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
  font-size: 0.8rem;
}

/* Mobile Responsive Optimization (<= 768px) */
@media (max-width: 768px) {
  .nav-links-bar {
    display: none;
  }
  
  .hero-family-section {
    background: none !important;
    min-height: auto;
    padding: 20px 16px;
  }

  .mobile-hero-img {
    display: block;
  }

  .hero-box-sky {
    max-width: 100%;
    background: #ffffff;
    padding: 28px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }

  .hero-box-sky h1 {
    font-size: 2.2rem !important;
  }

  .cards-grid, .form-grid-3, .form-grid-2 {
    grid-template-columns: 1fr;
  }
}
