 /* ==========================
   THEME VARIABLES
========================== */
:root {
  --lavender: #d9a1ff;
  --deep-purple: #7a3f99;
  --rich-plum: #5a2a83;
  --blush-bg: #fff8f5;
  --text-dark: #403535;
  --text-light: var(--deep-purple);
  --shadow-soft: rgba(122, 63, 153, 0.1);
}

/* ==========================
   GLOBAL RESET
========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================
   BODY & MAIN
========================== */
body {
  font-family: "Georgia", serif;
  background-color: var(--blush-bg);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}

main {
  padding: 1rem 1.5rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column; /* base for pages without sidebars */
}

/* Fix WP specific behavior: avoid extra margins inside content */
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

/* ==========================
   HR & SECTION
========================== */
hr {
  border: none;
  border-top: 1px solid #f0e4f7;
  margin: 3rem 0;
}

main hr:last-of-type {
  display: none;
}

section {
  /*margin-bottom: 3rem;*/
  /*padding-bottom: 2rem;*/
  /*border-bottom: 1px solid #f0e4f7;*/
  animation: fadeUp 0.7s ease both;
}

/* ==========================
   HEADINGS
========================== */
h1, h2, h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--rich-plum);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; border-bottom: 2px solid var(--lavender); padding-bottom: 0.3rem; }
h3 { font-size: 1.4rem; margin-top: 1.5rem; }

/* ==========================
   PARAGRAPHS & TEXT
========================== */
p {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.15px;
  margin-bottom: 1.2rem;
}

strong, b, em, i { color: var(--deep-purple); }

blockquote {
  border-left: 4px solid var(--lavender);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--rich-plum);
}

/* ==========================
   LINKS & NAVIGATION
========================== */
a {
  color: var(--deep-purple);
  text-decoration: underline;
}

a:hover { color: var(--rich-plum); }

nav {
  background-color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-family: sans-serif;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Nav header layout */
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* HAMBURGER button positioning */
.hamburger {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  padding: 0.75rem 1rem;
  border: none;
  font-size: 2rem;
  color: var(--lavender);
  margin: 0;
  background: rgba(230,230,250,0.9);
  border-radius: 16px;
}

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

nav a:hover,
.dropdown:hover .dropbtn {
  font-weight: bold;
  color: var(--rich-plum);
}

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropbtn {
  all: unset;
  display: inline-block;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--deep-purple);
}
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 6px;
  border: 1px solid var(--lavender);
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.dropdown-content .no-events {
  display: block;
  padding-left: 1rem;
  color: var(--lavender);
}
.dropdown-content .all-events-link {
  padding-left: 0.5rem;
}
.dropdown-content strong {
    padding-left: 0.5rem;
}
.dropdown-content hr {
    margin: 0 0;
}
.dropdown-content a {
  color: var(--rich-plum);
  padding-left: 1rem;
  /*padding: 10px 16px;*/
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-content a:hover { background-color: #f3e3fb; color: var(--deep-purple); }
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content { opacity: 1; visibility: visible; }

/* ==========================
   BUTTONS
========================== */
.button, .cta-button {
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  cursor: pointer;
  font-weight: 500;
}

.button.primary, .cta-button {
  background-color: var(--deep-purple);
  color: var(--blush-bg);
  border: none;
}

.button.primary:hover, .cta-button:hover { background-color: var(--rich-plum); }

.button.secondary {
  background-color: transparent;
  border: 2px solid var(--deep-purple);
  color: var(--deep-purple);
}

.button.secondary:hover { background-color: #f3e3fb; }

/* ==========================
   NEWSLETTER & CONTACT
========================== */
.newsletter-box {
  background: #f9efff;
  border: 1px solid #e6c8fa;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin: 2rem 0;
}

.newsletter-box p { margin-bottom: 0.75rem; color: var(--rich-plum); }

.newsletter-box .button { margin-top: 0.5rem; }

.newsletter-form {
  background: var(--blush-bg);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px var(--shadow-soft);
  max-width: 500px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
}

.newsletter-form label,
.newsletter-form input,
.newsletter-form button {
  width: 100%;
  box-sizing: border-box;
}

.newsletter-form label { font-weight: bold; color: var(--text-dark); }
.newsletter-form input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}
.newsletter-form button {
  background-color: var(--deep-purple);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.newsletter-form button:hover { background-color: var(--rich-plum); }

/* Payment sections */
.payment-section,
.payment-box,
.payment { text-align: center; margin-top: 2rem; }
.payment-section p, .payment-box p, .payment p { color: var(--rich-plum); font-weight: 600; font-size: 1.2rem; }
.payment-box img, .payment-section img { width: 160px; border-radius: 12px; box-shadow: 0 4px 12px rgba(90,42,131,0.2); }
.payment-box { background: var(--blush-bg); padding: 1.75rem; border-radius: 1rem; box-shadow: 0 4px 10px var(--shadow-soft); max-width: 500px; margin: 2rem auto; }







/* ==========================
   WORKSHOP PAGE
========================== */
.workshop-page main {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start; /* ensure sidebar doesn't collapse */
}

.workshop-page .sidebar {
  position: fixed;       /* stays in place as you scroll */
  top: 45%;              /* ~slightly above center */
  transform: translateY(-45%); /* move up by 45% of its height to center */
  width: 280px;
  background-color: #f7e9ff;
  border-radius: 0 16px 16px 0;
  box-shadow: 4px 0 10px rgba(90,42,131,0.2);
  text-align: center;
  z-index: 100;          /* above main content */
  left: 2rem;
  padding: 2rem;
}

.workshop-page .sidebar h2 { margin-top: 0; border-bottom: 0; }
.workshop-page .sidebar p { margin-bottom: 2rem; }
.workshop-page .sidebar .cta-text { font-size: 1.2rem; margin-bottom: 1rem; color: var(--rich-plum); }
.workshop-page .sidebar .cta-button {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-radius: 8px;
  background-color: var(--deep-purple);
  color: white;
  cursor: pointer;
  display: inline-block;
}
.workshop-page .sidebar .cta-button:hover { background-color: #502a72; }

/* Main content: centered independently of sidebar */
.workshop-page .main-content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.workshop-page .facilitator-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background-color: #f7e9ff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(90,42,131,0.15);
  margin: 2rem 0;
  max-width: 100%;
}
.workshop-page .facilitator-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.workshop-page .facilitator-text p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--rich-plum);
}
.workshop-page .facilitator-text a {
  font-size: 1.2rem;
  color: var(--deep-purple);
  transition: color 0.3s ease;
}
.workshop-page .facilitator-text a:hover {
  color: #502a72;
  text-decoration: none;
}
.workshop-page .facilitator-section img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(90,42,131,0.25);
  flex-shrink: 0;
}

.workshop-page .workshop-logistics {
  background-color: #f9f4ff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 12px rgba(90,42,131,0.1);
}
.workshop-page .workshop-logistics p {
  margin: 0.75rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
}
.workshop-page .workshop-logistics strong { font-weight: 700; color: var(--rich-plum); }

/* ==========================
   CONTACT PAGE
========================== */
.contact-page .calendly-inline-widget { height: 60vh; max-height: 600px; min-height: 300px; margin: 2rem 0; }
.contact-page footer { margin-top: 0; }
.contact-page ul { display: inline-block; }


/* ==========================
   EVENTS PAGE
========================== */
.events-archive .event-item img {
    width: 50%;
    transform: translateY(15%);
}

.events-archive .event-item {
  margin: 2rem 0;
  margin-top: 0.5rem;
  padding: 1.5rem;
  background-color: #f7e9ff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(90,42,131,0.15);
  max-width: 100%;
}

.events-archive .event-item h2 {
    margin-top: unset;
}

/* ==========================
   ANIMATIONS
========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1024px) {
  .workshop-page main { flex-direction: column; gap: 1.5rem; }
  .workshop-page .sidebar {
    width: 100%;
    box-shadow: none;
    border-radius: 16px;
    position: relative;
    transform: none;
    margin-bottom: 2rem;
    top: auto;
    left: auto;
    z-index: 1;
  }
  }
  .workshop-page .main-content { width: 100%; }
}

@media (max-width: 768px) {
  .workshop-page main { flex-direction: column; }
  .workshop-page .sidebar { width: 100%; box-shadow: none; border-radius: 16px; margin-bottom: 2rem; }
  .workshop-page .main-content { width: 100%; }
}

@media (max-width: 600px) {
    .hamburger { display: block; }
    nav.main-nav {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background-color: var(--lavender);
        top: 2.5rem;
        position: absolute;
        border-radius: 16px;
        padding: 1rem 1.5rem;
        left: 2.5rem;
        z-index: 100;
    }
    nav.open { display: flex; }
    .nav-links { 
        flex-direction: column; 
        gap: 1rem; 
        align-items: flex-start; 
    }
    .dropdown-content { 
        position: static; 
        opacity: 1; 
        visibility: visible; 
        box-shadow: none; 
        border: none; 
        padding-left: 0.5rem; 
        background-color: inherit; 
    }
    header { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        background: transparent; 
        z-index: 1000; 
        pointer-events: none; 
    }
  header * { pointer-events: auto; }
}

@media (max-width: 480px) {
  .workshop-page .sidebar { align-self: center; padding: 1rem; position: relative; }
  .workshop-page .main-content { width: 100%; }
}


/* ==========================
   TEXT SELECTION
========================== */
::selection {
  background-color: var(--lavender);
  color: var(--blush-bg);
}

/* ==========================
   HERO IMAGES
========================== */
.hero-img,
.hero-image {
  width: 100%;
  max-width: 700px;
  border-radius: 16px;
  margin: 1rem auto;
  margin-top: unset;
  display: block;
}

.workshop-page .hero-img {
    width: 50%;
}

/* ==========================
   FOOTER
========================== */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--deep-purple);
}

.site-footer a {
  color: var(--deep-purple);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--rich-plum);
}
