/* Custom Coaching - Athletic & Motivational Styles */

/* ============================================
   BASE & LAYOUT
   ============================================ */

html {
  color-scheme: light;
}

body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); /* Dark athletic gradient */
  background-attachment: fixed;
  color: #f1f5f9; /* Light text */
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

body ::selection {
  background-color: #3b82f6; /* Electric blue */
  color: #ffffff;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); /* Bold blue gradient */
  border-bottom: 3px solid #60a5fa;
  position: sticky;
  top: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  z-index: 30;
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.site-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-logo:hover {
  color: #dbeafe;
}

nav {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

nav a.active {
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

/* ============================================
   BANNER
   ============================================ */

.banner {
  width: 100%;
  height: 18rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1024px) {
  .banner {
    height: 22rem;
  }
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.1) saturate(1.2);
}

.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  padding: 0 1.5rem;
}

article {
  max-width: 52rem;
  margin: 2.5rem auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid #475569;
}

article h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #60a5fa;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  article h1 {
    font-size: 2.75rem;
  }
}

/* Prose styling for generated content */
article.prose {
  color: #e2e8f0;
}

/* Paragraph spacing for better readability */
article.prose p {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Additional spacing for headings within articles */
article.prose h2 {
  margin-top: 2.5em;
  margin-bottom: 1em;
  font-size: 1.75rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.5rem;
}

article.prose h3 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-size: 1.4rem;
  font-weight: 600;
  color: #93c5fd;
}

/* List spacing */
article.prose ul,
article.prose ol {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 1.75em;
}

article.prose li {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  font-size: 1.05rem;
}

article.prose ul li {
  list-style-type: none;
  position: relative;
  padding-left: 0.5em;
}

article.prose ul li::before {
  content: '▸';
  position: absolute;
  left: -1em;
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.2em;
}

/* Code blocks */
article.prose pre {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  background-color: #0f172a;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid #3b82f6;
}

article.prose code {
  background-color: #1e293b;
  color: #93c5fd;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 500;
  border: 1px solid #334155;
}

article.prose pre code {
  background-color: transparent;
  padding: 0;
  border: none;
}

/* Tables */
article.prose table {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

article.prose th,
article.prose td {
  border: 1px solid #475569;
  padding: 0.75rem 1rem;
  text-align: left;
}

article.prose th {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

article.prose td {
  background-color: #1e293b;
}

article.prose tr:hover td {
  background-color: #334155;
}

/* Blockquotes */
article.prose blockquote {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 1.5em;
  padding-left: 2em;
  border-left: 4px solid #3b82f6;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
  border-radius: 8px;
  font-style: italic;
  color: #cbd5e1;
  font-size: 1.1rem;
  position: relative;
}

article.prose blockquote::before {
  content: '"';
  position: absolute;
  top: 0.2em;
  left: 0.3em;
  font-size: 3rem;
  color: #3b82f6;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* Links in prose */
article.prose a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #3b82f6;
  transition: all 0.2s;
}

article.prose a:hover {
  color: #93c5fd;
  border-bottom-color: #60a5fa;
  background-color: rgba(59, 130, 246, 0.1);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
  max-width: 36rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid #475569;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 8px;
  background-color: #0f172a;
  border: 2px solid #334155;
  padding: 0.75rem;
  color: #e2e8f0;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: #1e293b;
}

.btn-submit {
  padding: 0.85rem 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ============================================
   LINKS SECTIONS
   ============================================ */

.links-section {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.8) 100%);
  border-radius: 12px;
  border: 1px solid #475569;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.links-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.75rem;
}

.links-section ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.links-section li {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5em;
}

.links-section li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.2em;
}

.links-section a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.2s;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.links-section a:hover {
  color: #dbeafe;
  background-color: rgba(59, 130, 246, 0.2);
  transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 3px solid #3b82f6;
  padding: 2rem 0;
  font-size: 0.95rem;
  text-align: center;
  color: #94a3b8;
  margin-top: 4rem;
  font-weight: 500;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

footer strong {
  color: #60a5fa;
  font-weight: 700;
}
