/* carmelbaran.co.il — static rebuild
   Design tokens taken from the live WordPress site (Best Minimalist theme). */

:root {
  --pink: #f60066;
  --pink-dark: #d4005a;
  --text: #404040;
  --muted: #8a8a8a;
  --bg: #f7f7f7;
  --white: #ffffff;
  --line: #e6e6e6;
  --wrap: 1200px;
  --font: "Assistant", "Heebo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font); line-height: 1.25; margin: 0 0 .6em; color: var(--text); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; top: -60px; right: 10px; background: var(--white); color: var(--pink);
  padding: 10px 16px; z-index: 200; font-weight: 700;
}
.skip-link:focus { top: 10px; }

:focus-visible { outline: 3px solid #ffb3d1; outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { background: var(--pink); color: #fff; position: relative; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.site-title { font-size: 24px; font-weight: 700; color: #fff; margin: 0; padding: 0 0 0 107px; line-height: 60px; }
.site-title a { color: #fff; }
.site-title a:hover { text-decoration: none; }

.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.main-nav a {
  display: block; padding: 0 20px; line-height: 60px; color: #fff; font-size: 16px; position: relative;
}
.main-nav a:hover { text-decoration: none; opacity: .85; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; right: 20px; left: 20px; bottom: 13px; height: 1px; background: #fff;
}

.menu-toggle {
  display: none; background: none; border: 0; color: #fff; font-size: 28px; line-height: 1;
  padding: 10px; cursor: pointer; font-family: var(--font);
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); }
.hero .container { display: flex; align-items: flex-start; gap: 0; }
.hero-img { flex: 0 0 456px; }
.hero-img img { margin-top: 35px; width: 463px; max-width: none; }
.hero-text { flex: 1; padding-top: 44px; min-width: 0; }
.hero-name { font-size: 35.2px; font-weight: 500; color: var(--pink); margin: 0; line-height: 1.5; }
.hero-sub { font-size: 20.8px; margin: 2px 0 0; }
.hero-sub b { font-weight: 700; }
.divider { width: 60px; height: 2px; background: var(--pink); margin: 40px 0; }
.divider.center { margin-left: auto; margin-right: auto; }
.hero-lead { font-size: 32px; font-weight: 200; line-height: 46px; margin: 0; }
.hero-lead b { font-weight: 400; }
.hero-lead { margin-bottom: 55px; }
.hero-belief { font-size: 22px; font-weight: 300; color: rgba(0,0,0,.75); margin: 45px 0 55px; }
.hero-belief b { color: var(--pink); font-weight: 700; }

.btn {
  display: inline-block; background: var(--pink); color: #fff; font-weight: 700; font-size: 16px;
  padding: 23px 31px; text-align: center; border: 0; cursor: pointer; font-family: var(--font);
  transition: background .2s; border-radius: 10px;
}
.btn:hover { background: var(--pink-dark); text-decoration: none; color: #fff; }
.btn-hero { width: auto; max-width: 100%; white-space: nowrap; }
.btn-sm { padding: 12px 22px; font-size: 15px; }

/* ---------- Features ---------- */
.features { background: var(--white); padding-top: 60px; }
.features h2 { font-size: 54.4px; font-weight: 200; text-align: center; margin: 0; line-height: 82px; }
.features .divider { margin-top: 24px; margin-bottom: 30px; }
.features-grid { direction: ltr; display: flex; justify-content: center; max-width: 1200px; margin: 0 auto; }
.feature { width: 300px; padding: 40px; text-align: center; direction: rtl; }
.feature:nth-child(even) { margin-top: 50px; }
.feature img { width: 78px; height: 78px; margin: 0 auto 8px; }
.feature p { margin: 0; font-size: 16px; line-height: 24px; }
.wave { display: block; width: 100%; height: auto; margin-top: -10px; }

.notice { border-top: 1px solid var(--line); background: var(--white); padding: 50px 20px 30px; text-align: center; }
.notice h3 { color: var(--pink); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.notice p { color: #9a9a9a; max-width: 780px; margin: 0 auto 16px; line-height: 32px; }
.notice .notice-cta { margin-top: 30px; margin-bottom: 20px; } .notice .btn { color: #fff; line-height: 1.4; padding: 18px 26px; font-size: 15px; }

/* ---------- Page layout ---------- */
.page-title { font-size: 44px; font-weight: 300; text-align: center; margin: 56px 0 8px; }
.lead-line { text-align: center; color: var(--muted); margin-bottom: 36px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; padding: 30px 0 80px; }
.card { background: var(--white); display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card-img { aspect-ratio: 391 / 250; overflow: hidden; background: #ececec; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; }
.card h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.card h2 a { color: var(--text); }
.card h2 a:hover { color: var(--pink); text-decoration: none; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.meta a { color: var(--muted); }
.excerpt { font-size: 16px; margin: 0; color: #555; }

/* ---------- Single post ---------- */
.post { max-width: 780px; margin: 0 auto; padding: 56px 20px 40px; }
.post h1 { font-size: 40px; font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.post .meta { margin-bottom: 36px; font-size: 15px; }
.post-body { font-size: 19px; line-height: 1.95; }
.post-body p { margin-bottom: 1.3em; }
.post-body h2 { font-size: 22px; font-weight: 700; margin: 1.8em 0 .3em; }
.post-body h2 a { color: var(--pink); text-decoration: none; }
.post-body h2 a:hover { text-decoration: underline; }
.post-body h2 { line-height: 1.4; text-wrap: balance; }
.post-body p { text-wrap: pretty; }
.post-body strong { font-weight: 700; color: #2f2f2f; }
.nw { white-space: nowrap; }
.post-body .more-title { font-size: 28px; line-height: 1.3; margin: 2em 0 .2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.post-body .more-title strong { color: #2f2f2f; }
.post-body a { text-decoration: underline; }
.post-body .sub { margin: -.2em 0 1.2em; color: #555; }
.post-foot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.chip { display: inline-block; background: var(--pink); color: #fff; padding: 4px 14px; font-size: 14px; }

/* ---------- Workshops ---------- */
.ws-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 10px 0 40px; }
.ws-nav span { font-weight: 700; margin-left: 8px; }
.ws-nav a { border-radius: 8px; border: 1px solid var(--pink); padding: 6px 16px; color: var(--pink); background: var(--white); }
.ws-nav a:hover { background: var(--pink); color: #fff; text-decoration: none; }
.workshop { display: flex; flex-direction: row-reverse; gap: 40px; align-items: center; padding: 34px 0; scroll-margin-top: 20px; }
.workshop:nth-of-type(even) { flex-direction: row; }
.workshop .ws-img { flex: 0 0 48%; border: 2px solid var(--pink); }
.workshop .ws-img img { width: 100%; }
.workshop .ws-text { flex: 1; }
.ws-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--pink); padding-bottom: 12px; margin-bottom: 18px; }
.workshop h2 { font-size: 24px; font-weight: 700; color: var(--pink); margin: 0; }
.workshop p { font-size: 18px; line-height: 1.7; color: #555; }
.workshops-end { padding-bottom: 80px; }

/* ---------- Press ---------- */
.press h1 { color: #111; }
.press h2 { color: var(--pink); font-size: 26px; font-weight: 700; }
.press .section-title { text-align: center; font-size: 30px; margin: 20px 0 30px; }
.press h3 { font-size: 20px; font-weight: 700; margin: 40px 0 14px; text-decoration: underline; }
.press-block { max-width: 900px; margin: 0 auto; }
.press ul { padding: 0 24px 0 0; }
.press li { margin-bottom: 10px; line-height: 1.7; }
.press li b { color: var(--pink); }
.press-media { display: flex; gap: 40px; align-items: flex-start; margin: 20px 0 10px; }
.press-media img { width: 300px; border: 1px solid var(--line); }
.press-media .txt { flex: 1; font-size: 22px; line-height: 1.6; }
.press-img { margin: 22px auto; max-width: 700px; }
.press-img img { width: 100%; border: 1px solid var(--line); }
.venues { color: #555; line-height: 1.9; }

.slider { position: relative; max-width: 900px; margin: 10px auto 40px; background: #000; overflow: hidden; }
.slides { display: flex; direction: ltr; transition: transform .5s ease; }
.slide { flex: 0 0 100%; aspect-ratio: 16 / 7; position: relative; display: block; }
.slide .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 56px 22px; direction: rtl; text-align: center; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.slide .play { position: absolute; top: 50%; left: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; background: #f00; border-radius: 14px; opacity: .92; }
.slide .play::after { content: ""; position: absolute; top: 15px; left: 31px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt-more { text-align: center; margin: -10px 0 40px; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider button {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(246,0,102,.9); color: #fff; border: 0;
  width: 44px; height: 44px; font-size: 22px; cursor: pointer; border-radius: 10px; font-family: var(--font);
}
.slider .prev { left: 10px; } .slider .next { right: 10px; }
.slider .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.slider .dots span.on { background: var(--pink); }

/* ---------- Contact ---------- */
.contact-hero { text-align: center; padding: 60px 20px 0; }
.contact-hero h1 { font-size: 68px; font-weight: 700; color: var(--pink); margin: 0 0 40px; line-height: 1.15; }
.contact-hero p { font-size: 19px; font-weight: 600; max-width: 960px; margin: 0 auto 50px; }
.form { max-width: 960px; margin: 0 auto; padding: 0 20px 20px; }
.form .row { display: flex; gap: 40px; flex-wrap: wrap; }
.form .row > * { flex: 1 1 200px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--font); font-size: 17px; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid #cfcfcf; padding: 16px 4px; margin-bottom: 8px; border-radius: 0;
}
.form select { border-bottom: 1px solid #cfcfcf; appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5'/></svg>") no-repeat left 6px center; padding-left: 28px; }
.form textarea { border: 1px solid #cfcfcf; min-height: 230px; padding: 18px; margin-top: 18px; background: var(--white); resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pink); }
.form input[type="tel"], .form input[type="email"] { direction: rtl; text-align: right; }
.form .submit-row { text-align: center; margin: 26px 0 10px; }
.form-note { font-size: 14px; color: var(--muted); text-align: center; }
.form-status { text-align: center; font-weight: 700; color: var(--pink); min-height: 1.5em; }
.connect { text-align: center; padding: 30px 20px 90px; }
.connect h2 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.connect ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.connect a { border-radius: 8px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--pink); padding: 8px 22px; color: var(--pink); background: var(--white); }
.connect a:hover { background: var(--pink); color: #fff; text-decoration: none; }

/* ---------- Footer & floating buttons ---------- */
.site-footer { background: var(--bg); text-align: center; color: var(--muted); font-size: 14px; padding: 34px 20px; border-top: 1px solid var(--line); }
.fab { position: fixed; right: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.fab:hover { transform: scale(1.08); text-decoration: none; }
.fab svg { width: 34px; height: 34px; }
.fab-wa { bottom: 20px; background: #25d366; }
.fab-ms { bottom: 20px; background: #0084ff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-img { flex-basis: 380px; }
  .hero-img img { width: 100%; max-width: 100%; }
  .hero-lead { font-size: 28px; line-height: 40px; }
  .features h2 { font-size: 44px; line-height: 60px; }
  .features-grid { flex-wrap: wrap; }
  .feature { width: 50%; }
  .feature:nth-child(even) { margin-top: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .site-header .container { flex-wrap: wrap; }
  .site-title { padding: 0; }
  .menu-toggle { display: block; }
  .main-nav { flex-basis: 100%; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; border-top: 1px solid rgba(255,255,255,.3); }
  .main-nav a { line-height: 48px; padding: 0 4px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { font-weight: 700; }

  /* Mobile hero: text on the right, photo beside it on the left, button full width below */
  .hero .container { display: grid; grid-template-columns: 42% 1fr; grid-template-areas: "name name" "sub sub" "div div" "img lead" "btn btn"; column-gap: 8px; align-items: start; padding-top: 22px; }
  .hero-text { display: contents; }
  .hero-img { grid-area: img; align-self: end; width: 100%; max-width: none; flex: none; }
  .hero-img img { width: 100%; margin-top: 0; display: block; }
  .hero-name { grid-area: name; font-size: 30px; line-height: 1.2; }
  .hero-sub { grid-area: sub; font-size: 19px; line-height: 1.45; }
  .hero .divider { grid-area: div; margin: 22px 0 26px; }
  .hero-lead { grid-area: lead; font-size: 20px; line-height: 40px; font-weight: 300; margin: 0 0 18px; align-self: center; }
  .hero-lead b { font-weight: 600; }
  .hero-belief { grid-area: belief; font-size: 16px; line-height: 23px; margin: 14px 0 18px; }
  .btn-hero { grid-area: btn; width: 100%; padding: 16px 14px; font-size: 15px; white-space: normal; margin-bottom: 22px; }
  .hero-sub b { display: inline-block; }
  .hero-sub, .hero-lead, .hero-belief, .btn-hero { text-wrap: balance; }
  .divider { margin: 28px 0; }

  .features { padding-top: 26px; }
  .features h2 { font-size: 34px; line-height: 44px; }
  .features .divider { margin-top: 14px; margin-bottom: 8px; }
  .feature { width: 100%; padding: 24px 20px; }

  .page-title { font-size: 34px; margin-top: 36px; }
  .ws-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; margin: 18px 0 16px; }
  .ws-nav span { grid-column: 1 / -1; text-align: center; margin: 0 0 4px; font-size: 17px; }
  .ws-nav a { display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 8px; min-height: 54px; font-size: 15px; line-height: 1.3; text-wrap: balance; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .post h1 { font-size: 30px; }
  .post-body { font-size: 18px; line-height: 1.85; }
  .post-body h2 { font-size: 20px; margin-top: 1.9em; }
  .post-body .more-title { font-size: 24px; }
  .workshop, .workshop:nth-of-type(even) { flex-direction: column; gap: 20px; }
  .workshop .ws-img { flex-basis: auto; width: 100%; }
  .press-media { flex-direction: column; }
  .press-media img { width: 100%; }
  .press-media .txt { font-size: 19px; }
  .contact-hero h1 { font-size: 40px; }
  .form .row { gap: 0; }
  .fab { width: 54px; height: 54px; right: 14px; }
  .fab-wa { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Fake YouTube player frame */
.yt-player { max-width: 900px; margin: 10px auto 30px; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
.yt-player a { position: relative; display: block; aspect-ratio: 16 / 9; color: #fff; text-decoration: none; }
.yt-player a > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-player .play { position: absolute; top: 50%; left: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; background: #f00; border-radius: 14px; transition: transform .15s, background .15s; }
.yt-player .play::after { content: ""; position: absolute; top: 15px; left: 31px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt-player a:hover .play { transform: scale(1.1); background: #cc0000; }
.yt-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px 34px; background: linear-gradient(rgba(0,0,0,.65), transparent); direction: rtl; }
.yt-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: #fff; flex: none; }
.yt-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-title { font-size: 18px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.yt-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); direction: ltr; }
.yt-progress { display: block; height: 4px; background: rgba(255,255,255,.35); border-radius: 2px; position: relative; margin-bottom: 10px; }
.yt-progress::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #f00; border-radius: 2px; }
.yt-ctrl { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.yt-play { width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; display: inline-block; }
.yt-logo { margin-left: auto; font-weight: 800; letter-spacing: -.3px; }
@media (max-width: 780px) { .yt-title { font-size: 14px; } .yt-top { padding-bottom: 24px; } .yt-player .play { width: 60px; height: 42px; margin: -21px 0 0 -30px; } .yt-player .play::after { top: 11px; left: 24px; border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; } }

@media (max-width: 380px) { .hero-lead { font-size: 18px; line-height: 36px; } .hero-sub { font-size: 17px; } }
