/* =============================================
   STEAM KREATORI - Clean Standalone CSS
   ============================================= */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Arial', sans-serif;
  color: #1e1e1e;
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- Color Variables ---- */
:root {
  --pink: #ee4e8c;
  --magenta: #a62a72;
  --magenta-dark: #d12c5b;
  --blue-1: #1abad9;
  --blue-2: #55c8e5;
  --blue-3: #73e1f6;
  --blue-4: #b8e3f3;
  --blue-5: #cdebf5;
  --blue-6: #dff2f8;
  --blue-7: #eff9fb;
  --white: #fcfcfc;
  --container: 1200px;
}

/* ---- Container ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img { width: 90px; height: auto; }
.nav__menu { display: flex; gap: 30px; align-items: center; }
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  font-size: 15px; font-weight: 400; color: #000;
  transition: color 0.3s;
}
.nav__menu > li > a:hover { color: var(--pink); }

/* Dropdown */
.nav__dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 280px; padding: 12px 0; box-shadow: 0 4px 16px rgba(0,0,0,0.1); z-index: 100; }
.nav__dropdown a { display: block; padding: 8px 20px; font-size: 14px; transition: color 0.3s; }
.nav__dropdown a:hover { color: var(--pink); }
.nav__menu > li:hover .nav__dropdown { display: block; }

/* Mobile hamburger */
.nav__toggle { display: none; cursor: pointer; font-size: 28px; background: none; border: none; }

@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px; gap: 15px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
  .nav__menu.active { display: flex; }
  .nav__dropdown { position: static; box-shadow: none; padding-left: 20px; display: none; }
  .nav__menu > li:hover .nav__dropdown,
  .nav__menu > li.open .nav__dropdown { display: block; }
}

/* Nav spacer */
.nav-spacer { height: 80px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 60px 0 40px;
}
/* Mosaic background pattern */
.hero__mosaic {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(10, 1fr);
  z-index: 0;
}
.hero__mosaic span {
  display: block;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
}
.hero__title {
  font-size: clamp(40px, 6vw, 79px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--magenta);
  margin-bottom: 10px;
}
.hero__title span { color: #010101; }
.hero__flex {
  display: flex; gap: 40px; margin-top: 40px; align-items: flex-start;
}
.hero__left { flex: 1; min-width: 280px; }
.hero__right {
  flex: 1; min-width: 300px;
  position: relative;
}

/* Pink announcement box */
.hero__announce {
  background: var(--pink);
  color: #fff;
  padding: 40px 30px;
  position: relative;
  min-height: 350px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.hero__announce-date { font-size: 27px; margin-bottom: 8px; }
.hero__announce-text { font-size: 27px; margin-bottom: 20px; }
.hero__announce-sub { font-size: 22px; }
.hero__announce-icons {
  display: flex; gap: 20px; margin-top: 20px;
}
.hero__announce-icons img { width: 100px; height: auto; }

.hero__logo-badge {
  position: absolute; top: 20px; right: 20px;
  width: 120px;
}

@media (max-width: 768px) {
  .hero__flex { flex-direction: column; }
  .hero__title { text-align: center; }
  .hero { padding: 30px 0 20px; }
}

/* =============================================
   STATS / ABOUT SECTION
   ============================================= */
.about {
  background: #fff;
  padding: 80px 0;
}
.about__flex {
  display: flex; gap: 60px; align-items: flex-start;
}
.about__left { flex: 0 0 400px; }
.about__right { flex: 1; }
.about__title {
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}
.about__title span { font-weight: 300; }

.stats {
  display: flex; gap: 40px; margin-top: 30px;
}
.stat__number {
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 100;
  line-height: 0.8;
}
.stat__label {
  font-size: clamp(24px, 3vw, 44px);
  margin-top: 8px;
}
.about__divider {
  width: 100px; height: 2px;
  background: #e8366a;
  margin: 30px 0;
}
.about__text { font-size: 18px; line-height: 1.7; }
.about__text p { margin-bottom: 16px; }

@media (max-width: 960px) {
  .about__flex { flex-direction: column; }
  .about__left { flex: auto; }
  .stats { flex-wrap: wrap; }
}

/* =============================================
   WORKSHOP CARDS GRID
   ============================================= */
.workshops {
  background: var(--blue-6);
  padding: 60px 0 80px;
}
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 50px;
}
.workshops__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.workshop-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
  background: #ccc;
}
.workshop-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.workshop-card:hover .workshop-card__img { transform: scale(1.05); }

.workshop-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(223,242,248,0.7), rgba(26,186,217,0.8));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}
.workshop-card:hover .workshop-card__overlay { opacity: 1; }

.workshop-card__title {
  font-size: 22px; font-weight: 500;
  color: #000;
  text-align: center;
  margin-bottom: 15px;
}
.workshop-card__btn {
  display: inline-block;
  background: var(--magenta);
  color: #000;
  padding: 10px 24px;
  font-size: 14px;
  transition: background 0.3s;
}
.workshop-card__btn:hover { background: var(--pink); }

/* =============================================
   GALLERY
   ============================================= */
.gallery {
  padding: 60px 0;
  background: #fff;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.gallery__item {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery__item:hover img { transform: scale(1.05); }

/* =============================================
   PARTNERS
   ============================================= */
.partners {
  padding: 60px 0;
  background: var(--blue-7);
}
.partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.partners__logos img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.partners__text {
  text-align: center;
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 16px;
  color: #555;
}

/* =============================================
   NEWS / EVENTS SLIDER
   ============================================= */
.news {
  padding: 60px 0;
  background: #fff;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}
.news__card {
  background: #f9f9f9;
  overflow: hidden;
  border-radius: 4px;
}
.news__card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.news__card-caption {
  padding: 12px;
  font-size: 14px;
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--blue-6);
  padding: 40px 0;
}
.footer__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer__contact a { color: var(--magenta); }
.footer__contact p { margin-bottom: 5px; }
.footer__copy { font-size: 14px; color: #666; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid #999;
  border-radius: 50%;
  font-size: 14px; color: #333;
  transition: all 0.3s;
  margin-left: 8px;
}
.footer__social a:hover { border-color: var(--pink); color: var(--pink); }

/* ESF Disclaimer */
.esf-disclaimer {
  padding: 30px 0;
  background: #fff;
  text-align: center;
}
.esf-disclaimer__logos {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 25px; margin-bottom: 20px;
}
.esf-disclaimer__logos img { height: 60px; width: auto; }
.esf-disclaimer p {
  max-width: 700px; margin: 0 auto;
  font-size: 13px; color: #777; line-height: 1.5;
}

/* =============================================
   SUBPAGE LAYOUT
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--blue-6) 0%, var(--blue-4) 100%);
  padding: 80px 0 50px;
  text-align: center;
}
.page-header__title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700;
  color: var(--magenta);
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  font-size: 18px;
  line-height: 1.8;
}
.page-content h2 {
  font-size: 24px;
  color: var(--magenta);
  margin: 30px 0 15px;
}
.page-content ul { padding-left: 25px; margin: 15px 0; }
.page-content li { margin-bottom: 10px; list-style: disc; }
.page-content strong { color: var(--magenta); }

/* Subpage gallery */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  padding: 40px 0;
}
.page-gallery img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 4px;
}

/* =============================================
   CALENDAR GRID
   ============================================= */
.calendar {
  padding: 60px 0;
  background: var(--blue-7);
}
.calendar__title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}
.calendar__img {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }

/* Fade in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.8s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
