/*
Theme Name: Upstate Wellness Center
Author: Grant Gregory
Version: 2.0
Description: A custom theme for Upstate Wellness Center.
*/

/* =============================
   BASE & RESET
   ============================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding-top: 110px;
  background-color: #fafaf8;
  color: #333;
  line-height: 1.7;
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
.topbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hours-bar {
  background-color: #0a4d2d;
  color: #d1d7b3;
  text-align: center;
  padding: 6px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.clinic-text h1 {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #114504;
  white-space: nowrap;
}

.clinic-text h1 em {
  font-style: italic;
  color: #497f7f;
}

.topbar-nav {
  display: flex;
  align-items: center;
}

.menu-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  list-style: none;
}

.menu-list li a {
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
  padding: 8px 14px;
  border-radius: 8px;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-list li a:hover {
  background-color: #f1e4d3;
  color: #114504;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #114504;
  padding: 4px 8px;
  line-height: 1;
}

/* =============================
   HERO BANNER
   ============================= */
.color-banner {
  width: 100%;
  background-color: #f1e4d3;
  background-image: url('MainBannerBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  gap: 48px;
}

.banner-text {
  flex: 1;
  min-width: 260px;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.banner-text p {
  margin: 0;
}

.banner-text em {
  font-style: italic;
  color: #d1d7b3;
}


/* =============================
   CONTENT WRAPPER
   ============================= */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.content h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #114504;
  margin: 52px 0 8px;
}

/* =============================
   MISSION SECTION
   ============================= */
.mission {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #ffffff;
  border-left: 5px solid #0a4d2d;
  border-radius: 12px;
  padding: 32px 36px;
  margin: 40px 0 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.mission-logo {
  flex-shrink: 0;
  width: 100px;
  opacity: 0.7;
}

.mission-logo img {
  width: 100%;
  height: auto;
}

.mission-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.85;
  margin: 0;
}

/* =============================
   SERVICES SECTION
   ============================= */
.three-column-section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 64px;
}

.column {
  flex: 1;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  border-top: 4px solid #b0c59e;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.column:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

.column .service-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 8px;
}

.column h3 {
  font-size: 1.15rem;
  color: #114504;
  margin: 0 0 14px;
  font-weight: 700;
}

.column p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* =============================
   TEAM PAGE BANNER
   ============================= */
.team-page-banner {
  width: 100%;
  background-color: #0a4d2d;
  padding: 48px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-page-banner h2 {
  color: #ffffff !important;
  font-size: 2.2rem;
  margin: 0;
  text-align: center !important;
}

/* =============================
   TEAM PAGE
   ============================= */
.section {
  padding: 40px 0 64px;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: #f4f7f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border-left: 6px solid #0a4d2d;
  transition: box-shadow 0.22s ease;
}

.team-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.11);
}

.team-card-photo {
  flex-shrink: 0;
  width: 150px;
}

.team-card-photo img {
  width: 150px;
  height: 175px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-card-info {
  flex: 1;
}

.team-card-info h3 {
  font-size: 1.1rem;
  color: #114504;
  margin: 0 0 4px;
  font-weight: 700;
}

.team-card-info .tenure {
  display: block;
  font-size: 0.85rem;
  color: #497f7f;
  font-style: italic;
  margin-bottom: 12px;
}

.team-card-info p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* =============================
   CONTACT PAGE
   ============================= */
.contact-intro {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  margin: 12px auto 40px;
  line-height: 1.8;
}

.contact-cards {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.contact-card {
  flex: 1;
  min-width: 240px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border-top: 5px solid #0a4d2d;
}

.contact-card h3 {
  font-size: 1.2rem;
  color: #114504;
  margin: 0 0 16px;
}

.contact-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 10px;
}

.contact-card a {
  color: #0a4d2d;
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-hours {
  background: #f1e4d3;
  border-radius: 12px;
  padding: 28px 36px;
  max-width: 520px;
  margin: 0 auto 64px;
  text-align: center;
}

.contact-hours h3 {
  color: #114504;
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.contact-hours p {
  margin: 6px 0;
  color: #444;
  font-size: 0.95rem;
}

/* =============================
   FOOTER
   ============================= */
.contact-footer {
  background-color: #0a4d2d;
  padding: 52px 20px 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-column {
  flex: 1;
  min-width: 180px;
}

.footer-left h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.footer-center h3,
.footer-right h3 {
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.footer-center p,
.footer-right p {
  font-size: 0.9rem;
  color: #b0c59e;
  line-height: 1.85;
  margin: 0;
}

.footer-center a,
.footer-right a {
  color: #d1d7b3;
  text-decoration: none;
}

.footer-center a:hover,
.footer-right a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 0.82rem;
  color: #6a9a7a;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(176, 197, 158, 0.25);
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 820px) {
  body {
    padding-top: 92px;
  }

  .topbar-inner {
    padding: 10px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .topbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 12px;
    width: 220px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  .topbar-nav.active {
    display: flex;
  }

  .menu-list {
    flex-direction: column;
    width: 100%;
    gap: 2px;
  }

  .menu-list li a {
    color: #333;
    padding: 10px 16px;
  }

  .clinic-text h1 {
    font-size: 1.25rem;
  }

  .banner-inner {
    flex-direction: column;
  }

  .banner-text {
    text-align: left;
  }

  .mission {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .three-column-section {
    flex-direction: column;
    align-items: center;
  }

  .column {
    width: 100%;
    max-width: 440px;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 28px;
  }
}
