@import url("https://fonts.googleapis.com/css2?family=Khand:wght@400;500;600;700&family=Manrope:wght@400;500;700;800&family=Teko:wght@400;500;600;700&display=swap");

:root {
  --bg: #edd8bc;
  --bg-soft: #f1dfc8;
  --ink: #384022;
  --ink-soft: #4a5431;
  --stroke: #a56e46;
  --accent: #748032;
  --accent-soft: #b5bf80;
  --panel: #b5bf7f;
  --white: #fffef8;
  --shadow: rgba(73, 53, 32, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/page_texture.png") center top / cover repeat-y;
  opacity: 0.38;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(164, 125, 85, 0.08), transparent 28%);
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

.top-nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 40;
}

.top-nav {
  width: min(1420px, 94%);
  margin: 22px auto 0;
  border: 3px solid var(--stroke);
  border-radius: 28px;
  background: rgba(239, 223, 199, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 24px rgba(54, 42, 29, 0.12);
}

.top-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.brand-main {
  font-family: "Khand", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #8f5c3a;
}

.brand-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #946247;
}

.nav-toggle {
  display: none;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  background: transparent;
  color: var(--ink);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 22px);
}

.nav-link {
  font-family: "Khand", sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 600;
  color: #5f6b2e;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  border-bottom-color: #5f6b2e;
}

.hero {
  padding-top: 80px;
  padding-bottom: 38px;
  text-align: center;
}

.hero-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}

.partner-logo {
  width: clamp(45px, 7vw, 110px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  padding: 2px;
}

.partner-gju {
  border-radius: 16px;
}

.partner-jild {
  border-radius: 50%;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-name {
  margin-top: 0px;
  font-family: "Khand", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: #6f7c35;
  font-weight: 600;
}

.partner-x {
  font-family: "Teko", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1;
  color: #825536;
}

.hero-brand-logo {
  width: min(300px, 80%);
  margin: 4px auto 0;
  border-radius: 18px;
  padding: 10px;
}

.presents {
  margin: 14px 0 10px;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  color: #6f7c35;
}

.hero-title {
  margin: 8px 0 0;
  font-family: "Khand", sans-serif;
  font-size: clamp(4.3rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #8a5938;
  text-shadow: 2px 2px 0 rgba(89, 53, 31, 0.08);
}

.hero-subtitle {
  margin-top: 6px;
  font-family: "Khand", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  color: #8a5938;
}

.sponsor-strip {
  width: min(1000px, 96%);
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid rgba(126, 98, 64, 0.42);
  background: rgba(255, 255, 255, 0.32);
}

.sponsor-title {
  margin: 0 0 10px;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: #6b7633;
}

.sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sponsor-logos img {
  width: auto;
  max-width: 180px;
  height: clamp(56px, 7vw, 96px);
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  padding: 6px 10px;
  border: 1px solid rgba(126, 98, 64, 0.35);
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: clamp(1rem, 1.6vw, 1.9rem);
  font-family: "Khand", sans-serif;
  font-weight: 600;
  line-height: 1;
  padding: 15px 34px;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(104, 116, 50, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 8px 0 rgba(104, 116, 50, 0.24);
}

.btn.ghost {
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

.farm-strip {
  width: 100%;
  margin-block: 18px 38px;
}

.farm-strip img {
  width: 100%;
  object-fit: cover;
}

.section {
  padding-block: 24px 36px;
}

.section-title {
  font-family: "Teko", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  text-align: center;
  margin: 0 0 26px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.about-copy {
  font-size: clamp(1.1rem, 1.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
}

.about-figure {
  border: 4px solid #6f7a33;
  border-radius: 0 70px 0 70px;
  overflow: hidden;
  background: #d8d7cb;
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--accent-soft);
  border: 4px solid #72803b;
  border-radius: 0 48px 0 48px;
  padding: 20px;
  min-height: 175px;
  box-shadow: 6px 6px 0 rgba(96, 107, 48, 0.26);
}

.feature-title {
  margin: 0;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
}

.feature-text {
  margin: 8px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.5rem);
  line-height: 1.4;
}

.guest-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.guest-card {
  text-align: center;
}

.guest-avatar {
  margin-inline: auto;
  width: min(190px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 0 54px 0 54px;
}

.guest-name {
  margin: 10px 0 4px;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 2.0rem);
  line-height: 1.08;
  color: #946247;
}

.guest-role {
  margin: 0;
  font-size: clamp(0.85rem, 0.85vw, 1.09rem);
  color: var(--ink-soft);
}

.center {
  text-align: center;
  margin-top: 22px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}





/* CARD CONTAINER (FULL CARD ROTATES) */
/* OUTER CARD (NO ROTATION HERE) */
.event-card {
  perspective: 1000px;
  cursor: pointer;
}

/* INNER (THIS ROTATES) */
.event-card-inner {
  position: relative;
  width: 100%;
  min-height: 430px;
  border-radius: 0 40px 0 40px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  border: 4px solid #6f7a33;
}

/* ⭐ CORRECT FLIP TARGET */
.event-card.is-flipped .event-card-inner {
  transform: rotateY(180deg);
}

/* BOTH SIDES */
.event-card-front,
.event-card-back {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: absolute;
  inset: 0;

  border-radius: inherit;
  overflow: hidden;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* FRONT */
.event-card-front {
  background: #cdd2ae;
  display: flex;
  flex-direction: column;
}

/* BACK */
.event-card-back {
  background: #cdd2ae;
  transform: rotateY(180deg);

  border-radius: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 16px;
  text-align: center;
}








/* KEEP YOUR ORIGINAL DESIGN */
.event-poster {
  width: 100%;
  height:310px ;
  /* aspect-ratio: 0.7 / 1; */
  object-fit: cover;
}

.event-body {
  text-align: center;
  padding: 10px 8px 12px;
}

.event-title {
  margin: 0;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.7rem);
  line-height: 1;
}

.event-date {
  margin: 4px 0 0;
  font-size: clamp(0.78rem, 0.86vw, 0.98rem);
  color: #3a4126;
}

.event-category {
  margin-top: 8px;
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(67, 76, 37, 0.16);
  padding: 4px 8px;
  border-radius: 999px;
}








.event-poster {
  width: 100%;
  aspect-ratio: 0.7 / 1;
  object-fit: cover;
}

.event-body {
  text-align: center;
  padding: 10px 8px 12px;
}

.event-title {
  margin: 0;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.7rem);
  line-height: 1;
}

.event-date {
  margin: 4px 0 0;
  font-size: clamp(0.78rem, 0.86vw, 0.98rem);
  color: #3a4126;
}

.event-category {
  margin-top: 8px;
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(67, 76, 37, 0.16);
  padding: 4px 8px;
  border-radius: 999px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}

.chip {
  border: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.3);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: "Khand", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
}

.chip.is-active {
  background: var(--accent);
  color: var(--white);
}

.search-box {
  width: min(360px, 100%);
  border: 2px solid #7a8740;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.42);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 28px;
}

.panel {
  border: 3px solid #5f7d5f;
  border-radius: 0 44px 0 44px;
  padding: 22px;
}

.reach-card p {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.5;
}

.contact-form {
  background: var(--panel);
  border-color: #7b8646;
}

.form-title {
  margin: 0 0 16px;
  text-align: center;
  font-family: "Khand", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  opacity: 0.86;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid #6e7b45;
  background: transparent;
  padding: 8px 2px;
  font-size: 1.06rem;
  color: #2f361a;
  font-family: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.form-feedback {
  margin-top: 12px;
  min-height: 20px;
  font-weight: 700;
}

.social-wrap {
  text-align: center;
  padding-block: 26px 16px;
}

.social-title {
  margin: 0 0 16px;
  font-family: "Khand", sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.social-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-pill {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #445121;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #445121;
  background: rgba(255, 255, 255, 0.33);
}

.site-footer {
  margin: 28px auto 42px;
  width: min(1460px, 96%);
  background: #b0bc79;
  border-radius: 34px;
  padding: 30px;
  box-shadow: 0 12px 20px rgba(73, 53, 32, 0.18);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.footer-branding {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.mini-logo {
  width: min(320px, 100%);
}

.footer-note {
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.45;
}

.contact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-box h4 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.contact-box p {
  margin: 4px 0;
  font-size: 1rem;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid rgba(55, 64, 31, 0.54);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-page-wrap .category-block {
  margin-bottom: 40px;
}

.guest-page-wrap .guest-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.category-block .section-title {
  margin-bottom: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}








@media (max-width: 1180px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-figure {
    max-width: 520px;
    margin: 0 auto;
  }

  .connect-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .top-nav-row {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-top: 2px dashed rgba(114, 128, 59, 0.42);
    padding-top: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    padding-top: 54px;
  }

  .sponsor-strip {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 16px 24px;
  }

  .contact-columns {
    grid-template-columns: 1fr;
  }

  .site-footer {
    border-radius: 20px;
    padding: 18px;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .guest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-row .btn {
    width: 100%;
  }

  .partner-logo {
    width: clamp(74px, 24vw, 100px);
  }

  .hero-brand-logo {
    width: min(500px, 100%);
  }

  .sponsor-logos img {
    height: 54px;
    max-width: 116px;
  }

  .event-card {
    border-width: 3px;
    border-radius: 0 24px 0 24px;
  }

  .event-title {
    font-size: 1.04rem;
  }

  .event-date {
    font-size: 0.72rem;
  }

  .event-category {
    font-size: 0.62rem;
    padding: 3px 6px;
  }
}

@media (max-width: 390px) {
  .event-grid {
    gap: 10px;
  }

  .event-body {
    padding: 8px 6px 10px;
  }

  .event-title {
    font-size: 0.95rem;
  }
}
