/* =========================================
   Global Reset
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================
   Body
========================================= */

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: #ffffff;
  color: #734338;
  line-height: 1.65;
  padding: 0;
}


/* =========================================
   General Media
========================================= */

img {
  max-width: 100%;
  height: auto;
}


/* =========================================
   Card Component
========================================= */

.card {
  background: #ffffff;
  padding: 36px;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 14px;
  color: #904840;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
}


/* =========================================
   Icon
========================================= */

.icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}


/* =========================================
   Grid Layout
========================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* =========================================
   Typography Helpers
========================================= */

.section-title {
  margin-bottom: 10px;
}

.lead {
  margin-bottom: 52px;
  max-width: 760px;
}

.question {
  text-align: center;
  font-size: 1.1rem;
  margin: 30px auto;
  max-width: 820px;
}


/* =========================================
   Feature Row Layout
========================================= */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}


/* =========================================
   Feature Image
========================================= */

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* =========================================
   Navigation
========================================= */

nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

nav .nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--primary-deep);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;

  padding: 7px 12px;
  border-radius: 999px;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover {
  background: var(--light);
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-logo a {
  display: flex;
  align-items: center;
}

.nav-logo a:hover {
  text-decoration: none;
  opacity: 0.85;
}


/* =========================================
   Refined Section Width
========================================= */

section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px;
}

section:nth-of-type(even) {
  max-width: none;
}

section:nth-of-type(even) .section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}


/* =========================================
   Schedule Table
========================================= */

.schedule-wrap {
  width: 100%;
  margin-top: 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule {
  width: 100%;
  min-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
}


/* =========================================
   Organizer Profile Photo
========================================= */

.profile-photo {
  width: 100%;
  max-width: 320px;
  height: auto;

  display: block;
  margin: 0 auto 28px auto;

  border-radius: 20px;
  object-fit: cover;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}


/* =========================================
   Hero Event Meta
========================================= */

.event-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.event-meta img {
  width: 25px;
  height: 25px;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 850px) {
  body {
    padding: 0;
  }

  header {
    padding: 56px 20px 48px;
  }

  section {
    max-width: none;
    width: 100%;
    padding: 48px 20px;
  }

  section:nth-of-type(even) {
    width: 100%;
    max-width: none;
  }

  section:nth-of-type(even) .section-inner {
    max-width: none;
    width: 100%;
    padding: 0;
  }

  .lead {
    margin-bottom: 32px;
  }

  .grid,
  .grid.two,
  .grid.three,
  .organizer {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 22px;
    margin-bottom: 36px;
  }

  .feature-image img {
    width: 82%;
  }

  .card {
    padding: 24px 20px;
  }

  .info-box {
    grid-template-columns: 1fr;
  }

  nav {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  nav .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
  }

  .nav-links {
    justify-content: center;
  }

  .nav-logo img {
    height: 34px;
  }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 650px) {
  h2.section-title {
    font-size: 1.65rem;
  }

  header h1 {
    font-size: 2.35rem;
  }

  header h2 {
    font-size: 1.15rem;
  }

  header p {
    font-size: 1rem;
  }

  .event-meta {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .button-row {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 6px 9px;
  }

  .highlight {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .feature-image img {
    width: 86%;
  }

  .profile-photo {
    max-width: 260px;
  }

  /* Mobile-friendly schedule cards */
  .schedule,
  .schedule thead,
  .schedule tbody,
  .schedule tr,
  .schedule th,
  .schedule td {
    display: block;
    width: 100%;
  }

  .schedule {
    min-width: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .schedule thead {
    display: none;
  }

  .schedule tr {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 22px var(--shadow);
  }

  .schedule td {
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    text-align: left;
  }

  .schedule td:first-child {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
  }

  .schedule td:nth-child(2) {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
  }

  .schedule td:nth-child(3) {
    color: var(--muted);
  }

 .schedule td:last-child {
  border-bottom: none;
}
}
