/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --burgundy:   #540015;
  --gold:       #D2AE56;
  --text:       #404040;
  --white:      #ffffff;
  --light-gray: #f9f9f9;

  --serif: 'Martel', Georgia, serif;
  --sans:  'Mulish', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.section-title--sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--burgundy);
  line-height: 1.3;
}

.btn {
  display: inline-block;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}
.btn:hover {
  background: #3a000e;
  transform: translateY(-1px);
}

.highlight { color: var(--burgundy); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 90px;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.nav__logo {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
.nav__logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav__menu a {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  text-transform: lowercase;
}
.nav__menu a:hover { opacity: 0.65; }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  opacity: 0.45;
  padding: 0.15rem 0.1rem;
  transition: opacity 0.2s;
}
.lang-btn:hover  { opacity: 0.75; }
.lang-btn.active { opacity: 1; border-bottom: 1.5px solid var(--burgundy); }

.lang-sep {
  font-size: 0.65rem;
  color: var(--burgundy);
  opacity: 0.3;
  user-select: none;
}

/* ============================================================ */

.nav__toggle {
  display: none;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--burgundy);
  transition: all 0.28s;
  transform-origin: center;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero { position: relative; overflow: hidden; background: #fff; }

.slider { position: relative; width: 100%; overflow: hidden; }

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--burgundy);
  cursor: pointer;
  padding: 0.1rem 0.6rem 0.2rem;
  z-index: 10;
  transition: background 0.2s;
  user-select: none;
}
.slider__arrow:hover { background: rgba(255,255,255,0.95); }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }

.slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid var(--burgundy);
  cursor: pointer;
  transition: background 0.2s;
}
.slider__dot.active { background: var(--burgundy); }

/* ============================================================
   MISSION TEXT
   ============================================================ */
.mission {
  padding: 3rem 0;
  background: var(--white);
}
.mission p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  text-align: justify;
  line-height: 1.85;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 3rem 0 4rem;
  background: var(--white);
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image-col { position: relative; display: flex; justify-content: center; align-items: center; }

.about__photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
  border: 5px solid var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.about__text-col p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about__text-col p strong { font-weight: 600; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.services__grid--centered {
  grid-template-columns: repeat(2, 1fr);
  max-width: 550px;
  margin-inline: auto;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.service-item__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--burgundy);
}

.service-item p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.service-item p span { display: block; }

/* ============================================================
   BAHRAIN
   ============================================================ */
.bahrain {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.bahrain__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.bahrain__photo {
  max-width: 680px;
  width: 100%;
  border-radius: 4px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.testimonial p {
  font-size: 0.88rem;
  color: var(--text);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.testimonial__author {
  font-weight: 700;
  font-size: 0.9rem !important;
  color: var(--text) !important;
  text-align: center;
}
.testimonial__author span {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.blog__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.blog__item a {
  display: block;
  position: relative;
  overflow: hidden;
}

.blog__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.blog__overlay {
  position: absolute;
  inset: 0;
  background: rgba(84, 0, 21, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.blog__overlay svg {
  width: 32px;
  height: 32px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.blog__item a:hover img            { transform: scale(1.05); filter: brightness(0.85); }
.blog__item a:hover .blog__overlay { opacity: 1; }

/* Behold widget — span the full grid width and fill the container */
behold-widget {
  display: block;
  width: 100%;
  grid-column: 1 / -1;   /* span all columns so it isn't crushed into one cell */
  min-height: 300px;      /* prevent layout shift while the widget loads */
}

.blog__cta {
  text-align: center;
  margin-top: 1.5rem;
}

.blog__ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--burgundy);
  transition: opacity 0.2s;
}
.blog__ig-link svg { width: 18px; height: 18px; }
.blog__ig-link:hover { opacity: 0.65; }

/* ============================================================
   CURSOS
   ============================================================ */
.cursos {
  padding: 3rem 0 4rem;
  background: var(--white);
}

.curso-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.curso-block--reverse .curso-block__left { order: 1; }
.curso-block--reverse .curso-block__right { order: 2; }

.curso-block__left img,
.curso-block__right img {
  width: 100%;
  border-radius: 4px;
}

.curso-block__right iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  border: none;
}

.curso-desc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
}

.curso-desc__left p,
.curso-desc__right p {
  font-size: 0.9rem;
  color: var(--text);
  text-align: justify;
  margin-bottom: 0.85rem;
  line-height: 1.8;
}

.curso-desc__label {
  font-weight: 700;
  text-align: center !important;
  margin-bottom: 1rem;
}

.curso-depo {
  font-size: 0.85rem !important;
  color: var(--text);
  text-align: justify !important;
  margin-bottom: 0.75rem;
}
.curso-depo em { color: var(--gold); font-style: italic; }
.curso-depo span { display: block; font-style: italic; color: var(--gold); margin-top: 0.2rem; }

.curso-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.curso-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.curso-divider {
  border: none;
  border-top: 1.5px solid var(--gold);
  margin: 2rem 0 2.5rem;
  opacity: 0.45;
}

.loja-cta {
  text-align: center;
  padding: 2rem 0;
}
.loja-cta .section-title { margin-bottom: 1.25rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--burgundy);
  padding: 3.5rem 0;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.contact__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact__phone,
.contact__email {
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
}

.contact__socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
}
.contact__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s;
}
.contact__socials a:hover { opacity: 0.7; }
.contact__socials svg { width: 22px; height: 22px; }

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width: 900px) {
  .services__grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid    { grid-template-columns: 1fr; }
  .blog__grid            { grid-template-columns: repeat(2, 1fr); }
  .curso-block           { grid-template-columns: 1fr; }
  .curso-block--reverse .curso-block__left,
  .curso-block--reverse .curso-block__right { order: unset; }
  .curso-desc            { grid-template-columns: 1fr; }
  .about__grid           { grid-template-columns: 1fr; }
  .about__photo          { width: 220px; height: 220px; }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 600px) {
  .nav__menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.06);
    z-index: 99;
  }
  .nav__menu.open { display: flex; }
  .nav__toggle    { display: flex; }
  .nav__logo img  { height: 48px; }

  .services__grid        { grid-template-columns: repeat(2, 1fr); }
  .services__grid--centered { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .blog__grid            { grid-template-columns: repeat(2, 1fr); }
  .curso-photos          { grid-template-columns: 1fr; }
  .mission p             { text-align: left; }
  .lang-switcher         { right: 3.5rem; }
  .lang-btn, .lang-sep   { font-size: 0.65rem; }
}
