:root {
  --orange: #ff541e;
  --purple-dark: #40339d;
  --yellow: #ffd76a;
  --purple: #302ea7;
  --blue: #3e89fb;
  --white: #ffffff;
  --text: #1a1633;
  --text-muted: #5c5678;
  --bg-soft: #f6f4fc;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 40px rgba(48, 46, 167, 0.12);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  background: rgba(48, 46, 167, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 1120px;
  min-width: 0;
}

.site-header .logo {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 6.5rem);
}

.site-header .logo img,
.site-header .logo .logo-svg {
  height: clamp(36px, 8vw, 55px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 84, 30, 0.35);
}

/* Hero */
.hero {
  position: relative;
  padding: 7.5rem 0 4rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 45%, #25206e 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(62, 137, 251, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(255, 84, 30, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 60% 50%, rgba(255, 215, 106, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  min-width: 0;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 215, 106, 0.2);
  border: 1px solid rgba(255, 215, 106, 0.5);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--yellow);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.9rem;
}

.meta-chip svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover,
a.btn-primary:hover,
a.btn-primary[data-track="cta_hero_basvuru"]:hover,
a.btn-primary[data-track="cta_ticket"]:hover,
a.btn-primary[data-track="cta_reserve_form"]:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 84, 30, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.hero-speaker {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 215, 106, 0.45);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.hero-speaker::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.hero-speaker-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.hero-speaker-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-speaker-photo {
  flex-shrink: 0;
  width: 108px;
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue) 0%, var(--purple) 100%);
  border: 3px solid var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-speaker-photo .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.hero-speaker-name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

.hero-speaker-role {
  margin: 0 0 0.25rem;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-speaker-tags {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

@media (min-width: 900px) {
  .hero-speaker-photo {
    width: 120px;
    height: 148px;
  }
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-card .social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-card .social a {
  color: var(--yellow);
  font-weight: 600;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--purple-dark);
}

.section-lead {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Topics */
.topics-grid {
  display: grid;
  gap: 1rem;
}

.topic-card {
  background: var(--white);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
  transition: transform 0.2s;
}

.topic-card:nth-child(2) {
  border-left-color: var(--orange);
}

.topic-card:nth-child(3) {
  border-left-color: var(--purple);
}

.topic-card:nth-child(4) {
  border-left-color: var(--yellow);
  border-left-width: 4px;
}

.topic-card:nth-child(5) {
  border-left-color: var(--purple-dark);
}

.topic-card:hover {
  transform: translateY(-3px);
}

.topic-card p {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.form-section .topic-card,
.topics-column .topic-card {
  color: var(--text);
}

.quote-block {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
}

/* Reserve */
.reserve {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.reserve-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reserve-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.reserve-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.reserve-box h3 {
  margin: 0 0 0.75rem;
  color: var(--purple-dark);
}

.reserve-box p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 2px dashed rgba(64, 51, 157, 0.25);
}

.qr-wrap img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.certificate-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(62, 137, 251, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(62, 137, 251, 0.2);
}

.certificate-badge .icon {
  font-size: 2rem;
  line-height: 1;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(160deg, var(--purple-dark) 0%, var(--purple) 50%, var(--blue) 100%);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-image .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
}

.about-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--purple-dark);
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 2px;
  transform: rotate(45deg);
}

.about-closing {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-weight: 500;
  border-left: 4px solid var(--yellow);
}

/* Form */
.hero + .form-section {
  padding-top: 3.5rem;
}

.form-section {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  color: var(--white);
}

.form-section .section-title,
.form-section .section-lead {
  color: var(--white);
}

.form-section .section-lead {
  opacity: 0.85;
}

.form-topics-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.form-column,
.topics-column {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 960px) {
  .form-topics-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.15fr);
    gap: 3rem;
  }
}

.topics-column {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.topics-column .section-title,
.topics-column .section-lead {
  color: var(--white);
}

.topics-column .section-lead {
  opacity: 0.85;
  max-width: none;
}

.form-topics-grid .topics-grid {
  grid-template-columns: 1fr;
}

.form-topics-grid .quote-block--inline {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.registration-form {
  max-width: none;
  display: grid;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 106, 0.35);
}

.role-toggle {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.role-toggle label {
  flex: 1 1 8rem;
  min-width: 0;
  cursor: pointer;
}

.role-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-toggle span {
  display: block;
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.role-toggle input:checked + span {
  background: var(--orange);
  border-color: var(--orange);
}

.form-message {
  padding: 1rem;
  border-radius: 12px;
  font-weight: 500;
  display: none;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  background: rgba(255, 215, 106, 0.2);
  border: 1px solid var(--yellow);
}

.form-message.error {
  background: rgba(255, 84, 30, 0.2);
  border: 1px solid var(--orange);
}

.kvkk-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.kvkk-consent input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.kvkk-consent label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.kvkk-consent label a {
  color: var(--yellow);
  font-weight: 600;
}

.kvkk-consent label a:hover {
  color: var(--white);
}

.kvkk-consent .required-mark {
  color: var(--yellow);
}

.kvkk-consent input[type="checkbox"]:invalid,
.kvkk-consent.is-invalid input[type="checkbox"] {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.field-error {
  margin: -0.5rem 0 0;
  font-size: 0.85rem;
  color: #ffc9b8;
}

.field-error:not([hidden]) {
  display: block;
}

/* Contact */
.contact {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
}

.contact-item a {
  font-weight: 600;
  font-size: 1.05rem;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  background: #e8e6f0;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

@media (min-width: 600px) {
  .map-wrap iframe {
    height: 400px;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--yellow);
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

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