/* Poland Future Summit 2026 - Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-orange: #FF5722;
  --color-orange-dark: #E64A19;
  --color-blue: #4a00fe;
  --color-blue-dark: #1E40AF;
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-white);
  color: var(--color-gray-800);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 0 1rem;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.navbar-logo img {
  height: 64px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: var(--color-gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
}

.lang-btn:hover {
  opacity: 0.8;
}

.lang-btn.active {
  opacity: 1;
  border-color: var(--color-orange);
}

.lang-btn img {
  width: 28px;
  height: 20px;
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  color: var(--color-gray-700);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: var(--color-gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu a:hover {
  color: var(--color-orange);
  background: var(--color-gray-50);
}

/* Hero Section */
.hero {
  margin-top: 90px;
  position: relative;
}

.hero-banner {
  width: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-banner.desktop {
  display: block;
  /* 16:7 ratio for wide banner */
  aspect-ratio: 16 / 7;
  background-image: url('PFS_Baner_title_wide_PL.png');
}

.hero-banner.mobile {
  display: none;
  aspect-ratio: 9 / 16;
  background-image: url('PFS_Baner_pion_PL.png');
}

/* Info Bar */
.info-bar {
  background: var(--color-gray-100);
  padding: 1.5rem 1rem;
}

.info-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-icon {
  width: 24px;
  height: 24px;
  color: var(--color-blue);
}

.info-text {
  font-size: 0.95rem;
}

.info-text strong {
  display: block;
  color: var(--color-gray-900);
}

.info-text span {
  color: var(--color-gray-600);
}

/* Sections */
section {
  padding: 5rem 1rem;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-gray-900);
}

.section-title span {
  color: var(--color-orange);
}

/* Intro Section */
.intro {
  background: var(--color-white);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  text-align: justify;
}

/* Quote Highlight Section */
.quote-highlight {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.08) 0%, rgba(74, 0, 254, 0.06) 100%);
  padding: 3rem 1rem;
  border-top: 2px solid var(--color-orange);
  border-bottom: 1px solid var(--color-gray-200);
}

.quote-block {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.6;
  color: #000000;
  text-align: center;
  margin: 0 auto;
  padding: 1rem;
  font-style: italic;
  letter-spacing: 0.01em;
  max-width: 60%;
}

@media (max-width: 768px) {
  .quote-highlight {
    padding: 2rem 1rem;
  }

  .quote-block {
    font-size: 1.25rem;
    max-width: 100%;
  }
}

/* Agenda Section */
.agenda {
  background: var(--color-gray-50);
}

.agenda-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agenda-item {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-left: 4px solid var(--color-orange);
}

.agenda-item.blue {
  border-left-color: var(--color-blue);
}

.agenda-time {
  font-weight: 700;
  color: var(--color-orange);
  font-size: 1rem;
  min-width: 100px;
}

.agenda-item.blue .agenda-time {
  color: var(--color-blue);
}

.agenda-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.agenda-content p {
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.agenda-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.agenda-badge.orange {
  background: rgba(255, 87, 34, 0.1);
  color: var(--color-orange);
}

.agenda-badge.blue {
  background: rgba(30, 58, 138, 0.1);
  color: var(--color-blue);
}

/* Agenda points list */
.agenda-points {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.agenda-points li {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.agenda-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 700;
}

/* Parallel agenda table */
.agenda-parallel-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.agenda-parallel-label {
  background: #4a00fe;
  color: var(--color-white);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  letter-spacing: 0.01em;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

.agenda-table-time-head {
  width: 130px;
  background: var(--color-gray-50);
  border-bottom: 2px solid var(--color-gray-200);
}

.agenda-table-head {
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-bottom: 2px solid var(--color-gray-200);
  border-left: 1px solid var(--color-gray-200);
}

.agenda-table-head.head-a {
  background: rgba(255, 87, 34, 0.08);
  color: var(--color-orange);
}

.agenda-table-head.head-b {
  background: rgba(74, 0, 254, 0.08);
  color: var(--color-blue);
}

.agenda-table tbody tr {
  border-bottom: 1px solid var(--color-gray-100);
}

.agenda-table tbody tr:last-child {
  border-bottom: none;
}

.agenda-table-time {
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-orange);
  white-space: nowrap;
  vertical-align: top;
  background: var(--color-gray-50);
  border-right: 1px solid var(--color-gray-200);
  text-align: center;
}

.agenda-table-cell {
  padding: 1.25rem 1.5rem;
  vertical-align: top;
  border-left: 1px solid var(--color-gray-100);
}

.agenda-table-cell.cell-a {
  border-left: 3px solid var(--color-orange);
  background: rgba(255, 87, 34, 0.02);
}

.agenda-table-cell.cell-b {
  border-left: 3px solid var(--color-blue);
  background: rgba(74, 0, 254, 0.02);
}

.agenda-table-cell p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0.4rem 0 0;
}

.agenda-track-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.badge-a {
  background: rgba(255, 87, 34, 0.12);
  color: var(--color-orange);
}

.badge-b {
  background: rgba(74, 0, 254, 0.10);
  color: var(--color-blue);
}

/* Responsive: stack table on mobile */
@media (max-width: 640px) {
  .agenda-table,
  .agenda-table thead,
  .agenda-table tbody,
  .agenda-table tr,
  .agenda-table th,
  .agenda-table td {
    display: block;
    width: 100%;
  }

  .agenda-table-time-head { display: none; }

  .agenda-table thead tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .agenda-table thead th:first-child { display: none; }

  .agenda-table tbody tr {
    border: none;
    margin-bottom: 0.5rem;
  }

  .agenda-table-time {
    text-align: left;
    padding: 0.6rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--color-gray-200);
  }

  .agenda-table-cell {
    border-left-width: 3px;
  }
}

/* Speakers Section */
.speakers {
  background: var(--color-white);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.speaker-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
  text-align: center;
  padding: 0;
}

.speaker-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.speaker-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-blue) 100%);
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}

.speaker-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-image.placeholder svg {
  width: 50px;
  height: 50px;
  color: rgba(255,255,255,0.5);
}

.speaker-info {
  padding: 0 1.5rem 1.5rem;
}

.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
}

.speaker-title {
  font-size: 0.85rem;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.speaker-bio {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

.speaker-bio.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.read-more-btn:hover {
  color: var(--color-orange-dark);
}

/* Patronat Section */
.patronat {
  padding: 3rem 1rem;
  background: var(--color-white);
  text-align: center;
}

.patronat-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.patronat-logo {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

/* Partners Section */
.partners {
  background: var(--color-gray-50);
}

.partners-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.partners-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.partners-cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.partners-cta-btn:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.partner-logo:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.partner-logo.placeholder {
  background: var(--color-gray-100);
  color: var(--color-gray-400);
  font-size: 0.85rem;
  text-align: center;
}

/* Contact Section */
.contact {
  background: var(--color-white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

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

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item p {
  color: var(--color-gray-600);
}

.contact-item a {
  color: var(--color-orange);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--color-gray-50);
  padding: 2rem;
  border-radius: 16px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin-bottom: 0;
}

.form-checkbox a {
  color: var(--color-orange);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.form-message.success {
  background: #D1FAE5;
  color: #065F46;
}

.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
}

/* Form CTA */
.form-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.form-cta-desc {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #4a00fe 0%, #df3640 25%, #f44705 50%, #6501cc 75%, #9d1987 100%);
  color: var(--color-white);
  padding: 3rem 1rem 1.5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 60px;
  filter: brightness(0) invert(1);
}

.footer-text {
  text-align: center;
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color-gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-banner.desktop {
    display: none;
  }
  
  .hero-banner.mobile {
    display: block;
  }
  
  .info-bar-container {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .intro-quote {
    font-size: 1.2rem;
  }
  
  .speakers-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .agenda-item {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .agenda-time {
    min-width: auto;
  }

  .agenda-tracks-header,
  .agenda-parallel-cols {
    grid-template-columns: 1fr;
  }

  .agenda-track-head.track-a {
    border-right: none;
    border-bottom: 2px solid var(--color-white);
  }

  .agenda-track-card.track-a-card {
    border-right: none;
    border-bottom: 1px solid var(--color-gray-100);
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar-container {
    height: 70px;
  }
  
  .navbar-logo img {
    height: 48px;
  }
  
  .hero {
    margin-top: 70px;
  }
  
  .mobile-menu {
    top: 70px;
  }
}

/* Social Links */
.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* Footer Credit */
.footer-credit {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.footer-heart {
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
  font-style: normal;
}

@keyframes heartbeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.25); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.2); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Consent Link */
.consent-link {
  color: var(--color-orange);
  text-decoration: underline;
  font-weight: 500;
}

.consent-link:hover {
  color: var(--color-blue);
}

/* Utilities */
.hidden {
  display: none !important;
}

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