/*
Theme Name: Nora One Page
Theme URI: https://example.com
Author: Custom
Description: Single-page responsive theme for Nora — intro, services (Energy Balancing, Fitness Coaching, Nutrition Help), testimonials, Calendly booking, social links, contact form. No blog.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nora-onepage
*/

/* ==========================================================================
   Base / reset
   ========================================================================== */

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2d2d2d;
  background: #f0f4f2;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Theme colors: sage/teal accent #5b9a8b, accent hover #4a8576, cream #faf9f7, light sage #f0f4f2, body text #2d2d2d / #3d3d3d, muted #5c5c5c, footer #4a6b62. Section backgrounds alternate for contrast. */

/* ==========================================================================
   Layout - mobile first
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #4a6b62;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 1rem;
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e8ecea;
}

/* Hamburger: visible on mobile only */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #e8ecea;
  border-radius: 4px;
  transition: background 0.2s;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav: collapsed on mobile, toggled by JS */
.site-nav {
  width: 100%;
}
.site-nav .nav-anchors {
  display: none;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.site-nav.is-open .nav-anchors {
  display: flex;
}
.site-nav .nav-anchors a {
  display: block;
  font-size: 1rem;
  padding: 0.75rem 0.5rem;
  color: #e8ecea;
  border-radius: 4px;
  transition: background 0.2s;
}
.site-nav .nav-anchors a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-anchors {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-anchors a {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-anchors a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Sections common */
section {
  padding: 2.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: #2d2d2d;
}

/* Hero */
#hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #e2ebe7;
}

#hero .site-title-hero {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d2d2d;
}

#hero .hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #4a554f;
}

#hero .btn-book {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #5b9a8b;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

#hero .btn-book:hover {
  background: #4a8576;
}

/* About */
#about {
  background: #faf9f7;
}

#about p {
  margin: 0;
  max-width: 60ch;
  color: #2d2d2d;
}

/* Services */
#services {
  background: #e8f0ec;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#services .service h3 {
  color: #2d2d2d;
}

.service-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eef1f0;
}

.service-content {
  padding: 1.25rem;
}

.service h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

#services .service p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a554f;
}

/* Testimonials */
#testimonials {
  background: #f5f0ed;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #5b9a8b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonial blockquote {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-style: italic;
  color: #2d2d2d;
}

.testimonial .attribution {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d2d2d;
}

.testimonial .location {
  font-size: 0.85rem;
  color: #5c5c5c;
}

/* Book now CTA */
#book-now {
  text-align: center;
  background: #d4e2de;
}

#book-now h2 {
  color: #2d2d2d;
}

#book-now .btn-book {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #5b9a8b;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

#book-now .btn-book:hover {
  background: #4a8576;
}

/* Social */
#social {
  text-align: center;
  padding: 2rem 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef1f0;
  color: #5b9a8b;
  transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: #e0e5e2;
  transform: scale(1.05);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer */
.site-footer {
  padding: 2rem 1rem;
  background: #4a6b62;
  color: #e8ecea;
  text-align: center;
}

.site-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .contact-form-area {
  margin-bottom: 1.5rem;
}

.site-footer .contact-form-area label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #e8ecea;
}

.site-footer .copyright {
  font-size: 0.85rem;
  margin: 0;
  color: #b8c4be;
}

/* ==========================================================================
   Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    width: auto;
  }

  .site-nav .nav-anchors,
  .site-nav.is-open .nav-anchors {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0;
    border-top: 0;
  }

  .site-nav .nav-anchors a {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
  }

  .site-title {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  #hero {
    padding: 4rem 1.5rem;
  }

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

  .testimonials-list {
    gap: 2.5rem;
  }
}

/* ==========================================================================
   Desktop (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {
  .site-header .inner {
    padding: 0 1rem;
  }

  section {
    padding: 4rem 2rem;
  }

  section h2 {
    font-size: 2rem;
  }

  #hero {
    padding: 5rem 2rem;
  }

  #hero .site-title-hero {
    font-size: 2.25rem;
  }

  #hero .hero-tagline {
    font-size: 1.25rem;
  }

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

  .testimonials-list {
    flex-direction: row;
    gap: 2rem;
  }

  .testimonial {
    flex: 1;
  }
}
