/*
 * 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;
}

.navbar-brand {
  color: white !important;
}

/* Fix navbar positioning on mobile - make it push content down instead of overlaying */
@media (max-width: 991.98px) {
  .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;
}

/* Legal pages (Terms of Service, Privacy Policy) */
.legal-page {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem 3rem;
}

.legal-page .legal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-page .legal-dates {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
}

.legal-page .legal-dates strong {
  font-weight: 600;
  color: #374151;
}

.legal-page .legal-section {
  margin-bottom: 2.25rem;
}

.legal-page .legal-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.legal-page .legal-section h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.legal-page .legal-section p {
  color: #374151;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.legal-page .legal-section p:last-child {
  margin-bottom: 0;
}

.legal-page .legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page .legal-section ul li {
  color: #374151;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.legal-page .legal-section ul li:last-child {
  margin-bottom: 0;
}

.legal-page .legal-section a {
  color: #437DC8;
  text-decoration: none;
}

.legal-page .legal-section a:hover {
  color: #3566b3;
  text-decoration: underline;
}

.legal-page .legal-contact {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.legal-page .legal-contact p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.legal-page .legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.legal-page .legal-footer a {
  color: #437DC8;
  text-decoration: none;
  font-size: 0.9375rem;
}

.legal-page .legal-footer a:hover {
  color: #3566b3;
  text-decoration: underline;
}