/* Imports (good practice to have these always at top of file!)*/
@import url("/css/theme-toggle.css");
@import url("/css/accordion.css");

/* Add All Base Styles Here */
body {
  color: #222;
  background: var(--bg);
  font-size: 125%;
  line-height: 1.6;
  letter-spacing: 0.02em;
  max-width: 45rem;
  padding: 1rem;
  margin: 0 auto;
  font-family: var(--font-main, Arial, sans-serif);
}
a {
  color: #ae2573;
  text-decoration: underline;
  font-weight: 600;
}
h1, h2, h5, h6{
  color: #ae2573;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
  max-width: none;
}

h3, h4, h3 {
  color: #5a0a96;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
  max-width: none;
}

.custom-text {
  color: #5a0a96;
  font-size: 1.2rem;
  font-weight: bold;
}

.custom-text1 {
  color: #ae2573;
  font-size: 1.4rem;
  font-weight: bold;
}

.content {
  margin-bottom: 2rem;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-nav a {
  display: block;
  padding: 1rem;
}
.site-nav .logo {
  font-weight: bold;
  padding-left: 0;
  font-family: var(--font-heading, Arial Black, Arial, sans-serif);
  list-style: none;
  margin: 0;
}
.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-secondary, Helvetica Neue, Helvetica, Arial, sans-serif);
}
.logo img {
  height: 120px;
  display: flex;
}
.navbar-banner {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  background: #fff;
  color: #ae2573;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
body.dark-mode .navbar-banner {
  background: #e825a6 !important;
  color: #fff !important;
}

/* Footer */
.footer-banner {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  background: var(--navbar-banner-bg, #ae2573);
  color: #fff;
  padding: 1.5rem 0 1rem 0;
  text-align: flex-start;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
  bottom: 0;
}
.footer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.footer-logo-corner {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
.footer-logo-corner img {
  height: 80px;
  display: block;
}
.footer-logo img {
  height: 40px;
}
.footer-social {
  margin: 0.5rem 0;
}
.footer-social a {
  display: inline-block;
  margin: 0 0.5rem;
  color: #fff
}
.footer-social img {
  height: 24px;
  vertical-align: middle;
}

/* Hero Banner for Landing and Other Pages*/
.hero-banner {
  width: 100vw;
  height: 500px;
  background-image: linear-gradient(
    to bottom,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.10)
  ),
  url('/img/HACA Crowd.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -50vw;
  left: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  background: rgba(174, 37, 115, 0.85);
  padding: 2rem 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.alt-hero-banner {
  width: 100vw;
  height: 300px;
  background: #ae2573; /* HACA Pink */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -50vw;
  left: 50%;
  position: relative;
}
.alt-hero-content {
  color: #fff;
  text-align: center;
  padding: 2rem 3rem;
  border-radius: 12px;
  background: rgba(150, 10, 106, 0.85); /* Optional: slightly darker overlay- check with accessibility */
}
.alt-hero-banner h1,
.alt-hero-banner h2,
.alt-hero-banner h3,
.alt-hero-banner h4,
.alt-hero-banner h5,
.alt-hero-banner h6 {
  color: #fff;
}

.conference-dates-btn {
  background-color: #330072;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75em 2em;
  font-size: 1.6em;
  margin: 1em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.2s;
  cursor: default; /* Not clickable */
  pointer-events: none; /* Prevents interaction */
}


/* Conference Programme Table */
.programme-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1.05rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.programme-table th, .programme-table td {
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  text-align: left;
}
.programme-table th {
  background: var(--purple, #5a0a96);
  color: #fff;
  font-weight: 600;
}
.programme-table tr:nth-child(even) {
  background: #f6f8fa;
}
.programme-table tr:hover {
  background: #eae6f7;
}

/* Lists */
.post-snippet {
  margin-bottom: 1rem;
}
.post-snippet h3 {
  margin-bottom: 0.25rem;
}

/* Iframe Container for Responsive Videos */
.iframe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.iframe-container iframe {
  width: 90vw;
  max-width: 900px;
  height: 50vw;
  max-height: 500px;
  border: none;
}

/* Media Queries */
@media screen and (max-width: 48rem) {
  .site-nav,
  .main-menu {
    flex-direction: column;
  }
  .site-nav a {
    padding: 0.5rem;
    padding-left: 0;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    padding: 0.5rem;
  }
  .site-nav, .main-menu {
    flex-direction: column;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}