/* ===== Base Layout ===== */
body {
  margin: 0;
  font-family: sans-serif;
  display: flex;
  flex-direction: row;
}

/* ===== Carousel (Top Banner) ===== */
.swiper-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1000;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  background: #444;
}

/* ===== Sidebar Navigation ===== */
.sidebar {
  width: 200px;
  height: 100vh;
  position: fixed;
  top: 200px; /* below the carousel */
  left: 0;
  background-color: #222;
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  z-index: 900;
}

.nav-item {
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #444;
}

.nav-item:hover {
  background-color: #444;
}

/* ===== Main Content Area ===== */
#main-content {
  margin-left: 200px;
  padding: 20px;
  padding-top: 220px; /* space for carousel */
  padding-bottom: 100px; /* space for footer */
  width: calc(100% - 200px);
  box-sizing: border-box;
  text-align: center;
}

.subliminal_messaging {
  color: #DCDCDC;
  font-size: 8px;
  padding: 84px;
}

.content ol,
.content ul {
  text-align: left;       /* align list text left */
  margin: 0 auto;         /* keep it centered in the page layout */
  display: inline-block;  /* keeps list from stretching full width */
}

/* tables need help staying centered */
.fixed-table {
  width: 600px;              /* set a fixed width */
  margin: 20px auto;         /* center it horizontally */
  border-collapse: collapse; /* tidy borders */
  text-align: left;          /* align text left */
}

.fixed-table td {
  border: 1px solid #444;
  padding: 8px 12px;
}

/* A "thumb" column has thumbnail pics in it. */
.fixed-table td.thumb {
  width: 50px;       /* fix the column width */
  text-align: center; /* center image inside */
}

.fixed-table td.thumb img {
  max-height: 100px;  /* constrain image height */
  width: auto;        /* keep proportions */
  display: block;     /* avoids weird inline spacing */
  margin: 0 auto;     /* centers inside the cell */
}


/* ===== Logo/Footer (Fixed) ===== */
.logo {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.logo img {
  height: 32px;
  width: auto;
}

.logo button:hover img {
  filter: brightness(1.2);
  transform: scale(1.05);
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  height: 32px;
  width: 32px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* This should be a little larger than the others */
#home-button img {
  height: 48px;
  width: auto;
}


/* ===== Slide Cards ===== */
.slide-card {
  text-decoration: none;
  color: white;
  display: block;
  height: 100%;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
}

.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  border-radius: 0 0 8px 8px;
  box-sizing: border-box;
}

/* ===== Hamburger Button ===== */
#hamburger-button {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

/* ===== Mobile Layout ===== */
@media (max-width: 768px) {
  #hamburger-button {
    display: block;
  }

  .sidebar {
    top: 0;
    left: -200px;
    transition: left 0.3s ease;
    padding-top: 70px;
    z-index: 1050;
  }

  .sidebar.open {
    left: 0;
  }

  #main-content {
    margin-left: 0;
    width: 100%;
    padding-top: 220px;
    padding-bottom: 100px;
  }
}

/* ===== Page Images ===== */
.med-centered-img {
  display: block;
  max-width: 200px;       /* reasonable max size for desktop */
  width: 80%;             /* scales down on smaller screens */
  height: auto;
  margin: 0 auto;
  border-radius: 12px;    /* rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* shadow */
}

/* Tighter control on small screens */
@media (max-width: 480px) {
  .med-centered-img {
    max-width: 180px;
    width: 100%;
  }
}

.big-centered-img {
  display: block;
  max-width: 400px;       /* reasonable max size for desktop */
  width: 80%;             /* scales down on smaller screens */
  height: auto;
  margin: 0 auto;
  border-radius: 12px;    /* rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* shadow */
}

/* Tighter control on small screens */
@media (max-width: 480px) {
  .big-centered-img {
    max-width: 180px;
    width: 100%;
  }
}

