/* =========================================================
   VISIONITY — style.css
   ========================================================= */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0B1426;
  --navy2:   #0F1E3A;
  --blue:    #1A5FD4;
  --blue2:   #1E6FEF;
  --cyan:    #00C8FF;
  --white:   #FFFFFF;
  --light:   #F4F7FB;
  --mid:     #E4EAF4;
  --text:    #1E293B;
  --muted:   #64748B;
  --border:  #DDE4F0;

  --font: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(11,20,38,.08);
  --shadow-lg: 0 8px 48px rgba(11,20,38,.14);
  --transition: .22s ease;

  --nav-h: 68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Helpers ── */
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 48px); margin-inline: auto; }

.section { padding-block: 88px; }
.section-white { background: var(--white); }
.section-light  { background: var(--light); }
.section-dark   { background: var(--navy); color: var(--white); }

.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.section-dark .section-eyebrow { color: var(--cyan); }
.section-white .section-eyebrow,
.section-light .section-eyebrow { color: var(--blue); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,200,255,.35); }

/* =========================================================
   NAVBAR
   ========================================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(11, 20, 38, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.nav-logo img { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cyan); }

.btn-nav {
  padding: 9px 22px;
  border: 2px solid var(--cyan);
  border-radius: 7px;
  color: var(--cyan) !important;
  font-weight: 600 !important;
}
.btn-nav:hover {
  background: var(--cyan);
  color: var(--navy) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(0,30,80,.55) 0%, rgba(11,20,38,.75) 65%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
/* Animated subtle glow */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,200,255,.12), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-inline: 24px;
}

.hero-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .9;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero-year {
  color: var(--cyan);
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 560px;
  text-align: center;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.hero-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.hero-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-info .sep { opacity: .4; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   O AKCI
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-left { position: sticky; top: calc(var(--nav-h) + 24px); }

.about-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-claim {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}
.about-right p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}

.about-highlight {
  font-weight: 700;
  color: var(--navy) !important;
  font-size: 1rem !important;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-left { position: static; }
}

/* =========================================================
   PŘEDNÁŠEJÍCÍ
   ========================================================= */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.speaker-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.speaker-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mid);
  position: relative;
}
.speaker-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.speaker-card:hover .speaker-photo-wrap img { transform: scale(1.04); }
.speaker-photo-wrap.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.speaker-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.speaker-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}
.speaker-title {
  font-size: .8rem;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.4;
}
.speaker-bio {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-top: 4px;
}

.speaker-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.speaker-email {
  font-size: .78rem;
  color: var(--muted);
  transition: color var(--transition);
  word-break: break-all;
}
.speaker-email:hover { color: var(--blue); }
.speaker-linkedin {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.speaker-linkedin:hover { background: var(--blue); color: white; }
.speaker-linkedin-empty { opacity: .3; cursor: default; }
.speaker-linkedin-empty:hover { background: var(--light); color: var(--blue); }

.speakers-note {
  margin-top: 48px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .speakers-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NETWORKING
   ========================================================= */
.section-networking {
  position: relative;
  background: url('images/networking-bg.jpg') center/cover no-repeat;
  color: white;
}
.networking-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,30,100,.75) 0%, rgba(11,20,38,.85) 100%);
}
.networking-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.networking-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.networking-divider {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,.4);
  margin: 0 auto 36px;
  border-radius: 2px;
}
.networking-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}

/* =========================================================
   PŘEDCHOZÍ ROČNÍK
   ========================================================= */
.previous-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.previous-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.previous-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.previous-date {
  font-size: .85rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.previous-text p:not(.previous-date) {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
}

@media (max-width: 800px) {
  .previous-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   PILÍŘE
   ========================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pillar-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mid);
}
.pillar-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.pillar:hover .pillar-image img { transform: scale(1.04); }
.pillar-image.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .85rem;
}

.pillar-body { padding: 24px; }

.pillar-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--mid);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}
.pillar-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   PROGRAM
   ========================================================= */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.program-item:last-child { border-bottom: none; }

.program-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.program-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.program-time {
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}
.program-item.type-break .program-time { color: var(--muted); }

.program-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
}
.program-item.type-break .program-title {
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}
.program-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 8px;
}
.program-speaker {
  display: inline-flex;
  align-items: center;
  font-size: .85rem;
  color: var(--blue);
  font-weight: 600;
  margin-top: 4px;
}
.program-speaker-title {
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 960px) {
  .program-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .program-meta {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    order: -1;
  }
  .program-body { padding-left: 0; }
  .program-location { font-size: .7rem; }
  .program-time { font-size: .85rem; }
}

/* =========================================================
   VSTUPENKY
   ========================================================= */
.tickets-wrapper {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.tickets-wrapper iframe { display: block; }

/* =========================================================
   VSTUPENKY — pricing
   ========================================================= */
.tickets-pricing {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 480px;
  margin-bottom: 16px;
}
.tickets-price-card {
  flex: 1;
  padding: 24px 28px;
  text-align: center;
}
.tickets-price-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.1);
}
.tickets-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  margin-bottom: 6px;
}
.tickets-label span {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  margin-top: 2px;
}
.tickets-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}
.tickets-note {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 28px;
}
.tickets-toggle {
  display: block;
  margin-bottom: 32px;
}

/* =========================================================
   PARTNEŘI
   ========================================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.partner-logo {
  height: 44px;
  display: flex;
  align-items: center;
}
.partner-logo img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}
.partner-logo.logo-text span,
.partner-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.partner-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}
.partners-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.partners-divider::before,
.partners-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.partners-thanks {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

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

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.5); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--cyan); color: var(--navy); }

footer h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
footer ul { display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
footer ul a:hover { color: var(--cyan); }

.map-placeholder {
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,.2);
  font-size: .85rem;
}

.footer-bottom {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  padding-block: 20px;
  display: flex;
  justify-content: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--cyan); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .previous-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  #navbar {
    background: rgba(11, 20, 38, .98);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
  }
  #navbar.scrolled {
    backdrop-filter: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(11,20,38,.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-burger { display: flex; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .section { padding-block: 60px; }

  .speakers-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .program-item { grid-template-columns: 1fr; }
}

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