/* ─── Timeline Container (Two Column Layout) ─── */
.timeline-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 4rem auto;
  padding-left: 10rem;
  
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}

/* ─── Left: Sticky Social Card ─── */
.timeline-social-sticky {
  position: sticky;
  top: 120px;
}

.social-sticky-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  
  overflow: hidden;
}

.social-sticky-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  translate: -50% 0;
  width: 120%;
  height: 120%;
  
  background: radial-gradient(
    ellipse,
    rgba(107, 124, 255, 0.15) 0%,
    rgba(138, 95, 255, 0.1) 35%,
    rgba(196, 90, 173, 0.08) 60%,
    transparent 80%
  );
  
  pointer-events: none;
  animation: stickyGlowPulse 6s ease-in-out infinite;
}

@keyframes stickyGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.social-sticky-title {
  position: relative;
  z-index: 1;
  
  font-family: 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  
  background: linear-gradient(120deg, #6b7cff, #c45aad, #e8655a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-sticky-subtitle {
  position: relative;
  z-index: 1;
  
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.social-sticky-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-sticky-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 14px;
  
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.social-sticky-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, currentColor, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.social-sticky-link.instagram { --link-color: #E1306C; }
.social-sticky-link.oyunlar { --link-color: #6b7cff; }

.social-sticky-link:hover {
  border-color: var(--link-color);
  transform: translateX(4px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--link-color) 25%, transparent);
}

.social-sticky-link:hover::before {
  opacity: 0.08;
}

.social-sticky-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  
  transition: background 0.35s ease;
}

.social-sticky-link:hover .social-sticky-icon {
  background: color-mix(in srgb, var(--link-color) 15%, transparent);
}

.social-sticky-icon svg {
  stroke: rgba(255, 255, 255, 0.7);
  transition: stroke 0.35s ease;
}

.social-sticky-link:hover .social-sticky-icon svg {
  stroke: var(--link-color);
}

.social-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.social-sticky-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.social-sticky-handle {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.social-sticky-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  margin: 2rem 0;
  
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(107, 124, 255, 0.3) 20%,
    rgba(196, 90, 173, 0.3) 50%,
    rgba(232, 101, 90, 0.3) 80%,
    transparent 100%
  );
}

/* Decorations - Theatre Mask & Lyra */
.social-sticky-decorations {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.sticky-decoration {
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  filter: grayscale(30%);
  transition: all 0.4s ease;
  animation: decorationFloat 4s ease-in-out infinite;
}

.sticky-decoration:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
}

.sticky-decoration.mask {
  background-image: url("/img/theatre_mask_copy.png");
  animation-delay: 0s;
}

.sticky-decoration.lyra {
  background-image: url("/img/lyra_copy.png");
  animation-delay: 2s;
}

@keyframes decorationFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* ─── Right: Timeline Venues ─── */
.timeline-venues {
  position: relative;
  padding: 0 0 4rem 3rem;
}

/* ─── Vertical Line ─── */
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  
  background: linear-gradient(
    180deg,
    transparent 0%,
    #6b7cff 10%,
    #8a5fff 30%,
    #c45aad 60%,
    #e8655a 85%,
    transparent 100%
  );
  
  box-shadow: 0 0 20px rgba(107, 124, 255, 0.3);
}

/* ─── Timeline Item (All on Right) ─── */
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
  padding-left: 40px;
  
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Timeline Dot ─── */
.timeline-dot {
  position: absolute;
  left: 0;
  top: 24px;
  transform: translateX(-50%);
  
  width: 20px;
  height: 20px;
  border-radius: 50%;
  
  background: linear-gradient(135deg, #6b7cff, #c45aad);
  border: 3px solid rgba(0, 0, 0, 0.9);
  box-shadow: 
    0 0 0 4px rgba(107, 124, 255, 0.2),
    0 0 20px rgba(107, 124, 255, 0.4);
  
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-item.visible .timeline-dot {
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(107, 124, 255, 0.2), 0 0 20px rgba(107, 124, 255, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(107, 124, 255, 0.1), 0 0 30px rgba(107, 124, 255, 0.6); }
}

/* ─── Timeline Card ─── */
.timeline-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  cursor: pointer;
}

/* ─── Collapsed State ─── */
.card-collapsed {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  
  padding: 1rem 1.2rem;
  border-radius: 16px;
  
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-card:hover .card-collapsed {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.timeline-card.expanded .card-collapsed {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
}

.collapsed-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.collapsed-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.timeline-card:hover .collapsed-thumbnail img {
  transform: scale(1.1);
}

.collapsed-content {
  flex-grow: 1;
  min-width: 0;
}

.collapsed-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collapsed-location {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.expand-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  
  transition: all 0.3s ease;
}

.expand-btn:hover {
  background: linear-gradient(135deg, rgba(107, 124, 255, 0.3), rgba(196, 90, 173, 0.3));
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.expand-btn svg {
  stroke: rgba(255, 255, 255, 0.8);
  transition: stroke 0.3s ease;
}

.expand-btn:hover svg {
  stroke: #fff;
}

/* ─── Expanded State ─── */
.card-expanded {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  
  transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease;
}

.timeline-card.expanded .card-expanded {
  max-height: 800px;
  opacity: 1;
}

.expanded-image {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.expanded-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.expanded-content {
  padding: 2rem 2rem 1.8rem;
  border-radius: 0 0 16px 16px;
  
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  backdrop-filter: blur(12px);
}

.expanded-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  
  background: linear-gradient(120deg, #6b7cff, #c45aad, #e8655a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.expanded-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.detail-row svg {
  stroke: #8a5fff;
  flex-shrink: 0;
}

.expanded-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  
  margin-bottom: 1.8rem;
}

.collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  
  transition: all 0.3s ease;
}

.collapse-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.collapse-btn svg {
  stroke: rgba(255, 255, 255, 0.8);
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .timeline-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .timeline-social-sticky {
    position: relative;
    top: 0;
  }
  
  .timeline-venues {
    padding-left: 3rem;
  }
}

@media (max-width: 640px) {
  .timeline-container {
    padding: 2rem 1rem 3rem;
  }
  
  .timeline-venues {
    padding-left: 2rem;
  }
  
  .social-sticky-card {
    padding: 2rem 1.5rem;
  }
  
  .collapsed-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .expanded-image {
    height: 200px;
  }
  
  .expanded-content {
    padding: 1.5rem 1.2rem;
  }
}