/*!
 * custom.css
 * ------------------------------------
 * Site-specific overrides & additions
 * to default Bootstrap or other CSS frameworks.
 */

/* 1) Root-level variables and overrides */
:root {
  --primary-color: #174f9f;
  --primary-light: #5d84bc;
  --primary-dark: #0e2f5f;
  --accent-color: #9f6717;
  --accent-light: #b07a2a;
  --accent-dark: #8f5d14;

  /* Extended colors */
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #dee2e6;

  /* Font & Typography */
  --font-base: 'Poppins', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing & Layout */
  --section-spacing: 5rem;
  --container-max-width: 1200px;
  --container-padding: 1rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);

  /* Transitions & Animations */
  --transition-base: all 0.3s ease;
  --transition-bounce: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2) Body base styles */
body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: var(--line-height-base);
}

/* 3) Container overrides (optional) */
.container {
  max-width: var(--container-max-width);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* 4) Typography utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  color: var(--text-color);
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
}

/* 5) Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: var(--transition-base);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 6) Example custom card */
.custom-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.custom-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* 7) Header & Navbar overrides */
.header {
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.header.scrolled {
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

/* 8) Media queries & responsive helpers */
@media (max-width: 768px) {
  /* Adjust spacing or text sizes on mobile if needed */
  .custom-card {
    margin-bottom: 1rem;
  }
}

/* 9) Additional classes or sections ... */

/* 10) Animations (optional) */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
