/** @format */

body {
  background-color: #0a0a0a;
  color: #f3e5ab;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  width: 100vw;
}

header {
  background-color: #000;
  border-bottom: 2px solid #d4af37;
  color: #fff;
  height: 40vh;
  margin-top: 0;
  position: relative;
  width: 100vw;
}
header > section.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: calc(40vh - 54px);
  justify-content: center;
  text-align: center;
}
header > section.hero > h1 {
  color: #ffffff;
  font-size: 3.5em;
  font-weight: 300;
  margin: 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
header > section.hero > h2 {
  color: #d4af37;
  font-size: 1.5em;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 10px;
}

section#navigation {
  align-items: center;
  background-color: #111111;
  border-bottom: 1px solid #d4af3744;
  display: flex;
  flex-direction: row;
  gap: 12px;
  height: 54px;
  width: 100vw;
  z-index: 9;
}
nav {
  z-index: 10;
}
nav > ul {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 12px;
  list-style-type: none;
  padding-left: 15px;
  width: 90%;
}
ul#navigation-ul > li {
  border: 1px solid #d4af37;
  border-radius: 15px;
  color: #d4af37;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  transition:
    background 0.25s ease-in,
    color 0.25s ease-in,
    box-shadow 0.25s ease-in;
  width: 120px;
  z-index: 11;
}
ul#navigation-ul > li:hover {
  background-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  color: #000000;
}
ul#navigation-ul > li > a {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
  width: 100%;
}
ul#navigation-ul > li.dropdown-parent {
  position: relative;
}
ul#navigation-ul .dropdown-content {
  background-color: #111111;
  border: 1px solid #d4af37;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
  display: none;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 220px;
  padding: 0;
  position: absolute;
  top: 100%;
  z-index: 100;
}
ul#navigation-ul > li.dropdown-parent:hover .dropdown-content,
ul#navigation-ul .dropdown-content:hover {
  display: block;
}
ul#navigation-ul .dropdown-content li {
  border: none;
  border-bottom: 1px solid #d4af3744;
  border-radius: 0;
  padding: 0;
  text-align: left;
  width: 100%;
}
ul#navigation-ul .dropdown-content li:last-child {
  border-bottom: none;
}
ul#navigation-ul .dropdown-content li a {
  background-color: #111111;
  color: #d4af37 !important;
  display: block;
  font-size: 11px;
  font-weight: bold;
  padding: 12px 15px;
  text-decoration: none;
  transition:
    background 0.2s ease-in,
    color 0.2s ease-in;
}
ul#navigation-ul .dropdown-content li a:hover {
  background-color: #d4af37 !important;
  color: #000000 !important;
}
ul#navigation-ul .dropdown-content li:hover {
  background-color: transparent;
  box-shadow: none;
}

main#content {
  box-sizing: border-box;
  margin: 0;
  margin-top: 20px;
  padding: 20px;
}

main#content h1 {
  border-bottom: 1px solid #d4af3733;
  color: #d4af37;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

main#content p {
  color: #e0e0e0;
  line-height: 1.6;
}

main#content > div {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-evenly;
  width: 100%;
}
main#content > div[class~="1-col"] > div {
  width: 100%;
}
main#content > div[class~="2-col"] > div {
  background-color: #141414;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 15px;
  width: 50%;
}

ul.member-list {
  list-style-type: none;
  margin: 10px 0;
  padding: 0;
}
ul.member-list li {
  align-items: center;
  background-color: #1a1a1a;
  border-left: 3px solid #d4af37;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 12px 15px;
}

ul.member-list li b {
  color: #f3e5ab;
}

.callsign {
  background-color: #d4af37;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #000000 !important;
  display: inline-block;
  font-family:
    ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.85em;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  text-decoration: none;
  transition:
    background-color 0.2s,
    transform 0.1s;
}
a.callsign:hover {
  background-color: #f3e5ab;
  transform: scale(1.05);
}
/* =========================================
   Calendar & Events Styling
   ========================================= */

.calendar-container {
  background-color: #121212;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-btn {
  background-color: #1a1a1a;
  color: #d4af37;
  border: 1px solid #d4af37;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.calendar-btn:hover {
  background-color: #d4af37;
  color: #000;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-header {
  text-align: center;
  font-weight: bold;
  color: #d4af37;
  padding: 10px 0;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.day-cell {
  background-color: #181818;
  border: 1px solid #2a2a2a;
  min-height: 100px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}

.day-cell.empty {
  background-color: transparent;
  border: none;
}

.day-cell.today {
  border: 2px solid #d4af37;
}

.day-number {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 6px;
}

.event-badge {
  background-color: #d4af37;
  color: #000;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.event-badge.minor-event {
  background-color: #333;
  color: #ddd;
}

.events-section {
  margin-top: 40px;
}

.event-card {
  background-color: #181818;
  border: 1px solid #2a2a2a;
  border-left: 4px solid #d4af37;
  padding: 18px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 4px;
}

.event-info h3 {
  margin: 0 0 6px 0;
  color: #d4af37;
  font-size: 1.1rem;
}

.event-info p {
  margin: 4px 0 0 0;
  color: #bbb;
  font-size: 0.9rem;
}

.event-date-tag {
  background-color: #222;
  color: #d4af37;
  border: 1px solid #d4af37;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: bold;
}
