/* ============================================
   Rebeca's OT Website -- Shared Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --sage: #A8B5A2;
  --sage-light: #c2ccbd;
  --blush: #E8D5CC;
  --cream: #FAF7F2;
  --rose: #C9A9A6;
  --charcoal: #3D3D3D;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--charcoal);
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--rose); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Placeholder Images ---------- */
.placeholder-img {
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  padding: 1rem;
  min-height: 260px;
  background: linear-gradient(135deg, var(--blush), var(--sage));
}

.placeholder-img--rose {
  background: linear-gradient(135deg, var(--rose), var(--blush));
}

.placeholder-img--sage {
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background-color: var(--sage);
  color: var(--white);
}

.btn--primary:hover {
  background-color: #96a68f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--secondary {
  background-color: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}

.btn--secondary:hover {
  background-color: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.navbar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--charcoal);
  font-weight: 700;
}

.navbar__logo:hover { color: var(--sage); }

.navbar__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar__links a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage);
  transition: width var(--transition);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links a:hover { color: var(--sage); }
.navbar__links a.active { color: var(--sage); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 50%, var(--sage-light) 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  flex: 1;
}

.hero__content h1 {
  margin-bottom: 1.2rem;
  font-size: 2.8rem;
}

.hero__content p {
  font-size: 1.15rem;
  color: #5a5a5a;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__image {
  flex: 1;
}

.hero__image .placeholder-img {
  min-height: 360px;
}

/* ---------- Section Defaults ---------- */
.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--white);
}

.section__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section__heading p {
  max-width: 600px;
  margin: 0.8rem auto 0;
  color: #6b6b6b;
}

/* ---------- Service Cards (Home) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: var(--blush);
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.92rem;
  color: #6b6b6b;
  margin-bottom: 1.2rem;
}

.card a {
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Delivery Badges ---------- */
.delivery-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.badge__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: var(--shadow);
}

.badge span:last-child {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Small inline badges for services page */
.delivery-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.delivery-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background-color: var(--blush);
  color: var(--charcoal);
}

/* ---------- Blurb / How I Can Help ---------- */
.blurb {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.blurb p {
  font-size: 1.1rem;
  color: #5a5a5a;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.testimonial {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.section--alt .testimonial {
  background-color: var(--white);
}

.testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--sage);
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
  opacity: 0.4;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rose);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-banner .btn--primary {
  background-color: var(--white);
  color: var(--sage);
}

.cta-banner .btn--primary:hover {
  background-color: var(--cream);
  color: var(--sage);
}

/* ---------- About Page ---------- */
.about-intro {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-intro__image {
  flex: 0 0 320px;
}

.about-intro__image .placeholder-img {
  min-height: 380px;
}

.about-intro__text {
  flex: 1;
}

.about-intro__text h1 {
  margin-bottom: 1.2rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.philosophy-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.philosophy-card .emoji {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.credentials-list {
  max-width: 650px;
  margin: 0 auto;
}

.credentials-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #e6e2dc;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
}

.credentials-list li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--sage);
  color: var(--white);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- Services Page ---------- */
.service-block {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.service-block--reverse {
  flex-direction: row-reverse;
}

.service-block__image {
  flex: 0 0 340px;
}

.service-block__image .placeholder-img {
  min-height: 260px;
}

.service-block__content {
  flex: 1;
}

.service-block__content h2 {
  margin-bottom: 1rem;
}

.service-block__content h4 {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--rose);
}

.service-block + .service-block {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid #e6e2dc;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d5d0ca;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  background-color: var(--white);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(168, 181, 162, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail div p {
  margin-bottom: 0.1rem;
}

.contact-detail div p:first-child {
  font-weight: 700;
}

.service-area {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e2dc;
}

.service-area h4 {
  margin-bottom: 0.6rem;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--charcoal);
  color: #c9c9c9;
  padding: 3.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer__about p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links a {
  display: block;
  color: #c9c9c9;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer__links a:hover {
  color: var(--sage-light);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #c9c9c9;
  margin-right: 0.5rem;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background-color: var(--sage);
  color: var(--white);
}

.footer__bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--blush), var(--cream));
  padding: 3.5rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #6b6b6b;
  max-width: 550px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-intro {
    flex-direction: column;
  }

  .about-intro__image {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .service-block,
  .service-block--reverse {
    flex-direction: column;
  }

  .service-block__image {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 3rem 0; }
  .hero__content h1 { font-size: 2.2rem; }

  .section { padding: 3.5rem 0; }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .navbar__links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .delivery-row {
    gap: 1.5rem;
  }

  .hero__content h1 {
    font-size: 1.8rem;
  }
}
