/*
Theme Name: Towards Hope & Healing
Theme URI: https://towardshopeandhealing.com
Author: Advantage IT
Description: Custom one-page theme for Towards Hope & Healing LLC counseling services, with a dedicated contact page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: towards-hope-healing
*/

:root {
  --brand-blue: #4181a4;
  --brand-blue-dark: #2f6483;
  --brand-yellow: #efc94c;
  --brand-cream: #faf8f4;
  --text-dark: #2d3b42;
  --text-light: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--brand-cream);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand-blue); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e4dc;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-branding img { width: 52px; height: 52px; border-radius: 50%; }
.site-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}
.main-nav ul { list-style: none; display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.main-nav a:hover { color: var(--brand-blue); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-dark) 70%);
  color: var(--text-light);
  text-align: center;
  padding: 120px 24px 130px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 90px;
  background: var(--brand-cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 50% 0, 0 40%);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 750px;
  margin: 0 auto 24px;
}
.hero .tagline {
  color: var(--brand-yellow);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 36px;
}
.btn {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--text-dark);
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn:hover { background: #e5bc35; }

/* Sections */
.section { padding: 80px 0; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
}

/* Specialities */
.specialities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}
.speciality {
  background: #fff;
  border-top: 4px solid var(--brand-blue);
  padding: 36px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 4px;
}
.speciality h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--brand-blue-dark);
}
.speciality p { font-size: 0.97rem; text-align: justify; }

/* About */
.about { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.about-text p { font-style: italic; margin-bottom: 14px; }
.about-photo {
  background: var(--brand-blue);
  border-radius: 6px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo img { border-radius: 6px; width: 100%; object-fit: cover; }

/* CTA band */
.cta-band {
  background: var(--brand-blue);
  color: var(--text-light);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 24px; }

/* Contact page */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px; }
.contact-info p { margin-bottom: 10px; }
.contact-form { background: #fff; padding: 36px; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.contact-form label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 0.92rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d0c6;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--brand-blue); border-color: transparent; }
.contact-form .btn { margin-top: 24px; }
.form-notice { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; }
.form-notice.success { background: #e5f2e5; color: #2c5f2d; }
.form-notice.error { background: #f8e5e5; color: #8b2c2c; }

/* Generic page content */
.page-content { padding: 60px 0; }
.page-content h1 { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; margin-bottom: 30px; }

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: #cfd8dc;
  text-align: center;
  padding: 36px 24px;
  font-size: 0.9rem;
}
.site-footer a { color: var(--brand-yellow); text-decoration: none; }

@media (max-width: 800px) {
  .about-inner, .contact-wrap { grid-template-columns: 1fr; }
  .main-nav ul { gap: 16px; }
  .site-header .container { flex-direction: column; gap: 10px; }
}
