/* ================================
   Custom Styling for Justin Case Insurance
   ================================ */

/* Global Colors & Fonts */
:root {
  --brand-primary: #0A3D63;
  --brand-secondary: #f4f6f8;
  --brand-accent: #ffb703;
  --text-color: #333;
  --heading-font: 'Inter', serif;
  --p-font: 'Inter', serif;
  --body-font: 'Inter', serif;
}

body {
  font-family: var(--body-font), serif;
  color: var(--text-color);
  background-color: var(--brand-secondary);
  line-height: 1.6;
}

/* Navigation */
nav.container-fluid {
  background: var(--brand-primary);
  padding: 0.5rem 5rem;
  border-bottom: 3px solid var(--brand-accent);
}

nav.container-fluid ul li button,
nav.container-fluid ul li a,
nav.container-fluid ul li strong {
  color: #fff;
  font-weight: 500;
}

nav.container-fluid ul li a:hover {
  color: var(--brand-accent);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font), serif;
  color: var(--brand-primary);
}

/* Main Content Area */
main.container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-top: 2rem;
}

main.container p {
  font-size: 1.05rem;
  font-family: var(--p-font), serif;
  color: var(--brand-primary);
}

/* Figures & Images */
figure {
  margin: 2rem 0;
}

figure img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

figure img:hover {
  transform: scale(1.02);
}

figcaption a {
  font-size: 0.9rem;
  color: var(--brand-primary);
}

figcaption a:hover {
  color: var(--brand-accent);
}

/* Lists */
ul {
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-family: var(--p-font), serif;
  color: var(--brand-primary);
}

/* Footer */
footer.container {
  text-align: center;
  padding: 1.5rem 0;
  color: #555;
}

footer.container a {
  color: var(--brand-primary);
}

footer.container a:hover {
  color: var(--brand-accent);
}

.form-vertical {
  display: flex;
  flex-direction: column; /* stack elements vertically */
  gap: 12px; /* space between fields */
}

.form-vertical input,
.form-vertical textarea,
.form-vertical button {
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-vertical button {
  background: #4CAF50;
  color: white;
  cursor: pointer;
}

.form-vertical button:hover {
  background: #45a049;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  main.container {
    padding: 1.5rem;
  }
  nav.container-fluid {
    padding: 1rem;
  }
}

html {
  height: 100%;
  width: 100%;
}

nav {
  position: sticky;
  top: 0;
  background-color: white; /* Optional: to ensure visibility */
  z-index: 1000; /* Optional: to ensure it stays above other elements */
}

details {
  color: var(--brand-primary);
  margin-bottom: 50px;
  padding: 8px;
  font-weight: bold;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 4px 4px 10px 4px rgba(0,0,0,0.2);
  margin-top: 2rem;
  font-size: 24px;

}
summary {
  cursor: pointer;
  font-weight: bold;
}

details {
  summary {
    line-height: 1.0;
    &:not([role]) {
      color: var(--brand-primary);
    }
  }
}



section {
  margin-bottom: 0px;
}

section:not(:last-child) {
  line-height: 4.6;
}
