/* Site-specific overrides on top of the Brailie theme */

/* Text logo (replaces the Brailie image logo) */
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff !important;
  white-space: nowrap;
}
footer .logo-text { font-size: 16px; }

/* Keep slider captions readable on bright photos */
.hero-shadow { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }

/* Grid images keep their proportions while loading */
#cube-grid img { width: 100%; height: auto; }

/* Lightbox caption: camera settings in a quieter tone */
.lg-sub-html .lg-gear { opacity: 0.6; font-size: 12px; letter-spacing: 0.5px; margin-top: 4px; }
.lg-sub-html h5 { font-size: 16px; }

/* Discourage casual right-click saving */
#cube-grid img, .rev_slider img { -webkit-user-drag: none; user-select: none; }

/* Portfolio: race filter links */
.event-filter a {
  display: inline-block;
  margin: 4px 6px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}
.event-filter a:hover, .event-filter a.active { color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* Race cards: same height regardless of photo orientation */
.race-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Contact form on a dark background */
.dark-wrapper .form-control {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.dark-wrapper .form-control:focus { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.dark-wrapper .form-control::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-control.is-invalid { border-color: #e2626b; }
.invalid-feedback { display: none; color: #e2626b; font-size: 13px; }
.form-control.is-invalid ~ .invalid-feedback { display: block; }
.form-notice:empty { display: none; }
.form-notice { padding: 12px 18px; border-radius: 6px; }
.form-notice.is-success { background: rgba(70, 180, 120, 0.15); color: #7fd4a4; }
.form-notice.is-error { background: rgba(226, 98, 107, 0.15); color: #f1949a; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) {
  .pr-md-10 { padding-right: 10px; }
  .pl-md-10 { padding-left: 10px; }
}

/* About: one full-screen photo with a phrase, an invitation and a button */
.about-fullscreen { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 160px 0; }
.about-fullscreen > .container { width: 100%; }
.about-fullscreen.image-wrapper:before { background: linear-gradient(rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0.55)); }
.about-quote { color: #fff; font-size: 48px; line-height: 1.2; letter-spacing: 1px; max-width: 950px; margin: 0 auto; text-wrap: balance; }
.about-divider { width: 60px; height: 2px; margin: 36px auto 30px; background: rgba(255, 255, 255, 0.6); }
.about-intro { color: rgba(255, 255, 255, 0.92); font-size: 19px; line-height: 1.8; max-width: 720px; margin: 0 auto 36px; text-wrap: balance; }
.about-cta { padding-left: 34px; padding-right: 34px; }
@media (max-width: 767px) {
  .about-fullscreen { padding: 110px 0; }
  .about-quote { font-size: 30px; }
  .about-intro { font-size: 16px; }
}
