/* ==========================================================================
   MIKETROUTFISHING 2025 - site styles
   Loaded after Materialize, so rules here override the framework.
   ========================================================================== */

/* ---------- Base ---------- */
html,
body {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
}

.text-justify {
  text-align: justify;
}

/* "ul" prefix needed to beat Materialize's ul:not(.browser-default) > li */
ul.list-square > li {
  list-style-type: square;
}

/* ---------- Header / hero ---------- */
/* background-color is the fallback shown while the image loads */
.main-header {
  background: #424242 url(../img/header-bg.jpg);
  background-size: cover;
  background-position: center 15%; /* keep the face in the photo visible below the navbar */
  min-height: 700px;
  color: #fff;
}

.main-header .showcase {
  padding-top: 150px;
  padding-bottom: 10%;
}

/* Shorter header used on inner pages */
.main-header.compact {
  min-height: 0;
}

.main-header.compact .showcase {
  padding-top: 40px;
  padding-bottom: 30px;
}

.page-title {
  margin-top: 0;
}

/* Desktop menu: compact items so they fit next to the brand */
.nav-desktop a {
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0 10px;
}

nav .brand-logo {
  font-size: 1.6rem;
}

@media only screen and (max-width: 600px) {
  nav .brand-logo {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .main-header .showcase h2 {
    font-size: 2.2rem;
  }
}

/* Theme links are yellow (see vendor note in README); use this on white cards */
.dark-links a:not(.btn) {
  color: #7b1fa2;
}

/* Between tablet and wide desktop the brand and menu don't fit side by side;
   hide the brand there (the hero below already shows the conference name). */
@media only screen and (min-width: 993px) and (max-width: 1439px) {
  nav .brand-logo {
    display: none;
  }
}

.showcase {
  background-color: #3a221885;
  opacity: 0.8;
}

.active-link {
  color: #cce067;
  font-weight: bold;
}

/* ---------- Scope ---------- */
.scope-link {
  color: #000;
  font-size: 20px;
}

/* ---------- Announcement banner ---------- */
.announcement {
  width: 100%;
  line-height: 35px;
  background: linear-gradient(23deg, #f46b36 0%, #bd9473 30%, #8e3710 100%);
  text-align: center;
  color: #fff;
  font-size: 20px;
}

/* ---------- Topics of interest ---------- */
.toi-content {
  line-height: 35px;
}

/* ---------- Paper submission ---------- */
.section-paper-submission {
  position: relative;
  /* dark overlay keeps the white/yellow text readable on the bright photo */
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), #37474f url(../img/paper-submission-bg.webp);
  background-size: cover;
  background-position: center;
  min-height: 300px;
  margin: 60px 0;
  padding: 40px 0;
}

.highlight {
  color: yellow;
}

/* ---------- Extended papers ---------- */
.journal-list a {
  color: #000;
}

/* ---------- Speakers ---------- */
.speaker {
  color: #000;
}

/* ---------- Paper submission page ---------- */
.dates-box {
  margin-bottom: 0;
}

/* ---------- Contact page ---------- */
.contact-email {
  font-size: 1.4rem;
  margin: 20px 0;
}

/* ---------- Footer ---------- */
.footer-title {
  color: #fff;
}

.footer-email {
  color: #000;
}

/* ---------- Partner modal ---------- */
.partner {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.partner a {
  text-decoration: none;
  color: black;
}

.partner-content {
  background-color: #ededed;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-height: 70%;
  overflow-y: scroll;
  border-radius: 5px;
}

.partner-title {
  text-align: center;
  font-weight: bold;
  color: #3366ff;
}

.partner-content table {
  width: 100%;
  border-collapse: collapse;
}

.partner-content table th {
  background-color: #2c5f2d;
  color: white;
  font-size: 24px;
  padding: 10px;
}

.partner-content table tr:nth-child(odd) td {
  background-color: #97bc62;
}

.partner-content table tr:nth-child(even) td {
  background-color: #20948b;
}

.partner-content table tr td {
  padding: 10px;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
