/*
Theme Name: Nooshu Clinic
Author: James McFarlane
Version: 1.0
Text Domain: nooshu-clinic
*/

:root {
  --bg-grey: #f0f0f0;
  --body-bg: #ffffff;
  --text-main: #333333;
  --text-muted: #777777;
  --accent-green: #2f7a55;
  --accent-gold: #c7a24a;
  --quote-grey: #e3e3e3;
  --max-width: 1040px;
--serif: "Playfair Display", "Times New Roman", serif;
--sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* basic reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--body-bg);
  color: var(--text-main);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* layout wrapper */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nc-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header + nav */

.site-header {
  background: var(--bg-grey);
  padding: 2.8rem 0 1.6rem;
  text-align: center;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.site-logo-mark img {
  height: 56px;       /* tweak to taste */
  width: auto;
}

.site-logo img {
  margin: 0 auto;
  max-height: 80px;
}

.site-logo-text {
  font-family: var(--serif);
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--accent-green);
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav li {
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  color: #555;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: #000;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.35rem;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.15s ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
  width: 28px;
}

/* hero banner */

.hero-banner {
  height: 420px;
  background-image: url("assets/hero-stones.jpg");
  background-size: cover;
  background-position: center center;
  position: relative;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
}

.hero-banner-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-banner-content {
  max-width: 720px;
}

.hero-icon {
  display: block;
  margin: 0 auto 0.8rem;
  width: 44px;
}

.hero-heading {
  font-family: var(--serif);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: #5b5b5b;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-green);
}

/* generic sections */

.section {
  padding: 5rem 0;
}

.section--tight {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* home intro + quote */

.home-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.home-intro-title {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1.75rem;
}

.home-intro p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.nc-btn {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
}

.home-quote {
  background: var(--quote-grey);
  padding: 3rem 2.2rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--accent-green);
}

.home-quote-author {
  display: block;
  margin-top: 1.7rem;
  text-align: right;
  color: #000;
}

/* about page */

.about-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.about-heading-title {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-style: italic;
  color: var(--accent-green);
}

.about-heading p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.about-heading .hero-icon {
  margin-bottom: 1.2rem;
}

.about-heading .nc-btn {
  margin-top: 2.2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5rem;
  margin-top: 3.5rem;
  text-align: center;
}

.team-photo-wrap {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  overflow: hidden;
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* contact page */

.contact-main {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.contact-main h1 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.contact-main h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

.contact-main p {
  margin: 0.1rem 0;
}

.contact-main a {
  color: var(--accent-green);
}

/* big background image at bottom */

.contact-landscape {
  height: 60vh;
  background-image: url("assets/contact-forest.jpg");
  background-size: cover;
  background-position: center center;
  margin-top: 2rem;
}

/* footer */

.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* responsive tweaks */

@media (max-width: 900px) {
  .home-intro {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .site-nav ul {
    gap: 1.5rem;
  }

  .hero-banner {
    height: 320px;
  }
}
