/* ============================================
   B Well Wellness Clinic — Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-green: #59a45c;
  --color-blue: #42c1da;
  --color-dark: #275053;
  --color-teal: #0c787b;
  --color-white: #ffffff;
  --color-cream: #eef5ee;
  --color-grey: #c1c7c3;
  --color-black: #050306;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --transition: 0.3s ease;
}

/* --- Keyframes --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btnGlow {
  0% { box-shadow: 0 0 0 0 rgba(89, 164, 92, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(89, 164, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(89, 164, 92, 0); }
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  line-height: 1.6;
  background-color: var(--color-white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-dark);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-green) 50%, var(--color-blue) 100%);
  background-size: 200% 200%;
  background-position: 50% 50%;
  color: var(--color-white);
  transition: background-position 0.4s ease, transform var(--transition), box-shadow var(--transition);
}

.btn--primary:hover {
  background-position: 0% 50%;
  animation: btnGlow 1.5s ease infinite;
}

.btn--secondary {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn--secondary:hover {
  background-color: #096466;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
}

.btn--outline:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 3px;
  background-color: var(--color-green);
  border-radius: 2px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-grey);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
  text-align: center;
  background-color: var(--color-dark);
  background-image: url('assets/Wellness at B Well Clinic hero.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
  animation: heroEntrance 1s ease 0.2s both;
}

/* ============================================
   ABOUT / MEET DANA
   ============================================ */
.about {
  padding: var(--section-padding);
  background-color: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--color-grey);
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text p {
  line-height: 1.8;
}

.about-text .title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}

.about-text .specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.about-text .specialties span {
  background-color: var(--color-white);
  border: 1px solid var(--color-grey);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text .specialties span:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-padding);
  background-color: var(--color-white);
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header .section-label {
  justify-content: center;
}

.services-header h2 {
  margin-bottom: 0.75rem;
}

.services-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-green);
}

.service-card-image {
  width: 100%;
  height: 220px;
  background-color: var(--color-grey);
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.service-card-body h3 {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.service-card-body p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-body .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  align-self: flex-start;
}

/* ============================================
   BOOKING CTA BAND
   ============================================ */
.cta-band {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-green) 100%);
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-padding);
  background-color: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.contact-detail svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-teal);
  margin-top: 2px;
}

.contact-detail a:hover {
  color: var(--color-green);
}

.contact-map {
  width: 100%;
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
}

.contact-maps {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-maps a {
  font-weight: 600;
  color: var(--color-teal);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.contact-maps a:hover {
  color: var(--color-green);
  border-bottom-color: var(--color-green);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 1.5rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 65px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--color-green);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}

.footer-info {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-info a:hover {
  color: var(--color-green);
}

/* ============================================
   RESPONSIVE — Tablet (< 900px)
   ============================================ */
@media (max-width: 900px) {
  .hero {
    background-image: url('assets/B Well Wellness Clinic logo design.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-cream);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 450px;
    margin: 0 auto;
  }

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

/* ============================================
   RESPONSIVE — Mobile (< 768px)
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero { min-height: 70vh; }

  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-white);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-grey);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

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

  .nav-toggle {
    display: flex;
  }

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

  .contact-info {
    padding: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}