/* ==========================================================================
   אספן ההצלחות — חני זמיר | hani-zamir.com
   Static rebuild of the original WordPress (Hello Elementor + Elementor) site.
   Pure CSS, no framework.
   ========================================================================== */

:root {
  --color-link: #cc3366;          /* site title + nav links (Hello theme default) */
  --color-heading: #333333;       /* page titles */
  --color-text: #585858;          /* body text (Elementor kit) */
  --color-accent: #61ce70;        /* green buttons */
  --color-buy: #6e9ce4;           /* purchase button */
  --color-instagram: #e74cd8;
  --color-facebook: #4c52e7;
  --color-contact-btn: #9d9bf2;
  --color-heading-alt: #6e92e4;   /* "תמונות מהספר" heading */
  --content-width: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Roboto, Heebo, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #29e2f2;
  background-image: radial-gradient(at top center, rgba(209, 227, 79, 0.84) 11%, #29e2f2 83%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

figure { margin: 0; }

a { color: var(--color-link); }

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  right: 8px;
  background: #fff;
  color: var(--color-heading);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { padding: 1em; position: relative; }

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.site-title {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
}
.site-title a { color: var(--color-link); text-decoration: none; }

.site-description {
  margin: 0;
  font-size: 0.95em;
  color: var(--color-heading);
}

.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 2em;
}
.site-navigation a {
  color: var(--color-link);
  text-decoration: none;
  font-size: 0.95em;
}
.site-navigation a:hover,
.site-navigation a:focus { text-decoration: underline; }

/* Mobile menu toggle (hamburger) */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--color-link);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-navigation { display: none; }

@media (max-width: 1024px) {
  .site-navigation { display: none; }
  .menu-toggle { display: block; }
  .mobile-navigation[data-open] {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 100;
  }
  .mobile-navigation ul { list-style: none; margin: 0; padding: 0.5em 0; }
  .mobile-navigation a {
    display: block;
    padding: 0.75em 1.5em;
    color: var(--color-link);
    text-decoration: none;
    text-align: center;
  }
  .mobile-navigation a:hover,
  .mobile-navigation a:focus { background: #f5f5f5; }
}

/* --------------------------------------------------------------------------
   Main content
   -------------------------------------------------------------------------- */
.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 15px 40px;
}

.page-header .entry-title {
  margin: 0.5em 0;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-heading);
}

.section { padding: 10px 0; }

h2, h3, h4 { color: inherit; }

/* --------------------------------------------------------------------------
   Home page
   -------------------------------------------------------------------------- */
.intro-section { text-align: center; border-radius: 12px; }

.book-cover-figure img { width: 691px; }

.book-quote {
  margin: 20px auto 0;
  font-family: Heebo, Roboto, Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.spacer-28 { height: 28px; }
.spacer-100 { height: 100px; }

.book-desc {
  margin: 1em auto;
  font-size: 1.125em;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text);
}

.carousel-heading {
  margin: 0 0 20px;
  font-size: 1.6em;
  font-weight: 600;
  color: var(--color-heading-alt);
}

/* Carousel (fade effect, like the original Elementor image carousel) */
.carousel { position: relative; }

.carousel-track { position: relative; }

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.carousel-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.carousel-slide img { display: block; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: rgba(238, 238, 238, 0.9);
  line-height: 0;
}
.carousel-arrow:hover, .carousel-arrow:focus { color: #ffffff; }
.carousel-arrow svg { width: 28px; height: 28px; fill: currentColor; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
}
.carousel-dots button[aria-current="true"] { background: rgba(0, 0, 0, 0.65); }

/* --------------------------------------------------------------------------
   Buttons (Elementor-style)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 40px;
  border-radius: 3px;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease, filter 0.2s ease;
}
.btn:hover, .btn:focus { color: #020101; }

.btn .icon { width: 1.25em; height: 1.25em; fill: currentColor; flex-shrink: 0; }

.btn-pill { border-radius: 50px; }

.btn-buy {
  background-color: var(--color-buy);
  box-shadow: 5px 5px 8px 2px rgba(0, 0, 0, 0.5);
  margin: 20px;
}

.btn-instagram { background-color: var(--color-instagram); }
.btn-facebook { background-color: var(--color-facebook); }
.btn-contact-form { background-color: var(--color-contact-btn); }

.center { text-align: center; }

/* Social buttons row (home) */
.social-cols {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.social-cols .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Contact page buttons */
.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 60px;
}

/* --------------------------------------------------------------------------
   Sessions (המלצות) page
   -------------------------------------------------------------------------- */
.testimonial-cols {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  margin-bottom: 2em;
}
.testimonial-cols .col { flex: 1; display: flex; flex-direction: column; gap: 1em; align-items: center; }

/* --------------------------------------------------------------------------
   Blog archive + posts
   -------------------------------------------------------------------------- */
.post {
  margin-bottom: 2.5em;
}
.post .entry-title {
  margin: 0 0 0.4em;
  font-size: 1.75em;
  line-height: 1.3;
  color: var(--color-heading);
}
.post .entry-title a { color: var(--color-link); text-decoration: none; }
.post .entry-title a:hover, .post .entry-title a:focus { text-decoration: underline; }
.post p { margin: 0; }

.post-content figure { margin: 0 0 1.5em; }
.post-content p { margin: 0 0 1em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 1em; margin-top: 2em; }

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}

.footer-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 2em;
}
.footer-navigation a { color: var(--color-link); text-decoration: none; font-size: 0.95em; }
.footer-navigation a:hover, .footer-navigation a:focus { text-decoration: underline; }

.copyright p { margin: 0; font-size: 0.95em; color: var(--color-heading); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .page-header .entry-title { font-size: 1.9em; }
  .site-title { font-size: 1.6em; }
  .social-cols { flex-direction: column; align-items: stretch; }
  .social-cols .col { width: 100%; }
  .testimonial-cols { flex-direction: column; align-items: center; }
  .btn { padding: 16px 28px; }
  .btn-buy { margin: 10px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .book-quote { font-size: 19px; }
}
