/* assets/css/styles.css */

:root {
  --accent: #0072b9;
  --accent-dark: #005e97;
  --accent-soft: rgba(0, 114, 185, 0.12);
  --text: #1b1f24;
  --muted: #5f6b7a;
  --bg: #fbfcfd;
  --bg-muted: #f3f6f8;
  --border: #e3e7ec;
  --shadow: 0 18px 40px rgba(15, 22, 34, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

main {
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
}

.navbar {
  font-size: 0.98rem;
}

.navbar-brand {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 200px;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

.brand-text {
  font-size: 0.98rem;
}

.nav-link {
  color: var(--muted);
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 90px;
}

.section#about-event .text-muted {
  text-align: justify;
  text-justify: inter-word;
}

.section-muted {
  background: var(--bg-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin-bottom: 12px;
}

.section-hero {
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 246, 248, 0.9) 55%, rgba(231, 240, 243, 0.9) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}

.event-hero-custom {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 246, 248, 0.9) 55%, rgba(231, 240, 243, 0.9) 100%),
    url("../img/event-hero.jpg") center/cover no-repeat;
}

.eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.event-hero-logo {
  max-width: 520px;
  margin: 0 auto;
  display: block;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
  background: var(--accent);
  color: #fff;
}

.btn-outline-accent.active,
.btn-outline-accent.active:hover {
  background: var(--accent);
  color: #fff;
}

.value-card,
.founder-card,
.project-card,
.map-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 22, 34, 0.06);
}

.value-card {
  padding: 28px;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.founder-card .card-body,
.project-card .card-body {
  padding: 24px;
}

.founder-media {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.founder-photo {
  width: 128px;
  height: 128px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: var(--bg-muted);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  text-align: center;
}

.founder-content {
  flex: 1;
  min-width: 0;
}


.project-card .badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.project-card .btn-link {
  color: var(--accent);
  text-decoration: none;
}

.project-card .btn-link:hover,
.project-card .btn-link:focus {
  color: var(--accent-dark);
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.event-item:hover,
.event-item:focus {
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 22, 34, 0.08);
}

.event-date {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

.event-day {
  font-size: 1.4rem;
  line-height: 1;
}

.event-month {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-info {
  flex: 1;
  min-width: 200px;
}

.event-link {
  color: inherit;
  text-decoration: none;
}

.event-link:hover,
.event-link:focus {
  color: var(--accent);
  text-decoration: none;
}

.event-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
}

.partner-tile {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

#partners .row {
  justify-content: center;
}

.footer {
  background: #0f2027;
  color: #fff;
  padding: 80px 0 30px;
  scroll-margin-top: 90px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: #d8f1f7;
}

.footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.map-card {
  background: #ffffff;
  color: var(--text);
  padding: 28px;
}

.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(15, 76, 92, 0.2);
}

.form-note {
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-logo {
  width: 90px;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 6px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  position: fixed;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

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

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

@media (max-width: 991px) {
  .section {
    padding: 80px 0;
  }

  .section-hero {
    padding-top: 120px;
  }
}

@media (max-width: 767px) {
  .navbar-brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 90px;
  }

  .event-item {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .back-to-top {
    transition: none;
  }
}
