.bg-primary-black {
  --bs-bg-opacity: 1;
  background-color: rgba(10, 10, 10, var(--bs-bg-opacity)) !important; /* #0A0A0A */
}

.bg-primary-red {
  --bs-bg-opacity: 1;
  background-color: rgba(192, 46, 0, var(--bs-bg-opacity)) !important; /* #C02E00 */
}

.text-primary-black {
  --bs-text-opacity: 1;
  color: rgba(10, 10, 10, var(--bs-bg-opacity)) !important; /* #0A0A0A */
}

.text-primary-red {
  --bs-text-opacity: 1;
  color: rgba(192, 46, 0, var(--bs-bg-opacity)) !important; /* #C02E00 */
}

/* Reuse existing square card styles */
.action-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Coming soon overlay on hover */
.action-card.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #000;
    z-index: 2;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show overlay only when hovered */
.action-card.coming-soon:hover::after {
    opacity: 1;
}

/* Hide the normal title only when hovered */
.action-card.coming-soon:hover .action-title {
    display: none;
}

/* Custom Styles */
.bg-primary-black {
  --bs-bg-opacity: 1;
  background-color: rgba(10, 10, 10, var(--bs-bg-opacity)) !important; /* #0A0A0A */
}

.bg-primary-red {
  --bs-bg-opacity: 1;
  background-color: rgba(192, 46, 0, var(--bs-bg-opacity)) !important; /* #C02E00 */
}

.text-primary-black {
  --bs-text-opacity: 1;
  color: rgba(10, 10, 10, var(--bs-bg-opacity)) !important; /* #0A0A0A */
}

.text-primary-red {
  --bs-text-opacity: 1;
  color: rgba(192, 46, 0, var(--bs-bg-opacity)) !important; /* #C02E00 */
}

/* --- HERO VIDEO --- */
header.hero {
  position: relative;
  min-height: 90vh; /* fills most of viewport */
  display: flex;
  align-items: center;  /* vertical center for children */
}

.hero .video-wrapper {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(192, 46, 0, 0.5);
}

.hero .container {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero .row {
  width: 100%;
}

.hero-text {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  color: #0A0A0A;
}

.pace-logo {
  width: min(60%, 340px);
  height: auto;
}

.masthead,
header.masthead {
  background: none !important;
}

.action-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-card.hover-saturation img {
    filter: grayscale(0%) saturate(120%);
}

.action-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) saturate(0%);
    transition: filter 0.1s ease;
}

.action-card.hover-saturation:hover img {
    filter: grayscale(100%) saturate(0%);
}

.action-title {
    position: absolute;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    top: 5%;
    left: 5%;
    color: white;
    font-size: 2.4rem;
    font-weight: 550;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.action-text {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 500;
}

.about-section {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.about-title {
    font-size: clamp(56px, 8vw, 150px);
}

.about-copy {
    font-family: "Kosugi", system-ui, sans-serif;
    font-weight: 400;
    /* Responsive size: ~18–32px */
    font-size: clamp(18px, 1vw, 20px);
    max-width: 48ch;            /* readable line length */
}

/* Dark dropdown to match the black navbar */
#mainNav .dropdown-menu {
    background: rgba(0,0,0,.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}
#mainNav .dropdown-item {
    color: #fff;
}
#mainNav .dropdown-item:hover,
#mainNav .dropdown-item:focus {
    background: #C02E00;  /* PACE red */
    color: #fff;
}
#mainNav .dropdown-divider {
    border-top-color: rgba(255,255,255,.12);
}

.btn-pace-red {
  background-color: #C02E00; /* Solid black */
  color: #0A0A0A; /* PACE red */
  border: none;
  border-radius: 0; /* Sharp edges */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-pace-red:hover {
  background-color: #0A0A0A; /* Red background on hover */
  color: #C02E00; /* Black text on hover */
}

.btn-pace-black {
  background-color: #0A0A0A; /* Solid black */
  color: #C02E00; /* PACE red */
  border: none;
  border-radius: 0; /* Sharp edges */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-pace-black:hover {
  background-color: #C02E00; /* Red background on hover */
  color: #0A0A0A; /* Black text on hover */
}

/* Quote Section */
section.quote {
  position: relative;
  background: url('../img/quote.png') center center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

section.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark overlay for readability */
}

section.quote .container {
  position: relative;
  z-index: 2; /* ensures text appears above overlay */
}

section.quote h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.5rem;
  color: #c02e00; /* PACE brand red */
  margin-bottom: 20px;
  letter-spacing: 2px;
}

section.quote h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: #f4f4f4;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}