/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* 
 * For Propshaft, instead of @import, you have a few options:
 * 1. Include CSS files directly in your layout using multiple stylesheet_link_tag calls
 * 2. Copy the contents of theme.css into this file
 * 3. Configure Propshaft to serve individual CSS files
 */

/* You can also include your own custom styles directly here */

.brand-font {
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.12rem;
}

.brand-subtitle {
  font-size: 0.7em;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.5);
}

.brand-tm {
  font-size: 0.7em;
  font-weight: normal;
}

#landingPage .navbar .navbar-collapse .nav-item .nav-link,
#blogPage .navbar .navbar-collapse .nav-item .nav-link {
  color: #ffffff !important;
}

.navbar .navbar-collapse .nav-item .nav-link{
  color: #000000 !important;
}

/* Fix navbar positioning on mobile - make it push content down instead of overlaying */
@media (max-width: 991.98px) {
  .navbar-brand {
    color: white !important;
  }

  .brand-subtitle {
    font-size: 0.7em;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.5);
  }

  .navbar .navbar-collapse .nav-item .nav-link{
    color: white !important;
  }
}

.bg-overlay-light:after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, .85);
  z-index: 2;
}

.has-overlay .container {
  z-index: 2;
  position: relative;
}

p.lead.aaha span {
  background-color: #B13246;
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: bold;
}

footer p.aaha-disclaimer {
  font-size: 0.8em;
  color: #666666;
}

footer p.copyright {
  font-size: 0.8em;
  color: #666666;
}

.text-aaha {
  color: #B13246;
}

#blogPage .intro-content h1,
#blogPage .intro-content .lead,
#blogPage .intro-content p.publication-date {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Rails field_with_errors styling */
.field_with_errors {
  display: inline-block;
  width: 100%;
}

.field_with_errors input,
.field_with_errors select,
.field_with_errors textarea {
  border-color: #dc3545 !important;
  background-color: #fff5f5;
}

.field_with_errors input:focus,
.field_with_errors select:focus,
.field_with_errors textarea:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.field_with_errors label {
  color: #dc3545;
}