:root {
  --color-primary: #003366;
  --color-primary-dark: #002147;
  --color-accent: #D4A017;
  --color-coral: #FF6A6A;
  --color-bg: #ffffff;
  --color-bg-alt: #FAF3E0;
  --color-text: #2b2b2b;
  --color-text-muted: #5f5f5f;
  --color-border: #e8d9b0;

  --font-base: 'Lato', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

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

a:hover {
  text-decoration: underline;
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-bar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 1.5em;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4em;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}

.nav-links a.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-coral);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6em;
  cursor: pointer;
  color: var(--color-primary);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1em 1.5em;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

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

/* ---------- Hero ---------- */
.hero {
  background: var(--color-bg-alt);
  padding: 5em 1.5em;
  text-align: center;
}

.hero h1 {
  font-size: 2.6em;
  margin: 0 0 0.5em;
  color: var(--color-primary);
}

.hero p {
  font-size: 1.15em;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 1.5em;
  line-height: 1.7;
  font-style: italic;
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.8em 2em;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.03em;
}

.btn:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

/* ---------- Page sections (full-width bands) ---------- */
.page-section {
  padding: 4.5em 0;
}

.page-section--alt {
  background: var(--color-bg-alt);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5em;
}

.section-inner h2 {
  color: var(--color-primary);
  margin-top: 0;
  font-size: 1.9em;
}

.placeholder-note {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 1em 1.25em;
  color: var(--color-text-muted);
  font-size: 0.95em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.card {
  border-radius: 10px;
  padding: 2em;
  background: var(--color-bg);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}

.page-section--alt .card {
  background: #fff;
}

.card h3 {
  margin-top: 0;
  color: var(--color-primary);
  font-size: 1.2em;
}

/* ---------- Service cards ---------- */
.service-card {
  border-top: 3px solid var(--color-accent);
}

.service-copy {
  margin: 0.75em 0 0;
  font-size: 0.98em;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ---------- Contact split ---------- */
.contact-split {
  display: flex;
  gap: 4em;
  align-items: flex-start;
}

.contact-details {
  flex: 0 0 260px;
}

.contact-details h2 {
  color: var(--color-primary);
  margin-top: 0;
  font-size: 1.9em;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.85em;
  font-size: 1em;
}

.contact-detail-item a {
  color: var(--color-text);
  font-weight: 600;
}

.contact-detail-item a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-form {
  flex: 1;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.88em;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.2em;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

@media (max-width: 720px) {
  .contact-split {
    flex-direction: column;
    gap: 2.5em;
  }

  .contact-details {
    flex: none;
    width: 100%;
  }
}

/* ---------- Events / Courses ---------- */
.featured-event {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.featured-event h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.featured-event .event-meta {
  margin-bottom: 1.5em;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5em;
  margin-top: 2em;
}

.event-card {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--color-accent);
  padding-top: 1.25em;
  transition: border-top-color 0.2s;
}

.event-img-placeholder {
  background: var(--color-bg-alt);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin-bottom: 1em;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1em;
  display: block;
}

.event-card img.img--contain {
  object-fit: contain;
  background: #fff;
}

.event-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1em;
  color: var(--color-primary);
  margin: 0 0 0.4em;
}

.event-meta {
  font-size: 0.9em;
  color: var(--color-text-muted);
  margin: 0 0 0.75em;
}

.event-link {
  font-weight: 700;
  font-size: 0.9em;
  color: var(--color-coral);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
}

.event-card a img {
  transition: opacity 0.2s;
}

.event-card a:hover img {
  opacity: 0.8;
}

/* ---------- Testimonials ---------- */
.testimonial-attribution {
  margin-top: 1.4em;
}

.testimonial-name {
  margin: 0 0 0.15em;
  font-family: var(--font-heading);
  font-size: 1.3em;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-role {
  margin: 0;
  font-size: 0.9em;
  color: var(--color-text-muted);
  font-style: italic;
}


/* ---------- Bio text ---------- */
.bio-text p {
  font-size: 1.05em;
  line-height: 1.85;
  margin: 0 0 1.2em;
  color: var(--color-text);
}

.bio-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 500px;
}

.contact-form label {
  font-weight: 700;
  margin-bottom: 0.3em;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7em;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary);
  border-top: none;
  text-align: center;
  padding: 2.5em 1.5em;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9em;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5em;
  margin-bottom: 1.25em;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin: -12px 0;
}

.footer-social svg {
  width: 34px;
  height: 34px;
  fill: rgba(255, 255, 255, 0.75);
  display: block;
  transition: fill 0.2s;
}

.footer-social:hover svg {
  fill: #fff;
}

.footer-copy {
  margin: 0;
}

/* ---------- Photo layouts ---------- */

/* Home hero: text left, portrait right */
.hero-split {
  display: flex;
  align-items: center;
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.hero-split .hero-content {
  flex: 1;
}

.hero-split .hero-photo img {
  width: 380px;
  height: 480px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}

/* Home about section: image left, text right */
.about-split {
  display: flex;
  align-items: center;
  gap: 2.5em;
}

.about-home-photo {
  width: 300px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

/* About page: story section — photo floats right, text wraps */
.story-wrap::after {
  content: '';
  display: table;
  clear: both;
}

.story-photo {
  float: right;
  width: 320px;
  border-radius: 10px;
  margin: 0 0 1.5em 2.5em;
  object-fit: cover;
}

/* About page: Meet the Team */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1em;
}

.team-card:not(:last-child) {
  padding-bottom: 3em;
  margin-bottom: 3em;
  border-bottom: 1px solid var(--color-border);
}

.team-card {
  display: flex;
  align-items: center;
  gap: 2.5em;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 4px solid var(--color-accent);
}

.team-info h3 {
  margin: 0 0 0.2em;
  font-size: 1.5em;
  color: var(--color-primary);
}

.team-credentials {
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-coral);
  text-transform: uppercase;
  margin: 0 0 0.3em;
}

.team-title {
  font-size: 0.95em;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0 0 1.2em;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 0.65em 1.5em;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.team-email {
  display: block;
  margin-top: 0.6em;
  font-size: 0.88em;
  color: var(--color-text-muted);
}

.team-email:hover {
  color: var(--color-primary);
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero-split,
  .about-split,
  .team-card {
    flex-direction: column;
  }

  .team-card {
    text-align: center;
  }

  .hero-split {
    text-align: center;
  }

  .hero-split .hero-photo img,
  .about-home-photo,
  .story-photo {
    width: 100%;
    height: auto;
    float: none;
    margin: 0 0 1.5em;
  }

  .owner-headshot {
    width: 200px;
    height: 200px;
  }
}

/* ---------- Smooth scroll ---------- */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ---------- Coral button ---------- */
.btn--coral {
  background: var(--color-coral);
}

.btn--coral:hover {
  background: #e55a5a;
}

/* ---------- Testimonial card coral accent ---------- */
.card--testimonial {
  border-left: 4px solid var(--color-coral);
}

/* ---------- Service card hover ---------- */
.service-card {
  transition: border-top-color 0.2s;
}

.service-card:hover {
  border-top-color: var(--color-coral);
}

/* ---------- Event card hover ---------- */
.event-card:hover {
  border-top-color: var(--color-coral);
}

/* ---------- Section heading coral accent ---------- */
.section-inner h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-coral);
  margin-top: 0.5em;
  border-radius: 2px;
}

/* ---------- Card SVG icon ---------- */
.card-icon {
  display: block;
  width: 44px;
  height: 44px;
  fill: var(--color-primary);
  margin-bottom: 0.75em;
}

/* ---------- Testimonial decorative quote mark ---------- */
.card--testimonial::before {
  content: '\201C';
  display: block;
  font-family: var(--font-heading);
  font-size: 4.5em;
  color: var(--color-coral);
  line-height: 1;
  margin-bottom: -0.2em;
  opacity: 0.45;
}

/* ---------- Contact detail emoji icons ---------- */
.contact-detail-item span {
  font-size: 1.4em;
  line-height: 1;
}

/* ---------- Section subtitle and subheading ---------- */
.section-subtitle {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 1.05em;
  margin: 0.25em 0 2em;
}

.section-subheading {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.5em;
  margin: 2.5em 0 1.25em;
}
