/* ================================================
   future-events.css - Future Events Page Styles
   KOD Müzik Website
   
   Contents:
   1. Page Header
   2. Timeline Events
   3. Action Pills
   4. Newsletter Section
   5. Responsive Design
   ================================================ */

/* 1. Page Header
   ================================================ */
.future-header {
  /* Top padding is now handled by .main-content for alignment with logo */
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--color-border-light);
}

.future-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  /* REMOVED margin-top from here - desktop doesn't need it */
}

.future-subtitle {
  color: var(--color-muted);
  font-weight: 300;
}

/* 2. Timeline Events
   ================================================ */
.timeline-section {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.timeline-item {
  /* Stronger glassmorphism card */
  background: var(--glass-gradient), var(--glass-bg-alt);
  border: 1px solid var(--glass-border-alt);
  border-radius: var(--border-radius-medium);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: var(--transition-speed);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-alt);
}

/* No hover effect on cards; pills handle subtle illumination */

.timeline-content {
  display: flex;
  flex-direction: column;
}

.timeline-date {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: #b8b8b8;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.timeline-venue {
  font-family: var(--font-primary);
  color: var(--color-muted);
  font-size: 1.09rem;
  margin-bottom: 1rem;
}

/* 3. Action Pills
   ================================================ */
.timeline-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch; /* Equal width buttons */
  justify-content: flex-start;
  min-width: 138px; /* Minimum width for button container */
}

.action-pill {
  padding: 0.4rem 1.5rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition-speed);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  text-align: center; /* Center text within button */
}

/* Dark neon amber */
.pill-info {
  background: rgba(255, 193, 7, 0.12);
  color: #ffcd38;
  box-shadow:
    0 0 0 1px rgba(255, 193, 7, 0.28) inset,
    0 0 10px rgba(255, 193, 7, 0.25),
    0 0 26px rgba(255, 193, 7, 0.15);
}

.pill-info:hover,
.pill-info:focus-visible {
  background: rgba(255, 193, 7, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 193, 7, 0.35) inset,
    0 0 14px rgba(255, 193, 7, 0.35),
    0 0 34px rgba(255, 193, 7, 0.2);
}

/* Dark neon green */
.pill-tickets {
  background: rgba(76, 175, 80, 0.12);
  color: #69e071;
  box-shadow:
    0 0 0 1px rgba(76, 175, 80, 0.28) inset,
    0 0 10px rgba(76, 175, 80, 0.25),
    0 0 26px rgba(76, 175, 80, 0.15);
}

.pill-tickets:hover,
.pill-tickets:focus-visible {
  background: rgba(76, 175, 80, 0.18);
  box-shadow:
    0 0 0 1px rgba(76, 175, 80, 0.35) inset,
    0 0 14px rgba(76, 175, 80, 0.35),
    0 0 34px rgba(76, 175, 80, 0.2);
}

/* 4. Newsletter Section
   ================================================ */
.newsletter-section {
  /* Stronger glassmorphism panel */
  background: var(--glass-gradient), var(--glass-bg-alt);
  border: 1px solid var(--glass-border-alt);
  border-radius: var(--border-radius-medium);
  padding: 3rem;
  text-align: left; /* align content with header */
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-alt);
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.newsletter-text {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0; /* left align with header */
}

.newsletter-input {
  flex: 1;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--spacing-input);
  border-radius: var(--border-radius-small);
  font-family: var(--font-primary);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-muted);
}

.newsletter-button {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-small);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: var(--transition-speed);
}

.newsletter-button:hover {
  background: var(--color-accent);
  color: var(--color-background);
}

/* 5. Responsive Design
   ================================================ */

/* Mobile responsiveness */
@media (max-width: 768px) {
  .future-header {
    /* Keep padding consistent with events page */
    padding: 0 0 1.5rem;
  }

  /* FIX: Add margin-top ONLY for mobile to align with logo */
  .future-title {
    margin-top: calc(2.5rem - 38px);
  }

  /* Vertical card stack: title → date → venue → buttons */
  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 0;
  }

  .timeline-content {
    display: flex;
    flex-direction: column;
  }

  .timeline-title {
    font-size: 1.68rem;
    margin-bottom: 1.25rem;
  }

  .timeline-date {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .timeline-venue {
    font-size: 1rem;
    margin-bottom: 3.25rem;
  }

  .timeline-actions {
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }

  .action-pill {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    width: 100%;
    text-align: center;
  }

  .newsletter-section {
    padding: 2rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start; /* left align inputs on mobile too */
  }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
  .timeline-item {
    padding: 2rem 1.5rem;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .timeline-title {
    font-size: 1.2rem;
  }

  .timeline-date {
    font-size: 1rem;
  }
}

/* Large screen optimization: left-align without changing box width */
@media (min-width: 1200px) {
  .timeline-section,
  .newsletter-section {
    max-width: 800px; /* requested max width */
    margin-left: 0; /* align to the left edge */
    margin-right: auto; /* prevents centering */
  }

  .timeline-item {
    padding: 2.5rem;
  }
}
