/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}


/* =========================
   BASE
========================= */

body {
  font-family: 'Inter', sans-serif;
  background: #eee6e1;
  color: #1c1c1c;
  line-height: 1.65;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}


/* =========================
   TYPOGRAPHY SYSTEM
========================= */

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

h1 {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 40px;
}

p {
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.9;
  max-width: 540px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}


/* =========================
   IMAGE SYSTEM
========================= */

img {
  display: block;
  max-width: 100%;
  border-radius: 3px;
}


/* =========================
   HEADER / NAV — PREMIUM
========================= */

.site-header {
  width: 100%;
  padding: 22px 0;
  display: flex;
  justify-content: center;
  background: #2f3a2f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 10;
}

.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(20,25,20,0.55);
  backdrop-filter: blur(6px);
}

.nav-center {
  display: flex;
  gap: 42px;
}

.nav-center a {
  font-size: 13px;
  letter-spacing: 0.6px;
  color: #f4f1ea;
  opacity: 0.85;
}

.nav-center a:hover {
  opacity: 1;
}

/* ❌ no logo */
.logo {
  display: none;
}

.site-header {
  align-items: center;
}

.nav-center {
  align-items: center;
}

.site-header {
  background: rgba(30, 40, 30, 0.9);
}

.nav-center {
  display: flex;
}

@media (max-width: 700px) {
  .nav-center {
    display: none;
  }

  .nav-center.active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    background: #2f3a2f;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.nav-wrapper {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu-toggle {
  position: absolute;
  left: 20px;
}

/* =========================
   HERO — EDITORIAL
========================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #f4f1ea;
  width: 90%;
  max-width: 760px;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.15;
}

.hero {
  position: relative;
  height: 100vh;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

/* tekst peab olema peal */
.hero-text {
  position: relative;
  z-index: 2;
}

/* =========================
   GRID — KUNST
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.card img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card-info h3 {
  font-style: italic;
  font-size: 16px;
}

.card-info p {
  font-size: 14px;
  opacity: 0.6;
}


/* =========================
   PROCESS
========================= */

.process-page {
  column-count: 3;
  column-gap: 24px;
  max-width: 1100px;
  margin: 140px auto;
  padding: 0 20px;
}

.process-page img {
  margin-bottom: 24px;
  break-inside: avoid;
}


/* =========================
   ABOUT — FIXED
========================= */

/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 100px;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

.about-text {
  max-width: 500px;
}

.about-text p {
  max-width: none;
}

.about-contact {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-label {
  font-size: 16px;
  opacity: 0.6;
  margin-bottom: 12px;
}

.contact-link {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
}

.icon-link {
  display: inline-block;
}

.icon {
  width: 18px;
  height: 18px;
}

/* =========================
   COURSE
========================= */

.course-quote {
  max-width: 700px;
  margin: 140px auto 60px;
  text-align: center;
  font-size: 30px;
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 900px;
  margin: 0 auto 120px;
}

.course-image img {
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.course-text {
  margin-left: -60px;
  padding: 40px;
}

.course-text p {
  font-size: 20px;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 80vw;
  max-height: 80vh;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 140px;
  padding: 40px 20px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-meta {
  font-size: 13px;
  opacity: 0.5;
}

.footer-link {
  font-size: 13px;
  opacity: 0.6;
}

.footer-link:hover {
  opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-page {
    column-count: 2;
  }

}


/* =========================
   MOBILE — FINAL FIX
========================= */

@media (max-width: 700px) {

  .container {
    padding: 60px 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .process-page {
    column-count: 1;
  }

  /* HERO */
  .hero-text h1 {
    font-size: 30px;
  }

  /* 🔥 NAV FIX — hamburger only */

  .nav-center {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
  
  /* HAMBURGER — ainult mobiil */

.menu-toggle {
  display: none;
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 700px) {

  .nav-center {
    display: none;
  }

  .nav-center.active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: #2f3a2f;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

}

  /* ABOUT */

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: auto;
  }

  /* CONTACT FIX */

  .contact-link {
    display: block;
  }

  .icon-link {
    display: block;
    margin-top: 8px;
  }
  
  .about-background {
  margin-top: 80px;
}

.about-background h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  margin-top: 40px;
  font-weight: 500;
}

.about-background ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-background li {
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-background strong {
  font-weight: 600;
}

  /* COURSE */

  .course-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .course-text {
    margin: 0;
    padding: 0;
  }

  .course-quote {
    font-size: 24px;
    padding: 0 20px;
  }

}

/* FORCE FIX */

.menu-toggle {
  display: none !important;
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block !important;
  }
}

/* =========================================================
   EVENTS PAGE - hetkel
========================================================= */

.events-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
}

.events-header {
  margin-bottom: 80px;
}

.events-header h1 {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.events-header p {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
}


/* =========================================================
   GRID
========================================================= */

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}


/* =========================================================
   CARD
========================================================= */

.event-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
}


/* =========================================================
   IMAGE
========================================================= */

.event-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 20px;
  background: #ddd;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================================
   TEXT
========================================================= */

.event-meta {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.event-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
}

.event-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 90%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .events-page {
    padding: 80px 24px;
  }

  .events-header {
    margin-bottom: 50px;
  }

  .events-header h1 {
    font-size: 42px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .event-title {
    font-size: 26px;
  }

  .event-text {
    max-width: 100%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

  .events-page {
    padding: 60px 18px;
  }

  .events-header h1 {
    font-size: 34px;
  }

  .events-header p {
    font-size: 16px;
  }

  .event-title {
    font-size: 22px;
  }

  .event-text {
    font-size: 15px;
  }

}