/* Global Variables */
:root {
    --bg-sand: #F5F0E6;
    --text-dark: #2C2C2C;
    --bg-bordeaux: #722F37;
    --bg-dark-brown: #4A1C23;
    --border-color: #e0dcd3;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-sand);
    line-height: 1.6;
}

/* Background Utilities */
.bg-sand {
    background-color: var(--bg-sand) !important;
}

.bg-bordeaux {
    background-color: var(--bg-bordeaux) !important;
}

.bg-dark-brown {
    background-color: var(--bg-dark-brown) !important;
}

/* Text Utilities */
.text-bordeaux {
    color: var(--bg-bordeaux) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

/* Button Styles */
.btn-bordeaux {
    background-color: var(--bg-bordeaux);
    border-color: var(--bg-bordeaux);
    color: #ffffff;
}

.btn-bordeaux:hover,
.btn-bordeaux:focus {
    background-color: #5a262d;
    border-color: #5a262d;
    color: #ffffff;
}

.btn-bordeaux:active {
    background-color: #4a1f25;
    border-color: #4a1f25;
    color: #ffffff;
}

.btn-bordeaux:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(114, 47, 55, 0.5);
}

/* Outline Button Dark */
.btn-outline-dark {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--bg-sand);
}

.btn-outline-dark:focus {
    background-color: var(--bg-sand);
    color: var(--text-dark);
    box-shadow: 0 0 0 0.2rem rgba(44, 44, 44, 0.25);
}

.btn-outline-dark:not(:disabled):not(.disabled):active {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--bg-sand);
}

/* Navbar */
.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--bg-bordeaux);
}

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Links */
a {
    color: var(--bg-bordeaux);
    text-decoration: underline;
}

a:hover {
    color: var(--bg-dark-brown);
}

/* Footer Links */
footer a {
    color: #ffffff;
    opacity: 0.75;
}

footer a:hover {
    opacity: 1;
    color: #ffffff;
    text-decoration: underline;
}

/* Form Controls */
.form-control {
    border-color: #ced4da;
}

.form-control:focus {
    border-color: var(--bg-bordeaux);
    box-shadow: 0 0 0 0.2rem rgba(114, 47, 55, 0.25);
}

/* Hero Section Specifics */
.hero-section {
    position: relative;
}

/* Accessibility Focus */
*:focus-visible {
    outline: 2px solid var(--bg-bordeaux);
    outline-offset: 2px;
}

/* Cookie Banner Specifics */
#cookie-banner {
    border-top: 3px solid var(--bg-bordeaux);
}

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

/* Hover effects for opacity utility replacement */
.hover-opacity-100:hover {
    opacity: 1 !important;
}
.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);
}

