/* Custom styles for static HTML version */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Make sure the root and body take up full height */
:root {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

/* CSS Grid layout for sticky footer */
.site-layout {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header"
    "main"
    "footer";
}
.site-header {
  grid-area: header;
}
.site-main {
  grid-area: main;
}
.site-footer {
  grid-area: footer;
}

/* Wrapper styles */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility classes */
.container-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-spacing {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Custom aspect ratio utilities */
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

/* Custom gradient backgrounds */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-50 {
  --tw-gradient-from: #eff6ff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.to-blue-100 {
  --tw-gradient-to: #dbeafe;
}

.from-purple-50 {
  --tw-gradient-from: #faf5ff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0));
}

.to-purple-100 {
  --tw-gradient-to: #f3e8ff;
}

.from-yellow-50 {
  --tw-gradient-from: #fffbeb;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 251, 235, 0));
}

.to-yellow-100 {
  --tw-gradient-to: #fef3c7;
}

.from-red-50 {
  --tw-gradient-from: #fef2f2;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(254, 242, 242, 0));
}

.to-red-100 {
  --tw-gradient-to: #fee2e2;
}

/* Mobile menu transitions */
.mobile-menu-enter {
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

.mobile-menu-exit {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

/* Hover effects */
.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}

.hover\:bg-green-700:hover {
  background-color: #15803d;
}

.hover\:text-blue-500:hover {
  color: #3b82f6;
}

.hover\:text-white:hover {
  color: #ffffff;
}

/* Focus states */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-blue-500:focus {
  --tw-ring-color: #3b82f6;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .sm\:mt-5 {
    margin-top: 1.25rem;
  }
  
  .sm\:mt-8 {
    margin-top: 2rem;
  }
  
  .sm\:flex {
    display: flex;
  }
  
  .sm\:justify-center {
    justify-content: center;
  }
  
  .sm\:ml-3 {
    margin-left: 0.75rem;
  }
  
  .sm\:mt-0 {
    margin-top: 0px;
  }
  
  .sm\:max-w-xl {
    max-width: 36rem;
  }
  
  .sm\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .md\:py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .md\:px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
  
  .md\:mt-0 {
    margin-top: 0px;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:inline-flex {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .lg\:text-left {
    text-align: left;
  }
  
  .lg\:justify-start {
    justify-content: flex-start;
  }
  
  .lg\:justify-end {
    justify-content: flex-end;
  }
  
  .lg\:mx-0 {
    margin-left: 0px;
    margin-right: 0px;
  }
  
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Default styles for HTML tags without classes */

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

h5 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #374151;
}

/* Text formatting */
strong, b {
  font-weight: 600;
  color: #1f2937;
}

em, i {
  font-style: italic;
}

small {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Code elements */
code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  background-color: #f3f4f6;
  color: #dc2626;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

pre {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  line-height: 1.5;
}

pre code {
  background-color: transparent;
  color: #374151;
  padding: 0;
}

kbd {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.75rem;
  background-color: #374151;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #6b7280;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
}

blockquote p {
  margin-bottom: 0;
}

blockquote cite {
  font-style: normal;
  font-weight: 500;
  color: #374151;
  display: block;
  margin-top: 0.5rem;
}

blockquote cite:before {
  content: "— ";
}

/* Lists - only style lists without classes */
ul:not([class]), ol:not([class]) {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

ul:not([class]) {
  list-style-type: disc;
}

ol:not([class]) {
  list-style-type: decimal;
}

ul:not([class]) li, ol:not([class]) li {
  margin-bottom: 0.25rem;
  line-height: 1.6;
  color: #374151;
}

ul:not([class]) ul, ol:not([class]) ol, ul:not([class]) ol, ol:not([class]) ul {
  margin-bottom: 0;
  margin-top: 0.25rem;
}

/* Links - only style links without classes */
a:not([class]) {
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

a:not([class]):hover {
  color: #1d4ed8;
  text-decoration: none;
}

a:not([class]):focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Form elements - only style elements without classes */
input:not([class]), textarea:not([class]), select:not([class]) {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  width: 100%;
  margin-bottom: 1rem;
}

input:not([class]):focus, textarea:not([class]):focus, select:not([class]):focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea:not([class]) {
  min-height: 6rem;
  resize: vertical;
}

select:not([class]) {
  cursor: pointer;
}

button:not([class]) {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: white;
  background-color: #3b82f6;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:not([class]):hover {
  background-color: #1d4ed8;
}

button:not([class]):focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

button:not([class]):disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

/* Labels - only style labels without classes */
label:not([class]) {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

/* Tables - only style tables without classes */
table:not([class]) {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

table:not([class]) th, table:not([class]) td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

table:not([class]) th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table:not([class]) td {
  color: #6b7280;
}

table:not([class]) tr:hover {
  background-color: #f9fafb;
}

/* Images - only add border-radius to images without classes */
img {
  max-width: 100%;
  height: auto;
}

img:not([class]) {
  border-radius: 0.375rem;
}

/* Horizontal rule */
hr {
  border: none;
  height: 1px;
  background-color: #e5e7eb;
  margin: 2rem 0;
}

/* Address */
address {
  font-style: normal;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Abbreviations */
abbr[title] {
  border-bottom: 1px dotted #6b7280;
  cursor: help;
  text-decoration: none;
}

/* Mark/Highlight */
mark {
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

/* Details and Summary */
details {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
}

summary {
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

summary:hover {
  color: #3b82f6;
}

/* Figure and Figcaption */
figure {
  margin: 1.5rem 0;
}

figcaption {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p, blockquote, table, figure {
    page-break-inside: avoid;
  }
} 