/*
Theme Name: Hans Beliard Mental Health Theme
Theme URI: https://hk6.f17.myftpupload.com/
Author: SSW Digital
Description: Proper WordPress theme structure for Hans Beliard, PMHNP mental health website.
Version: 2.0
Text Domain: hans-beliard-theme
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: #444; line-height: 1.7; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root{
  --primary:#2e86c1;
  --primary-dark:#1a6fa5;
  --accent:#f39c12;
  --dark:#2c3e50;
  --footer:#1a252f;
  --light:#f8f9fa;
}

.topbar { background: var(--primary); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar .inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; gap:20px; }
.topbar-links a { color: #fff; margin-right: 20px; opacity: 0.9; }
.topbar-links a:hover { opacity: 1; }
.emergency { font-weight: 600; }

.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.site-logo img { max-height: 74px; width: auto; }
.logo-text { font-family: 'Merriweather', serif; font-size: 22px; color: var(--primary); font-weight: 700; letter-spacing: -0.5px; }
.logo-text span { color: var(--accent); }
.main-nav ul { list-style: none; display: flex; align-items:center; gap: 0; }
.main-nav ul li a { display: block; padding: 12px 13px; font-size: 13px; font-weight: 600; color: #333; transition: color 0.2s; text-transform: uppercase; letter-spacing: 0.4px; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item a { color: var(--primary); }
.btn-booking { background: var(--accent) !important; color: #fff !important; padding: 10px 20px !important; border-radius: 25px !important; font-weight: 700 !important; }
.btn-booking:hover { background: #e67e22 !important; }

/* HERO */
.hero { position: relative; overflow: hidden; height: 620px; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; opacity: 0; transition: opacity 0.8s ease; }
.slide.active { opacity: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); }
.slide-content { position: relative; z-index: 2; padding: 0 30px; max-width: 670px; margin-left: 80px; }
.slide-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }
.slide-content h1 { font-family: 'Merriweather', serif; font-size: 48px; font-weight: 700; color: #fff; line-height: 1.22; margin-bottom: 16px; text-shadow: 1px 2px 10px rgba(0,0,0,0.35); }
.slide-content p { font-size: 17px; color: rgba(255,255,255,0.92); margin-bottom: 28px; max-width: 560px; }
.btn-hero, .btn-outline, .btn-white { display: inline-block; border-radius: 30px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; transition: all 0.2s; text-transform: uppercase; }
.btn-hero { background: var(--primary); color: #fff; padding: 13px 32px; }
.btn-hero:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { margin-top: 24px; border: 2px solid var(--primary); color: var(--primary); padding: 11px 28px; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background:#fff; color:var(--primary); padding:13px 36px; }
.btn-white:hover { transform: translateY(-2px); }
.slide-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.2s; border: none; }
.dot.active { background: #fff; }

/* SERVICES BAR — image thumbnails */
.services-bar { background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,0.09); }
.services-bar .inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.svc-box { padding: 28px 20px; border-right: 1px solid #eee; text-align: center; transition: background 0.2s, transform 0.2s; }
.svc-box:last-child { border-right: none; }
.svc-box:hover { background: #f4f8fc; transform: translateY(-2px); }
.svc-img-wrap { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 3px solid var(--primary); box-shadow: 0 4px 14px rgba(46,134,193,0.18); }
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.svc-box h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.svc-box p { font-size: 12px; color: #888; }

/* GENERAL SECTIONS */
.section { padding: 90px 0; }
.section.alt { background: var(--light); }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
h2 { font-family: 'Merriweather', serif; font-size: 34px; color: var(--dark); line-height: 1.3; margin-bottom: 20px; }
h2 span { color: var(--primary); }
p { color: #666; margin-bottom: 14px; font-size: 15px; }
h4.label { font-size: 13px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 1px; margin: 26px 0 10px; border-left: 3px solid var(--accent); padding-left: 14px; }
.profile-card, .insurance-note { background:#e8f4fd; border-left:3px solid var(--primary); padding:18px; border-radius:0 8px 8px 0; color:var(--dark); }
.profile-card ul, .insurance-note ul { margin-left:18px; }
.about-image img, .env-image img { border-radius: 8px; width: 100%; height: 480px; object-fit: cover; }
.about-badge { margin-top: -55px; margin-left: auto; margin-right: -20px; position: relative; width:max-content; background: var(--accent); color: #fff; padding: 22px 26px; border-radius: 8px; text-align: center; box-shadow: 0 8px 25px rgba(243,156,18,0.35); }
.about-badge .name { font-size: 15px; font-weight: 700; }
.about-badge .role { font-size: 12px; opacity: 0.9; margin-top: 3px; }

/* EXPERTISE IMAGE CARDS */
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; }

.img-card { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.09); background:#fff; transition: transform 0.25s, box-shadow 0.25s; }
.img-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.14); }

.img-card-photo { position: relative; overflow: hidden; height: 200px; }
.img-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.img-card:hover .img-card-photo img { transform: scale(1.06); }

.img-card-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }

.img-card-body { padding: 22px 24px 26px; }
.img-card-body h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.img-card-body p { font-size: 14px; color: #777; margin: 0; line-height: 1.6; }

/* CTA */
.cta-band { background: var(--primary); padding: 60px 30px; text-align: center; }
.cta-band h2 { font-size: 30px; color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 24px; font-size: 16px; }

/* INSURANCE */
.insurance-list { columns:3; column-gap:45px; list-style:none; }
.insurance-list li { break-inside:avoid; padding:5px 0; color:#555; font-size:14px; border-bottom:1px solid #eee; }

/* FOOTER */
.site-footer { background: var(--footer); color: #999; padding: 70px 30px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto 50px; display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 60px; }
.site-footer h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.site-footer p { font-size: 14px; line-height: 1.8; color:#aaa; }
.footer-logo img { max-height: 80px; width:auto; margin-bottom:16px; }
.contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; align-items: flex-start; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul li a { color: #999; font-size: 14px; transition: color 0.2s; }
.site-footer ul li a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #263545; padding-top: 24px; text-align: center; font-size: 13px; }

.page-content { padding:80px 30px; max-width:1200px; margin:0 auto; }
.page-title { margin-bottom:30px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .topbar .inner { flex-direction:column; text-align:center; gap:8px; }
  .main-nav { display:none; }
  .hero { height: 520px; }
  .slide-content { margin-left: 10px; }
  .slide-content h1 { font-size: 31px; }
  .services-bar .inner { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap:40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .insurance-list { columns:1; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .services-bar .inner { grid-template-columns: 1fr 1fr; }
}
