/* =====================
   GLOBAL
===================== */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-y: scroll;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

body {
  display: flex;
  flex-direction: column;
}

/* Let main fill space, footer stays at bottom */
main {
  flex: 1;
}

/* General link behavior */
a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: #000;
  text-decoration: underline;
}

/* =====================
   HEADER / NAV
===================== */

.bg-light {
  background-color: #f8f9fa !important;
}

.small-message-bar {
  border-bottom: 1px solid #eee;
  padding: 0.75rem 1rem;
}

.small-message-bar p {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  line-height: 1.5;
}

/* Logo + Navbar adjustments */
.site-logo {
  max-height: 55px;
  height: auto;
  width: auto;
  margin: 0;
  padding: 0;
}

/* Reduce vertical space between header and navbar */
.text-center.my-3 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Navbar subtle shadow */
.navbar {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.navbar-dark .nav-link {
  color: #ddd;
  transition: color 0.2s ease-in-out;
}

.navbar-dark .nav-link:hover {
  color: #fff;
}

/* =====================
   BUTTONS & LINKS
===================== */

.btn-primary {
  background-color: transparent;
  border: 1.5px solid #555;
  color: #333;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* =====================
   PAGINATION
===================== */

.page-link {
  color: #333;
  border: 1px solid #ccc;
}

.page-item.active .page-link {
  background-color: #e6e6e6;
  border-color: #bfbfbf;
  color: #000;
}

.page-link:hover {
  background-color: #f2f2f2;
  color: #000;
}

/* =====================
   FOOTER — Final Polish
===================== */

/* Subscribe section */
.footer-subscribe {
  background-color: #2b2f33;
  color: #f5f5f5;
  border-top: 2px solid #383c40;
  border-bottom: none;
}

.footer-subscribe h5 {
  color: #ffffff;
  letter-spacing: 0.3px;
}

.footer-subscribe .form-control {
  background-color: #fff;
  color: #000;
}

.footer-subscribe .btn-light:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Green disclaimer bar */
.disclaimer-bar {
  background-color: #00B140 !important;   /* ipekScope brand green */
  color: #fefefe !important;              /* crisp white text */
  font-weight: 500;
  padding: 12px 0;
  border: none !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.05); /* gentle texture */
}

.disclaimer-bar p {
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.55;
  padding: 0 20px;
  font-size: 0.9rem;
  color: #fefefe !important;              /* ensure full override */
}

/* Black footer section */
.footer-main {
  background-color: #101214 !important;   /* deeper tone */
  color: #cfcfcf !important;              /* soft gray, readable */
  padding: 20px 0;
  border-top: none !important;
}

.footer-main p {
  color: #cfcfcf !important;
}

.footer-main a {
  color: #d9d9d9;
  transition: color 0.2s ease;
}

.footer-main a:hover {
  color: #ffffff;
}


/* =====================
   CARDS & IMAGES
===================== */

.card-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.25rem 0.25rem 0 0;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   TYPOGRAPHY
===================== */

h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-weight: 600;
}

p {
  color: #333;
  line-height: 1.6;
}

/* =====================
   RESPONSIVENESS
===================== */

@media (max-width: 768px) {
  .small-message-bar p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .navbar {
    text-align: center;
  }

  .site-logo {
    max-height: 45px;
  }
}

/* --- Cartoon Gallery Layout --- */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-title {
  font-size: 1rem;
  color: #222;
  font-weight: 600;
}

/* Keep consistent padding between cards */
.container .row.g-4 {
  margin-top: 1rem;
}

