body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5dc;
    color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-weight: 700;
}

a {
    color: #b8860b;
    transition: color 0.2s ease;
}

a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.btn-primary {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #1a1a1a;
    font-weight: 600;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #b8860b;
    border-color: #b8860b;
    color: #1a1a1a;
    box-shadow: none;
}

.btn-outline-primary {
    border-color: #d4af37;
    color: #d4af37;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #1a1a1a;
}

.card {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid #d4af37;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.card-title {
    color: #1a1a1a;
}

.card-text {
    color: #1a1a1a;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    color: #1a1a1a;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e8d0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background-color: #ffffff;
    padding: 60px 0;
}

.bg-dark-brown {
    background-color: #1a1a1a;
    color: #f5f5dc;
}

.bg-dark-brown h1, .bg-dark-brown h2, .bg-dark-brown h3, .bg-dark-brown h4, .bg-dark-brown h5, .bg-dark-brown h6 {
    color: #d4af37;
}

.bg-dark-brown p, .bg-dark-brown li, .bg-dark-brown span {
    color: #f5f5dc;
}

/* Ensure footer headings remain readable on dark background */
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    color: #f5f5dc;
}

.bg-dark-brown a {
    color: #d4af37;
}

.bg-dark-brown a:hover {
    color: #b8860b;
}

.text-gold {
    color: #d4af37 !important;
}

.bg-gold {
    background-color: #d4af37;
    color: #1a1a1a;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    color: #f5f5dc;
    padding: 15px;
    z-index: 9999;
    border-top: 2px solid #d4af37;
    display: none;
}

#cookie-banner p {
    margin: 0;
    color: #f5f5dc;
}

#cookie-accept, #cookie-decline {
    margin-left: 10px;
}

.form-control {
    background-color: #fff;
    border: 1px solid #b8860b;
    color: #1a1a1a;
}

.form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    color: #1a1a1a;
}

.form-label {
    color: #1a1a1a;
    font-weight: 600;
}

.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #d4af37;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #d4af37;
    border-radius: 50%;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d4af37;
    padding: 20px;
    border-radius: 8px;
}

.carousel-indicators button {
    background-color: #d4af37;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #d4af37;
    border-radius: 2px;
}

.faq-item {
    border-bottom: 1px solid #d4af37;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    color: #1a1a1a;
}

.faq-question:hover {
    color: #b8860b;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    color: #1a1a1a;
}

.faq-answer.show {
    display: block;
}

.img-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e8e8d0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    border: 1px dashed #b8860b;
    margin-bottom: 15px;
}

.btn-gold {
    background-color: #d4af37;
    color: #ffffff;
    border: 1px solid #d4af37;
    font-weight: 600;
}

.btn-gold:hover, .btn-gold:focus, .btn-gold:active {
    background-color: #b8860b;
    border-color: #b8860b;
    color: #1a1a1a;
}

/* Stronger rule to ensure button text is readable (overrides other styles) */
.btn.btn-gold, a.btn-gold, button.btn-gold {
    color: #ffffff !important;
}

/* Target the specific anchor with classes btn, btn-gold, btn-lg, px-5 to guarantee white text */
a.btn.btn-gold.btn-lg.px-5,
a.btn.btn-gold.btn-lg.px-5:visited {
    color: #ffffff !important;
}
a.btn.btn-gold.btn-lg.px-5:hover,
a.btn.btn-gold.btn-lg.px-5:focus,
a.btn.btn-gold.btn-lg.px-5:active {
    color: #ffffff !important;
}

.btn-outline-gold {
    background-color: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.btn-outline-gold:hover, .btn-outline-gold:focus, .btn-outline-gold:active {
    background-color: #d4af37;
    color: #1a1a1a;
}

.offset-block {
    margin-left: 20px;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
}

@media (max-width: 768px) {
    .offset-block {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        border-top: 4px solid #d4af37;
        padding-top: 15px;
    }
}
.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);
}

