/* ============================================
   Health Retreats Directory — Global Styles
   Domain: healthretreats.biz
   ============================================ */

/* Google Fonts loaded in HTML <head> */
:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --primary-light: #DBEAFE;
  --heal-green: #10B981;
  --heal-green-dark: #059669;
  --heal-green-light: #D1FAE5;
  --warm: #F59E0B;
  --warm-light: #FEF3C7;
  --danger: #EF4444;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-green: #F0FDF4;
  --bg-blue: #EFF6FF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1200px;
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; color: var(--text); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin-bottom: 1rem; }
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--heal-green);
  margin-bottom: .5rem;
}
.section-title { margin-bottom: .75rem; }
.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(59,130,246,.35); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,.45); }
.btn-green { background: var(--heal-green); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,.35); }
.btn-green:hover { background: var(--heal-green-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--text); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,.85) 0%, rgba(59,130,246,.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  color: #fff;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; opacity: .92; max-width: 600px; margin-bottom: 2rem; }

/* ---- Search Box ---- */
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  border-radius: var(--radius-md);
  background: transparent;
}
.search-box input::placeholder { color: var(--text-light); }
.search-box .btn { white-space: nowrap; }

/* ---- Section spacing ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section-green { background: var(--bg-green); }
.section-blue { background: var(--bg-blue); }
.text-center { text-align: center; }

/* ---- Cards ---- */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--text-muted); font-size: .95rem; }
.card-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.tag-blue { background: var(--primary-light); color: var(--primary-dark); }
.tag-green { background: var(--heal-green-light); color: var(--heal-green-dark); }
.tag-warm { background: var(--warm-light); color: #92400E; }

/* ---- Grids ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ---- Featured Listing ---- */
.featured {
  background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 100%);
  border: 2px solid var(--heal-green);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.featured-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--heal-green);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 1rem;
}
.featured-content h3 { font-size: 1.8rem; margin-bottom: .75rem; }
.featured-content p { color: var(--text-muted); margin-bottom: 1.5rem; }
.featured-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.amenity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-muted);
  background: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.amenity svg { width: 16px; height: 16px; color: var(--heal-green); }

/* ---- State Grid ---- */
.state-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.state-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.state-card svg { width: 18px; height: 18px; color: var(--text-light); flex-shrink: 0; }
.state-card:hover svg { color: var(--primary); }

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .95rem;
  color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonial {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: .9rem;
}
.testimonial-name { font-weight: 600; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-section .hero-bg,
.cta-section .hero-overlay { position: absolute; inset: 0; }
.cta-section .hero-overlay {
  background: linear-gradient(135deg, rgba(16,185,129,.9) 0%, rgba(59,130,246,.85) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p { font-size: 1.15rem; opacity: .92; max-width: 600px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-brand p { margin-top: 1rem; font-size: .9rem; line-height: 1.7; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 16px 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; opacity: .5; }

/* ---- Blog Cards ---- */
.blog-card .card-body h3 { font-size: 1.2rem; }
.blog-card .card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.blog-card .card-meta svg { width: 14px; height: 14px; }

/* ---- Page Header ---- */
.page-header {
  background: linear-gradient(135deg, var(--bg-green) 0%, var(--bg-blue) 100%);
  padding: 48px 0 40px;
  text-align: center;
}
.page-header h1 { margin-bottom: .5rem; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ---- Article Content ---- */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px;
}
.article-content h2 { margin: 2.5rem 0 1rem; font-size: 1.8rem; }
.article-content h3 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
.article-content p { font-size: 1.05rem; color: #334155; line-height: 1.8; }
.article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-content li { margin-bottom: .5rem; font-size: 1.05rem; color: #334155; line-height: 1.7; }
.article-content img { border-radius: var(--radius-md); margin: 2rem 0; }
.article-content blockquote {
  border-left: 4px solid var(--heal-green);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #334155;
}

/* ---- Inline CTA ---- */
.inline-cta {
  background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 100%);
  border: 2px solid var(--heal-green);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 2.5rem 0;
  text-align: center;
}
.inline-cta h3 { margin-bottom: .5rem; }
.inline-cta p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* ---- State Listing Page ---- */
.listing-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.listing-card:hover { box-shadow: var(--shadow-lg); }
.listing-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.listing-card-body { padding: 32px; }
.listing-card-body h3 { margin-bottom: .5rem; }
.listing-card .rating { display: flex; align-items: center; gap: 4px; margin-bottom: .75rem; }
.listing-card .stars { color: var(--warm); font-size: .9rem; }

/* ---- Phone CTA Banner ---- */
.phone-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
}
.phone-banner a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---- Crisis Banner ---- */
.crisis-banner {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.crisis-banner svg { width: 24px; height: 24px; color: var(--danger); flex-shrink: 0; }
.crisis-banner p { margin: 0; font-size: .9rem; color: #991B1B; }
.crisis-banner a { color: #991B1B; font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .featured-inner { grid-template-columns: 1fr; }
  .featured-img { min-height: 280px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 500px; }
  .hero-content { padding: 60px 24px; }
  .search-box { flex-direction: column; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .listing-card { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .grid-5 { grid-template-columns: 1fr; }
}
