/* ========================================
   DDX UX & Innovation Conference Munich
   Landing Page Styles
   ======================================== */

:root {
  --color-bg: #000000;
  --color-bg-dark: #0a0a0a;
  --color-bg-section: #111111;
  --color-white: #ffffff;
  --color-accent: #c8ff00;
  --color-muted: #8f8d8d;
  --color-muted-dark: #6c6c6c;
  --color-gray: #888888;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1500px;
  --site-gutter: 4vw;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
}

/* Colors */
.accent { color: var(--color-accent); }
.white { color: var(--color-white); }
.muted { color: var(--color-muted); }

/* Button */
.btn-primary {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-bg);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-2px);
}

/* Section dividers */
.section-divider-bottom {
  height: 6vw;
  background: inherit;
  border-radius: 0 0 40px 40px;
  position: relative;
  z-index: 1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a2e;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero-logo img {
  max-width: 300px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-accent);
}

.hero-subtitle .white {
  color: var(--color-white);
}

.hero-sponsors img {
  max-width: 500px;
  opacity: 0.9;
}

.hero-sponsors-secondary img {
  max-width: 250px;
  opacity: 0.9;
}

.hero-section .section-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-radius: 40px 40px 0 0;
  z-index: 2;
}

/* ========================================
   DARK SECTION
   ======================================== */
.dark-section {
  background: var(--color-bg-dark);
}

/* ========================================
   SPEAKERS SECTION
   ======================================== */
.speakers-section {
  padding: 80px 0 40px;
  background: var(--color-bg);
}

.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

.intro-logo img {
  max-width: 400px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.6;
}

.speakers-heading {
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.speakers-desc {
  color: #aeadad;
  font-size: 16px;
  line-height: 1.6;
}

/* Speaker Grid */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}

.speaker-card {
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.speaker-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.speaker-card img {
  width: 100%;
  aspect-ratio: 1200/1374;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.speaker-card:hover img {
  transform: scale(1.05);
}

/* Location */
.location-row {
  text-align: center;
  padding: 40px 0;
}

.location-text {
  font-size: 18px;
  margin-bottom: 24px;
}

.location-text .accent {
  margin-right: 12px;
}

.location-text .muted {
  font-weight: 400;
}

/* ========================================
   AGENDA SECTION
   ======================================== */
.agenda-section {
  padding: 80px 0 40px;
  background: var(--color-bg-section);
}

.agenda-header {
  text-align: center;
  margin-bottom: 60px;
}

.agenda-decoration {
  max-width: 200px;
  margin: 0 auto 20px;
}

.agenda-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  margin-bottom: 16px;
}

.agenda-subtitle {
  color: var(--color-gray);
  font-size: 16px;
  margin-bottom: 20px;
}

.agenda-tracks {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 2;
  max-width: 700px;
  margin: 0 auto;
}

.agenda-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.day-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.day-date {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-muted);
}

.agenda-item {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.agenda-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.agenda-item .time {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.agenda-item .event-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.agenda-item .event-desc {
  font-size: 13px;
  color: var(--color-muted);
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
  padding: 100px 0;
  text-align: center;
  background: var(--color-bg);
}

.quote-text {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 30px;
}

.quote-author {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-muted);
}

.quote-author .accent {
  font-weight: 600;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
  padding: 80px 0 40px;
  background: var(--color-bg-section);
}

.gallery-heading {
  text-align: center;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  margin-bottom: 12px;
}

.gallery-desc {
  text-align: center;
  font-size: 18px;
  color: var(--color-muted);
  margin-bottom: 60px;
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 16px;
  color: var(--color-muted-dark);
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-item {
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.photo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ========================================
   THEME SECTION
   ======================================== */
.theme-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.theme-header {
  text-align: center;
  margin-bottom: 60px;
}

.theme-logo {
  max-width: 400px;
  margin: 0 auto 20px;
}

.theme-subtitle {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
}

.theme-content {
  text-align: center;
  margin-bottom: 60px;
}

.theme-tag {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.theme-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  margin-bottom: 16px;
}

.theme-desc {
  font-size: 18px;
  color: var(--color-muted);
}

.theme-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.theme-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.theme-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.theme-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.theme-card h2 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.theme-cta {
  text-align: center;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-section {
  padding: 60px 0 20px;
  background: var(--color-bg-section);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.review-item {
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.review-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.review-item img {
  width: 100%;
  aspect-ratio: 1036/1382;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.review-item:hover img {
  transform: scale(1.03);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: 60px 0 20px;
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.testimonial-item {
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.testimonial-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-item img {
  width: 100%;
  aspect-ratio: 518/691;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.testimonial-item:hover img {
  transform: scale(1.03);
}

/* ========================================
   GIFS SECTION
   ======================================== */
.gifs-section {
  padding: 60px 0 20px;
  background: var(--color-bg-section);
}

.gifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gif-item {
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.gif-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gif-item img {
  width: 100%;
  object-fit: cover;
}

/* ========================================
   FINAL SECTION
   ======================================== */
.final-section {
  padding: 80px 0 100px;
  background: var(--color-bg);
  text-align: center;
}

.final-logo {
  margin-bottom: 40px;
}

.final-logo img {
  max-width: 400px;
  margin: 0 auto;
}

.final-gifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.final-cta {
  margin-top: 20px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --site-gutter: 6vw;
  }
  
  .intro-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .agenda-days {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    gap: 30px;
  }
  
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .photo-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .theme-cards {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gifs-grid {
    grid-template-columns: 1fr;
  }
  
  .final-gifs {
    grid-template-columns: 1fr;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-logo img {
    max-width: 200px;
  }
  
  .hero-sponsors img {
    max-width: 300px;
  }
  
  .hero-sponsors-secondary img {
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .stats-row {
    gap: 20px;
  }
  
  .stat-item {
    flex: 0 0 calc(33% - 14px);
  }
}
