/* ============================
   MAIN STYLES - Kunstbar Olpenitz
   Primary Color: goldenrod
   Accent Color: magenta
   ============================ */

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

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  background-color: #ffffff;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #222;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.4;
}

p {
  font-size: 18px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

code {
  background-color: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 18px;
  font-family: 'Courier New', monospace;
}

strong {
  font-weight: 600;
  color: #222;
}

/* Navigation Menu */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-item {
  font-size: 18px;
  font-weight: 500;
  color: #333 !important;
  transition: color 0.3s ease;
}

.navbar-item:hover {
  color: goldenrod !important;
  background-color: transparent !important;
}

.navbar-burger {
  color: #333;
}

.navbar-menu {
  list-style: none !important;
}

.navbar-menu ul,
.navbar-menu li {
  list-style: none !important;
}

.navbar-menu ul::before,
.navbar-menu li::before,
.navbar-menu ul::after,
.navbar-menu li::after {
  display: none !important;
}

.navbar-start .navbar-item,
.navbar-end .navbar-item {
  list-style: none !important;
}

.navbar-start .navbar-item::before,
.navbar-end .navbar-item::before,
.navbar-start .navbar-item::after,
.navbar-end .navbar-item::after {
  display: none !important;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: goldenrod;
}

.logo-img {
  width: 50px;
  height: 50px;
  box-shadow: none !important;
}

/* CTA Buttons */
.cta-button {
  background-color: transparent !important;
  border: 2px solid goldenrod !important;
  color: goldenrod !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
  text-decoration: none;
  display: inline-block;
  font-size: 18px !important;
}

.cta-button:hover {
  background-color: goldenrod !important;
  color: #ffffff !important;
}

/* Hero Section */
.hero {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  padding: 5rem 1.5rem !important;
  text-align: center !important;
}

.hero h1 {
  color: #ffffff !important;
  font-size: 2.8rem !important;
  margin-bottom: 1.5rem !important;
}

.hero p {
  color: #f0f0f0 !important;
  font-size: 20px !important;
  margin-bottom: 2rem !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-button {
  border-color: goldenrod !important;
  color: goldenrod !important;
  margin-top: 1.5rem !important;
}

.hero .cta-button:hover {
  background-color: goldenrod !important;
  color: #1a1a1a !important;
}

/* Table of Contents */
.toc-container {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid goldenrod;
}

.toc-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.toc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.toc-button {
  background-color: transparent !important;
  border: 2px solid magenta !important;
  color: magenta !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  text-decoration: none;
  white-space: nowrap;
  font-size: 17px !important;
}

.toc-button:hover {
  background-color: magenta !important;
  color: #ffffff !important;
}

/* Sections */
.section {
  padding: 3rem 1.5rem;
}

.section-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.table {
  width: 100%;
  background-color: #ffffff;
  font-size: 18px;
}

.table thead {
  background-color: goldenrod;
}

.table thead th {
  color: #ffffff;
  font-weight: 600;
  padding: 1rem;
  border: none;
  font-size: 18px;
}

.table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  font-size: 18px;
}

.table tbody tr:hover {
  background-color: #f9f9f9;
}

/* Lists */
ul, ol {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.content ul,
.content ol {
  margin-left: 2rem;
}

.content ul li,
.content ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 18px;
  line-height: 1.7;
}

/* Lists with icons */
.content ul li i.icon,
.content ol li i.icon {
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 16px;
}


li::marker {
  display: none !important;
  content: none !important;
}

/* Lists without icons get square markers */
.content ul li:not(:has(i.icon))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background-color: magenta;
  display: block;
}

.content ol {
  counter-reset: custom-counter;
}

.content ol li {
  counter-increment: custom-counter;
}

.content ol li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: magenta;
}

/* Icons */
.icon {
  color: goldenrod;
  margin-right: 0.5rem;
}

.icon.accent {
  color: magenta;
}

/* Images */
picture {
  display: block;
  margin: 2rem 0;
}

picture img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-left: 4px solid goldenrod;
}

.card h3 {
  margin-top: 0;
  color: goldenrod;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
}

.footer a {
  color: goldenrod;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 18px;
}

.footer a:hover {
  color: magenta;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer ul,
.footer li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.footer ul::before,
.footer li::before,
.footer ul::after,
.footer li::after {
  display: none !important;
}

.footer .footer-column {
  margin-bottom: 2rem;
}

.footer .footer-column ul li {
  margin-bottom: 0.75rem;
  padding-left: 0 !important;
}

.footer .copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
  font-size: 17px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 2.3rem !important;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p, .table, .cta-button, .navbar-item, .footer a {
    font-size: 17px;
  }

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

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

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

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

  .section {
    padding: 2rem 1rem;
  }

  .card, .section-card {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero {
    padding: 3rem 1rem !important;
  }

  .hero h1 {
    font-size: 1.8rem !important;
  }

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

/* Accessibility and Readability */
a:focus,
button:focus {
  outline: 2px solid goldenrod;
  outline-offset: 2px;
}

::selection {
  background-color: goldenrod;
  color: #ffffff;
}

/* Ensure contrast */
.has-text-dark {
  color: #222 !important;
}

.has-background-light {
  background-color: #f9f9f9 !important;
}
