/* Schedule Page Styles */

/* CSS Variables - Import from design system */
:root {
  /* Brand */
  --fox-orange: #B45628;
  --fox-orange-hover: #AF7551;

  /* Neutrals */
  --ink: #000000;
  --white: #FFFFFF;
  --cloud: #E6E7E8;
  --gray: #6D6E70;

  /* Backgrounds */
  --bg-primary: #EFDBBB;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;

  /* Text */
  --text-primary: #5E4E41;
  --text-secondary: #3C4242;
  --text-muted: #6D6E70;

  /* Links */
  --link: #B45628;
  --link-hover: #3C4242;

  /* Buttons */
  --button-bg: #B45628;
  --button-bg-hover: #3C4242;

  /* Borders */
  --border-light: rgba(0, 0, 0, 0.12);
  --border-default: rgba(0, 0, 0, 0.18);

  /* Shadows */
  --shadow-soft: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.08);

  /* Inputs */
  --input-bg: rgba(0, 0, 0, 0.05);
  --input-bg-hover: #E6E6E6;
  --input-text: #000000;
  --input-border: transparent;
  --input-border-focus: rgba(0, 0, 0, 0.18);
}

/* Body Reset - Override index.css */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  display: block;
}

/* Main Container */
.schedule {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: calc(100vh - 80px);
}

/* Header */
.schedule__header {
  text-align: center;
  margin-bottom: 3rem;
}

.schedule__header h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-primary);
  margin-bottom: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.schedule__header p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* Topics Section */
.schedule__topics {
  margin-bottom: 3rem;
}

.schedule__topics h2 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 2.25rem;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.topic-list li {
  margin: 0;
}

.topic-list button {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 1.05rem 0.9rem;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.12s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.topic-list button:hover {
  background: var(--bg-primary);
}

.topic-list button:active {
  background: var(--bg-card);
}

.topic-list button[data-topic] {
  position: relative;
}

/* Calendar Section */
.schedule__calendar {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.schedule__calendar h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

.calendar-placeholder {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 2px dashed var(--border-default);
}

.calendar-placeholder p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Contact form styles */
.schedule__contact {
  margin: 0 auto 2.5rem;
  max-width: 720px;
}

.contact-form {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--border-light);
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  font-size: 0.95rem;
  color: var(--input-text);
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.form-actions .btn-primary {
  padding: 0.8rem 1.25rem;
}

.form-actions .btn-secondary {
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
}

/* Actions */
.schedule__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease;
  display: inline-block;
  text-align: center;
  border: none;
}

.btn-primary {
  background: var(--button-bg);
  color: #EFDBBB;
}

.btn-primary:hover {
  background: var(--button-bg-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-primary);
  border-color: var(--button-bg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .schedule {
    padding: 2rem 1.5rem;
  }

  .schedule__header h1 {
    font-size: 2rem;
  }

  .schedule__header p {
    font-size: 1rem;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .schedule__calendar {
    padding: 1.5rem;
  }

  .calendar-placeholder {
    padding: 2rem 1rem;
  }

  .schedule__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    font-size: 1rem;
    padding: 12px 24px;
  }

  /* Contact form mobile adjustments */
  .contact-form {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
    align-items: stretch;
  }

  .form-actions .btn-primary,
  .form-actions .btn-secondary {
    width: 100%;
  }
}
