/* Global styles */
body {
  font-family: 'Open Sans', sans-serif;
}
/* All major headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
}


/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: 600;
    color: #333 !important;
    margin-left: 0;
}

/* Align navbar content with body section containers */
.navbar .container-fluid {
    max-width: 1140px; /* Match Bootstrap's container max-width */
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-nav .nav-link {
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}
/* Ensure collapse happens at 768px and below */
@media (max-width: 767.98px) {
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
}

.logo-sm {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Push the body down to make space for the fixed navbar */

body {
  padding-top: 56px; /* Adjust based on navbar height */
}

/* Hero Section Styling */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_resized.webp') no-repeat center center/cover;
    background-size: cover;
    color: #FFEBD4 !important;
    padding: 100px 0;
    height: 600px;
}

.hero-section h1 {
    font-family: 'Handlee', cursive !important;
    color: #FFEBD4 !important;
}

.hero-section p {
    color: #FFEBD4 !important;
}

/* Topics styling */
#topics .card-img-top {
  object-fit: cover;
}

/* Affirmations styling */

#affirmations .accordion-button {
  font-weight: 600;
  font-style: italic;
  background-color: #f8f9fa  !important;
  color: #333  !important;
}

#affirmations .accordion-body {
  font-family: 'Open Sans', sans-serif;
  color: #555;
}

#affirmations .accordion-button {
  font-weight: 600;
  font-style: italic;
  background-color: #f8f9fa  !important;
  color: #333  !important;
}

#affirmations .accordion-body {
  font-family: 'Open Sans', sans-serif  !important; 
  color: #555 !important;
  line-height: 1.6 !important;
}

/* Resources styling */

#resources .accordion-button {
  font-weight: 600;
  background-color: #f9f9f9;
  color: #333;
}

#resources .accordion-body a {
  text-decoration: underline;
  color: #007bff;
}

#resources img {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Tools and tips styling */

#tips .card-img-top {
  object-fit: cover;
  aspect-ratio: 1; /* Make all images square for consistency */
}

#tips .card-title {
  font-weight: 600;
}

#tips .card-text {
  font-size: 1rem;
}

/* Footer styling */
footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: none;
}
