/* ==========================================================================
   Dr Website — Public Site Design System
   Shared brand tokens + component styles. Linked from header.php so every
   public page (home, about, blog, service, appointment, contact) picks
   this up automatically.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette — same family as the admin panel, tuned for marketing use */
  --ink:        #1F2A33;
  --ink-soft:   #4B5A64;
  --slate:      #7C8A93;
  --slate-100:  #E7E9E6;
  --sand:       #F6F4EF;
  --surface:    #FFFFFF;
  --teal:       #0F6E5D;
  --teal-700:   #0B5347;
  --teal-100:   #E3EEEA;
  --amber:      #D9822B;
  --amber-700:  #B96A1C;
  --amber-100:  #FBEEDF;
  --coral:      #C1503F;

  --shadow-sm: 0 1px 2px rgba(31, 42, 51, 0.06);
  --shadow-md: 0 6px 20px rgba(31, 42, 51, 0.10);
  --shadow-lg: 0 20px 48px rgba(31, 42, 51, 0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------------------------------------------------------------------- */
/* Base                                                                    */
/* ---------------------------------------------------------------------- */

body {
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
  background-color: var(--sand);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
}

a { color: var(--teal); }
a:hover { color: var(--teal-700); }

/* ---------------------------------------------------------------------- */
/* Navbar — overrides header.php's inline nav styles for brand consistency */
/* ---------------------------------------------------------------------- */

header, .navbar {
  background-color: var(--surface) !important;
  box-shadow: var(--shadow-sm) !important;
}

.nav-links a, nav a {
  color: var(--ink-soft) !important;
  font-family: var(--font-body);
}

.nav-links a:hover, nav a:hover { color: var(--teal) !important; }

.btn-appointment, .btnn, .btn {
  background-color: var(--amber) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
}

.btn-appointment:hover, .btnn:hover, .btn:hover {
  background-color: var(--amber-700) !important;
}

/* ---------------------------------------------------------------------- */
/* Eyebrow labels — a small colored word, never tracked ALL-CAPS           */
/* ---------------------------------------------------------------------- */

.right-text h2,
.section-eyebrow {
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--amber) !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-style: italic;
}

/* ---------------------------------------------------------------------- */
/* Section utility classes — opt-in, for new/refreshed sections            */
/* ---------------------------------------------------------------------- */

.section {
  padding: 5rem 6% ;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------- */
/* Cards — doctors, services, testimonials                                 */
/* ---------------------------------------------------------------------- */

.brand-card {
  background: var(--surface);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------------------- */
/* Forms                                                                   */
/* ---------------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="password"], textarea, select {
  font-family: var(--font-body);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--ink);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-100);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

footer {
  background-color: var(--ink) !important;
  color: rgba(255,255,255,0.75) !important;
}

footer a { color: rgba(255,255,255,0.85) !important; }
footer a:hover { color: var(--amber) !important; }

footer h3, footer h4 {
  color: #fff !important;
  font-family: var(--font-display);
}
