/* ============================================
   physiotherapy.css
   Page-specific styles for Physiotherapy Centre page
   Requires: style.css (site-wide styles)
   Colour scheme: Calm blue-purple — clinical trust,
   distinct from orange/teal/amber siblings
   ============================================ */

:root {
  --primary      : #5b6fa6;
  --primary-dark : #3f4f82;
  --primary-light: #8fa3d4;
  --bg           : #f5f6fb;
  --card-bg      : #ffffff;
  --text         : #333333;
  --muted        : #666666;
  --border       : #c4ccec;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 40px;
  font-size: 0.88rem;
  color: var(--muted);
  background: #f0f2fb;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ===== HERO ===== */
.dept-hero {
  background: linear-gradient(135deg, #3f4f82 0%, #5b6fa6 55%, #8fa3d4 100%);
  padding: 55px 40px 45px;
  position: relative;
  overflow: hidden;
}
.dept-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.dept-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.dept-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.dept-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.dept-hero h1 { font-size: 2.4rem; color: #fff; margin-bottom: 10px; }
.dept-hero p  { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 650px; }

.dept-stats   { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.stat-box {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 22px;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  min-width: 110px;
}
.stat-box strong { display: block; font-size: 1.6rem; font-weight: 700; }
.stat-box span   { font-size: 0.8rem; opacity: 0.85; }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg);
  padding: 60px 40px;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: #eaedfa;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.about-text h2 {
  font-size: 1.9rem;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-text p {
  color: #555;
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.service-chip {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 25px;
  transition: 0.2s;
}
.service-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== INFO CARD (sidebar-style) ===== */
.info-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 20px rgba(91,111,166,0.1);
  padding: 28px;
  position: sticky;
  top: 24px;
}
.info-card h3 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #eaedfa;
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #f0f2fb;
  font-size: 0.88rem;
  color: #555;
}
.info-row:last-child { border-bottom: none; }
.info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.info-row strong {
  display: block;
  font-size: 0.74rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

/* ===== PHOTO GALLERY ===== */
.gallery-section {
  background: #fff;
  padding: 60px 40px 70px;
  border-top: 1px solid #eaedfa;
}
.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-inner h2 {
  font-size: 1.9rem;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.3;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.photo-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 20px rgba(91,111,166,0.09);
  background: #fff;
  transition: 0.3s;
}
.photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(91,111,166,0.16);
  border-color: var(--primary);
}

.photo-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #dde2f5, #f0f2fb);
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.photo-card:hover .photo-wrap img { transform: scale(1.04); }

/* Placeholder shown when image fails to load */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #dde2f5, #f0f2fb);
  padding: 20px;
  text-align: center;
}
.ph-icon  { font-size: 3rem; }
.ph-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}
.ph-hint {
  font-size: 0.76rem;
  color: #aaa;
  font-family: monospace;
  background: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 8px;
  margin-top: 4px;
}

.photo-caption {
  padding: 20px 24px 22px;
}
.photo-caption h4 {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 6px;
}
.photo-caption p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .about-inner   { grid-template-columns: 1fr; gap: 30px; }
  .photo-grid    { grid-template-columns: 1fr; }
  .about-section { padding: 40px 20px; }
  .gallery-section { padding: 40px 20px 50px; }
  .dept-hero     { padding: 40px 20px 30px; }
  .dept-hero h1  { font-size: 1.8rem; }
  .dept-stats    { gap: 16px; }
  .breadcrumb    { padding: 14px 20px; }
  .info-card     { position: static; }
}