/* TEAL Workshop Custom Styles */

:root {
  --primary-color: #008080;       /* Teal! */
  --secondary-color: #00a0a0;     /* Bright teal */
  --accent-color: #e67e22;        /* Orange (inspired by FLOC) */
  --blue-accent: #2471a3;         /* Deep blue (azulejo-inspired) */
  --dark-teal: #006666;           /* Darker teal */
  --text-color: #2d3748;          /* Charcoal */
  --light-bg: #e0f7f7;            /* Very light teal */
  --border-color: #80d0d0;        /* Light teal border */
  --highlight-bg: #ccf0f0;        /* Light teal for boxes */
}

/* Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1rem;
}

.container {
  max-width: 960px;
  padding: 1.5rem 1.5rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

/* Header Image (optional) */
.header-image-container {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  margin: -2rem -1.5rem 2rem -1.5rem;
  border-radius: 0;
}

.header-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

/* Title & Subtitle - Centered */
.lead-text {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 1.5rem 0 0.5rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--highlight-bg) 100%);
  border-radius: 8px;
  border-left: 5px solid var(--accent-color);
  border-right: 5px solid var(--accent-color);
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--dark-teal);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Highlight Box (for important info like dates) */
.highlight-box {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.highlight-box h3 {
  color: white;
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.important-dates {
  display: grid;
  gap: 0.5rem;
}

.important-dates p {
  margin: 0;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
  color: var(--text-color);
}

.important-dates strong {
  color: var(--dark-teal);
  display: inline-block;
  min-width: 180px;
  font-weight: 600;
}

/* Content Sections */
.content-section {
  margin: 1.5rem 0 0.8rem 0;
}

section h2 {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  padding-top: 0.4rem;
  padding-left: 0.8rem;
  background: linear-gradient(90deg, var(--light-bg) 0%, transparent 100%);
  border-left: 4px solid var(--blue-accent);
  border-radius: 4px;
}

section p {
  margin-bottom: 0.8rem;
}

/* Submission Types */
.submission-type {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.submission-type:hover {
  box-shadow: 0 6px 16px rgba(0, 128, 128, 0.2);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ffffff 0%, var(--highlight-bg) 100%);
}

.submission-type h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-weight: 700;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.submission-type p {
  margin-bottom: 0;
  color: var(--text-color);
  line-height: 1.5;
}

/* Lists */
ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

ul li strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Committee List */
.committee-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.committee-list li {
  padding: 0;
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.4;
}

/* Dates List */
.dates-list {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--highlight-bg) 100%);
  padding: 1.2rem;
  border-radius: 10px;
  margin: 1rem 0;
  border: 2px solid var(--border-color);
}

.dates-list dt {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

.dates-list dt:first-child {
  margin-top: 0;
}

.dates-list dd {
  margin-left: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--dark-teal);
  font-weight: 500;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-color);
  transition: all 0.2s ease;
  font-weight: 600;
}

a:hover {
  color: var(--secondary-color);
  background: var(--light-bg);
  border-bottom-color: var(--secondary-color);
}

/* Emphasis */
em {
  font-style: italic;
  font-weight: 500;
}

strong {
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
    margin-top: 1rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .lead-text {
    font-size: 1.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.6rem;
  }

  .submission-type {
    padding: 1rem;
  }

  .highlight-box {
    padding: 1.5rem;
  }

  .important-dates strong {
    display: block;
    min-width: auto;
    margin-bottom: 0.25rem;
  }

  .header-image-container {
    margin: -1rem -1rem 1.5rem -1rem;
    max-height: 200px;
  }

  .header-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section {
    padding: 2rem 0 1.5rem 0;
  }
}

/* Print Styles */
@media print {
  .container {
    max-width: 100%;
  }

  .submission-type {
    break-inside: avoid;
  }

  a {
    color: var(--primary-color);
    text-decoration: underline;
  }
}
