/* ==========================================================================
   אלי"י — standalone site, styled to match the original Bootstrap/BoldGrid
   WordPress theme layout: fixed navbar, jumbotron hero, photo grid with
   captions, simple dark footer bar.
   ========================================================================== */

:root {
  --brand: #2f7d8c;       /* teal-blue, typical BoldGrid-era accent */
  --brand-dark: #235f6b;
  --dark: #2b2b2b;
  --light: #f7f7f7;
  --text: #333333;
  --muted: #6c6c6c;
}

body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: var(--dark);
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* ---------- Navbar ---------- */
.navbar-brand {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff !important;
}
.navbar-brand small {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  color: #d7e7ea;
}
.navbar {
  background-color: var(--dark);
}
.navbar .nav-link {
  color: #f0f0f0 !important;
  font-weight: 600;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff !important;
  text-decoration: underline;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: 10px;
  background: #000;
  padding: 4px 8px;
  border-radius: 4px;
}
.lang-switch a {
  color: #ffd400;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 3px;
  text-decoration: none;
}
.lang-switch a.active {
  color: #000;
  background: #ffd400;
}
.lang-switch a:hover { color: #fff400; text-decoration: underline; }
.lang-switch .sep { color: #ffd400; font-size: 0.8rem; opacity: 0.5; }

/* ---------- Hero / Call to Action ---------- */
.hero {
  background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.55)), var(--dark);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: #cfe9ee;
  margin-bottom: 10px;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin: 0;
}
.hero h1 .line2 { color: #7fd0dd; }
.hero p.lede {
  color: #e6e6e6;
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 1.15rem;
}
.hero .btn { margin-top: 24px; }

/* ---------- Page header (inner pages) ---------- */
.page-header-band {
  background-color: var(--dark);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-header-band h1 { color: #fff; margin: 0; }
.page-header-band p { color: #d9d9d9; margin: 10px 0 0; }

/* ---------- Buttons ---------- */
.btn-brand {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 10px 26px;
}
.btn-brand:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-outline-light-custom {
  color: #fff;
  border: 1px solid #fff;
  font-weight: 600;
  padding: 10px 26px;
}
.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--dark);
}

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title p.lead { color: var(--muted); }

/* under-construction block, styled like the original widget */
.under-construction {
  text-align: center;
  padding: 40px 0;
}
.under-construction img {
  max-width: 220px;
  margin-bottom: 20px;
}
.under-construction h3 {
  margin-bottom: 16px;
}
.under-construction p {
  max-width: 700px;
  margin: 0 auto 18px;
  color: var(--text);
}

/* ---------- Program feature cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  padding: 30px 24px;
  height: 100%;
}
.feature-card h3 {
  color: var(--brand-dark);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.feature-card ul {
  padding-right: 18px;
  margin: 0;
  color: var(--text);
}
.feature-card li { margin-bottom: 6px; }

/* LTR (English/French) overrides for a few RTL-specific rules */
[dir="ltr"] .feature-card ul {
  padding-right: 0;
  padding-left: 18px;
}
[dir="ltr"] .under-construction { text-align: center; }
[dir="ltr"] .brand-tagline {
  border-left: 1px solid var(--line, #ddd);
  border-right: none;
  padding-left: 16px;
  padding-right: 0;
}
[dir="ltr"] .contact-info-box .item { text-align: left; }
[dir="ltr"] .lang-switch { direction: ltr; }

/* ---------- Photo grid (matches original WP gallery widget) ---------- */
.photo-grid figure {
  margin-bottom: 30px;
}
.photo-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: opacity .2s ease;
}
.photo-grid a:hover img { opacity: 0.85; }
.photo-grid figcaption {
  text-align: center;
  margin-top: 10px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 0.95rem;
  color: var(--dark);
}

/* ---------- Contact ---------- */
.contact-info-box {
  background: var(--light);
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  padding: 26px;
}
.contact-info-box h3 { font-size: 1.1rem; margin-bottom: 14px; }
.contact-info-box .item { margin-bottom: 12px; }
.contact-info-box .item .label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
label.form-label { font-weight: 600; }
.required { color: #c0392b; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* ---------- Photo carousel ---------- */
.gallery-carousel {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  position: relative;
}
.gallery-carousel .carousel-inner {
  background: #111;
  position: relative;
}
.gallery-carousel .carousel-item {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
}
.gallery-carousel .carousel-item.active {
  display: block;
  opacity: 1;
}
.gallery-carousel .carousel-item img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.gallery-carousel .carousel-caption {
  position: absolute;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  bottom: 0;
  right: 0;
  left: 0;
  padding: 40px 20px 18px;
}
.gallery-carousel .carousel-caption h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}
.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12%;
  background: none;
  border: none;
  opacity: 0.8;
  cursor: pointer;
}
.gallery-carousel .carousel-control-prev { right: 0; }
.gallery-carousel .carousel-control-next { left: 0; }
.gallery-carousel .carousel-control-prev:hover,
.gallery-carousel .carousel-control-next:hover { opacity: 1; }
.gallery-carousel .carousel-indicators {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 0;
  list-style: none;
}
.gallery-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.6);
  border: none;
  padding: 0;
}
.gallery-carousel .carousel-indicators button.active {
  background-color: var(--brand);
}
@media (max-width: 576px) {
  .gallery-carousel .carousel-item img { height: 280px; }
}

.site-footer {
  background: var(--dark);
  color: #cfcfcf;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: #9fd6df; }
.site-footer .footer-nav {
  margin-top: 10px;
}
.site-footer .footer-nav a { margin: 0 10px; }
