/* ========================================
   BASIC RESET
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: #171717;
  background: #FAFAEE;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

/* ========================================
   FIXED VIDEO BACKGROUND
======================================== */
.background-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #FAFAEE;
}
.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #FAFAEE;
}
.background-tint {
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 238, 0.5);
}
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7%;
  color: #FAFAEE;
  background: #000000;
  border-bottom: 1px solid #333333;
}
.logo {
  color: #FAFAEE;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}
.site-header .button-small {
  color: #FAFAEE;
  background: transparent;
  border-color: #FAFAEE;
}
.site-header .button-small:hover {
  color: #000000;
  background: #FAFAEE;
}

/* ========================================
   BUTTONS
======================================== */
.button {
  display: inline-block;
  padding: 13px 22px;
  color: #171717;
  background: transparent;
  border: 2px solid #171717;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}
.button:hover {
  color: #FAFAEE;
  background: #171717;
  transform: translateY(-2px);
}
.button-dark {
  color: #FAFAEE;
  background: #171717;
}
.button-dark:hover {
  color: #171717;
  background: #FAFAEE;
}
.button-small {
  padding: 10px 17px;
  font-size: 14px;
}

/* ========================================
   GENERAL LAYOUT
======================================== */
section {
  padding: 90px 7%;
}
.section-inner {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}
.light-section {
  background: transparent;
}
.dark-section {
  color: #ffffff;
  background: #171717;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(48px, 8vw, 105px);
  letter-spacing: -4px;
}
h2 {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -2px;
}
h3 {
  margin: 0 0 16px;
  font-size: 26px;
}
.large-text {
  max-width: 850px;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.55;
}

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: transparent;
}
.hero-content {
  width: 100%;
  max-width: 950px;
}
.intro {
  max-width: 720px;
  margin: 0 0 34px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

/* ========================================
   COURSE CARDS
======================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 45px;
}
.course-card {
  padding: 36px;
  background: #ffffff;
  border: 1px solid #cec9be;
  border-radius: 8px;
}
.course-card > p {
  margin-bottom: 0;
}
.details {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.details li {
  padding: 12px 0;
  border-bottom: 1px solid #d8d4ca;
}
.details li:last-child {
  border-bottom: 0;
}
.bring-heading {
  margin-top: 52px;
}

/* ========================================
   WORKSHOP STEPS
======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.step {
  padding-top: 22px;
  border-top: 2px solid #171717;
}
.step-number {
  display: block;
  margin-bottom: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.step p {
  margin-bottom: 0;
}

/* ========================================
   TEACHER + SLIDESHOW
======================================== */
.teacher {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 60px;
  align-items: center;
}
.teacher-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #ded9ce;
  border-radius: 8px;
}

/* Slideshow container */
.teacher-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

/* Individual slides */
.teacher-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.teacher-slideshow .slide.active {
  opacity: 1;
  z-index: 2;
}

/* ========================================
   EMBASSY SUPPORT
======================================== */
.partners {
  padding-top: 95px;
  padding-bottom: 95px;
  background: transparent;
  text-align: center;
}
.partners-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partners-title {
  margin: 0 0 34px;
  color: #5f5f5f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.partner-logo {
  width: 90px;
  height: auto;
  margin-bottom: 34px;
}
.partners-text {
  max-width: 680px;
  margin: 0 auto;
  color: #333333;
  font-size: 18px;
  line-height: 1.8;
}

/* ========================================
   APPLICATION
======================================== */
.apply {
  background: transparent;
  text-align: center;
}
.apply p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 20px;
}
.apply .button {
  margin-top: 10px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  padding: 30px 7%;
  color: #cccccc;
  background: #0d0d0d;
  font-size: 14px;
  text-align: center;
}
.site-footer p {
  margin: 0 0 8px;
}
.site-footer p:last-child {
  margin-bottom: 0;
}
.site-footer a {
  color: #cccccc;
  text-decoration: underline;
}
.site-footer a:hover {
  color: #ffffff;
}

/* ========================================
   BOTTOM BAR (LINE contact button)
======================================== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #171717;
  color: #FAFAEE;
  padding: 14px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}
.bottom-bar .line-btn {
  background: #00C300;
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bottom-bar .line-btn:hover {
  background: #00a800;
}
@media (max-width: 700px) {
  .bottom-bar { padding: 12px 5%; }
  .bottom-bar .line-btn { padding: 8px 16px; font-size: 13px; }
}

/* ========================================
   FORM CONSENT / PRIVACY LINE
======================================== */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.form-consent a {
  color: #171717;
  text-decoration: underline;
}
/* Honeypot field - hidden from real visitors, catches bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================================
   TABLET
======================================== */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teacher {
    grid-template-columns: 1fr;
  }
  .teacher-image,
  .teacher-slideshow {
    min-height: 350px;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 78px;
  }
  .site-header {
    padding: 14px 5%;
  }
  .logo {
    max-width: 160px;
    font-size: 14px;
    line-height: 1.2;
  }
  .button-small {
    padding: 9px 12px;
    font-size: 12px;
  }
  section {
    padding: 70px 5%;
  }
  h1 {
    letter-spacing: -2px;
  }
  h2 {
    letter-spacing: -1px;
  }
  .course-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .course-card {
    padding: 28px;
  }
  .bring-heading {
    margin-top: 44px;
  }
  .teacher {
    gap: 35px;
  }
  .teacher-image,
  .teacher-slideshow {
    min-height: 280px;
  }
  .partner-logo {
    width: 78px;
  }
  .partners-text {
    font-size: 16px;
  }
  .apply p:not(.eyebrow) {
    font-size: 18px;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .background-video {
    display: none;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
  .teacher-slideshow .slide {
    transition: none;
  }
}