/* Reset & Base */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #111111;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Typography & Colors */
.text-emerald { color: #059669 !important; }
.bg-emerald { background-color: #059669 !important; }
.bg-emerald-light { background-color: #d1fae5 !important; }
.text-dark { color: #111111 !important; }
.text-secondary { color: #444444 !important; }
.border-emerald { border-color: #059669 !important; }

/* Buttons */
.btn-primary.emerald-btn {
    background-color: #059669;
    border-color: #059669;
    color: #ffffff;
}

.btn-primary.emerald-btn:hover,
.btn-primary.emerald-btn:focus {
    background-color: #047857;
    border-color: #047857;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(5, 150, 105, 0.3);
}

.btn-primary.emerald-btn:active {
    background-color: #047857;
    border-color: #047857;
    color: #ffffff;
}

.btn-outline-dark {
    color: #111111;
    border-color: #111111;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: #111111;
    color: #ffffff;
}

.btn-outline-secondary {
    color: #444444;
    border-color: #cccccc;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #444444;
    border-color: #444444;
    color: #ffffff;
}

/* Cards */
.card {
    border-radius: 4px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link:focus {
    color: #059669 !important;
}

/* Forms */
.form-control,
.form-select {
    border-color: #e5e7eb;
    padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: #d1fae5;
    color: #111111;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111111'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Utilities */
.min-vh-75 {
    min-height: 75vh;
}

.max-width-800 {
    max-width: 800px;
}

/* Accessibility Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Cookie Banner */
#cookie-banner {
    display: none;
}

#cookie-banner.show {
    display: block;
}
.card img,
.bg-light img,
.container img {
  display: block;
  width: 100%;
  height: auto;
}
/* Font safety overrides */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
input,
textarea,
select {
  font-family: var(--font-sans);
}
/* WP Generator feature helpers */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  z-index: 9999;
  transition: width 120ms ease-out;
}
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9998;
}
.scroll-top.is-visible {
  opacity: 0.95;
  transform: translateY(0);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

