/*
Theme Name: MediTravel
Theme URI: https://meditravelglobal.com
Author: MediTravel
Author URI: https://meditravelglobal.com
Description: A premium medical tourism booking platform theme for MediTravel. Includes patient search directory, provider profiles, how it works, provider landing, and homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://meditravelglobal.com
Text Domain: meditraveltheme
Tags: medical, directory, booking, custom-colors, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ── THEME CSS VARIABLES ── */
:root {
  --cream:       #F9F6F1;
  --cream2:      #F2EDE4;
  --deep:        #0F1221;
  --deep2:       #1A1F35;
  --deep3:       #242A3E;
  --gold:        #C9A84C;
  --gold2:       #E8D5A3;
  --gold-dim:    rgba(201,168,76,0.12);
  --teal:        #1E7A8F;
  --teal2:       #2A9BB5;
  --teal-pale:   #EBF6F9;
  --teal-dim:    rgba(30,122,143,0.12);
  --green:       #2DA06B;
  --green-dim:   rgba(45,160,107,0.1);
  --red:         #DC2626;
  --text:        #1C1C2E;
  --muted:       #6B7280;
  --muted2:      #9CA3AF;
  --white:       #FFFFFF;
  --border:      #E5DDD0;
  --border2:     #D6CBB8;
  --sidebar-w:   280px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Jost', 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal2); }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; font-weight: 300; }

/* ── LAYOUT CONTAINERS ── */
.mt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.mt-container--narrow { max-width: 860px; }
.mt-container--wide   { max-width: 1400px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Jost', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn--primary   { background: var(--gold);  color: var(--deep); }
.btn--primary:hover { background: #b8943e; color: var(--deep); }
.btn--teal      { background: var(--teal);  color: var(--white); }
.btn--teal:hover { background: var(--teal2); color: var(--white); }
.btn--ghost     { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { color: white; border-color: rgba(255,255,255,0.6); }
.btn--outline   { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: white; }
.btn--lg { font-size: 16px; padding: 16px 40px; }

/* ── BADGES & TAGS ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.badge--teal  { background: var(--teal-pale); color: var(--teal); border: 1px solid rgba(30,122,143,0.2); }
.badge--gold  { background: var(--gold-dim);  color: #8a6020;     border: 1px solid rgba(201,168,76,0.25); }
.badge--green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(45,160,107,0.2); }

.tag {
  display: inline-block;
  background: var(--cream2); color: var(--muted); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 400;
}
.tag--teal { background: var(--teal-pale); color: var(--teal); border-color: rgba(30,122,143,0.2); }
.tag--gold { background: var(--gold-dim);  color: #8a6020;     border-color: rgba(201,168,76,0.2); }

/* ── SECTION HEADINGS ── */
.section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--teal); font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--teal); }
.section-title  { margin-bottom: 14px; }
.section-title em { font-style: italic; color: var(--teal); }
.section-sub    { font-size: 16px; color: var(--muted); font-weight: 300; line-height: 1.7; max-width: 560px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.card__body { padding: 24px; }

/* ── FORMS ── */
.mt-form-group    { margin-bottom: 18px; }
.mt-form-label    { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.mt-form-input,
.mt-form-select,
.mt-form-textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  padding: 11px 14px;
  border-radius: 8px;
  font-family: inherit; font-size: 14px; font-weight: 300;
  color: var(--text); outline: none; transition: border-color 0.2s;
}
.mt-form-input:focus,
.mt-form-select:focus,
.mt-form-textarea:focus { border-color: var(--teal); background: var(--white); }
.mt-form-input::placeholder { color: var(--muted2); }
.mt-form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.mt-form-select   { cursor: pointer; }

/* ── STARS ── */
.stars { color: var(--gold); letter-spacing: 2px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px);} to { opacity:1; transform:translateY(0); } }
@keyframes fadeLeft { from { opacity:0; transform:translateX(-20px);} to { opacity:1; transform:translateX(0); } }
@keyframes pulse    { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

.animate-up   { animation: fadeUp   0.5s ease both; }
.animate-down { animation: fadeDown 0.5s ease both; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 1024px) { .mt-container { padding: 0 24px; } }
@media (max-width: 768px)  { .mt-container { padding: 0 16px; } h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } }
