@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-color: dimgray;
  --accent-color: turquoise;
}

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

body {
  font-family: 'Prompt', sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 18px;
}

/* Navigation Styles */
nav ul,
nav ol,
footer ul,
footer ol {
  list-style: none !important;
}

nav ul::before,
nav ol::before,
nav li::before,
nav li::after,
footer ul::before,
footer ol::before,
footer li::before,
footer li::after {
  display: none !important;
  content: none !important;
}

/* Reset default list styles */
ul, ol {
  list-style: none;
  padding-left: 0;
}

/* Content list styling with turquoise chevron markers */
.content-section ul,
.content-section ol {
  margin-left: 0;
  padding-left: 0;
}

.content-section ul li,
.content-section ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  list-style: none;
}

.content-section ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: turquoise;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
}

.content-section ol {
  counter-reset: item;
}

.content-section ol li {
  counter-increment: item;
}

.content-section ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  color: turquoise;
  font-weight: 600;
  font-size: 18px;
}

/* Hero Section */
.hero-section {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(105, 105, 105, 0.85) !important;
}

.hero-content {
  position: relative !important;
  z-index: 10 !important;
  text-align: center !important;
  color: white !important;
  padding: 40px 20px !important;
  max-width: 900px !important;
}

.hero-content h1 {
  color: white !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.hero-content p {
  color: white !important;
  font-size: 20px !important;
  margin-bottom: 32px !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: turquoise;
  color: dimgray;
}

.btn-primary:hover {
  background-color: #40E0D0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 224, 208, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid turquoise;
}

.btn-outline:hover {
  background-color: turquoise;
  color: dimgray;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: white;
}

thead {
  background-color: dimgray;
  color: white;
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  font-size: 18px;
}

th {
  font-weight: 600;
}

tbody tr:hover {
  background-color: #f5f5f5;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 32px;
  border-left: 4px solid turquoise;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

picture {
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: dimgray;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

h1 {
  font-size: 48px !important;
}

h2 {
  font-size: 36px !important;
  
}

h3 {
  font-size: 28px !important;
  
}

p {
  margin-bottom: 16px !important;
  font-size: 18px;
  line-height: 1.8;
}

strong {
  color: dimgray;
  font-weight: 600;
}

em {
  color: turquoise;
  font-style: normal;
  font-weight: 500;
}

/* Navigation */
.navbar {
  background-color: dimgray;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.nav-brand span {
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: turquoise;
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: dimgray;
  color: white;
  padding: 48px 20px 24px;
  margin-top: 64px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}

.footer-section h3 {
  color: turquoise;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none !important;
}

.footer-section ul li {
  margin-bottom: 8px;
  padding-left: 0 !important;
}

.footer-section ul li::before {
  display: none !important;
  content: none !important;
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: turquoise;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 16px;
}

/* Table of Contents */
.toc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
  justify-content: center;
}

.toc-btn {
  padding: 10px 24px;
  border: 2px solid dimgray;
  background-color: transparent;
  color: dimgray;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.toc-btn:hover {
  background-color: dimgray;
  color: white;
}

/* Content Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-section {
  margin: 64px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px !important;
  }

  .hero-content p {
    font-size: 18px !important;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .btn {
    font-size: 16px;
    padding: 12px 24px;
  }

  body {
    font-size: 17px;
  }

  p, th, td, .content-section ul li, .content-section ol li {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px !important;
  }

  .hero-content p {
    font-size: 16px !important;
  }

  .toc-buttons {
    flex-direction: column;
  }

  .toc-btn {
    width: 100%;
    text-align: center;
  }
}
