/* Header layout */
.header-container {
  display: flex;          /* logo + text in a row */
  align-items: center;    /* vertically center logo with text */
  gap: 1rem;              /* space between logo and text */
  padding: 1rem;
}

/* Logo sizing */
.logo {
  height: 100px;           /* small default size (4x smaller) */
  width: auto;            /* maintain aspect ratio */
  display: block;
  transition: height 0.3s; /* smooth resizing on smaller screens */
}

/* Header text */
.header-text h1 {
  margin: 0;
  color: #ffd60a;
  font-size: 1.5rem;      /* adjust size */
}

.header-text p {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;  /* stack logo above text on small screens */
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .logo {
    height: 80px;             /* slightly larger logo on mobile for visibility */
  }

  .header-text h1 {
    font-size: 1.3rem;
  }

  .header-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 60px;             /* shrink further on very small screens */
  }

  .header-text h1 {
    font-size: 1.1rem;
  }

  .header-text p {
    font-size: 0.75rem;
  }
}


/* Reset some basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  line-height: 1.5;
  padding: 1rem;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  color: #ffd60a;
  margin-bottom: 0.5rem;
}

header p {
  color: #fff;
}

/* Search box */
.searchbox {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.searchbox input {
  padding: 0.5rem;
  width: 250px;
  border: 1px solid #333;
  border-radius: 5px 0 0 5px;
  background: #111;
  color: #fff;
}

.searchbox button {
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  background: #ffd60a;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.searchbox button:hover {
  background: #e6c100;
}

/* Filter buttons */
.filters {
  text-align: center;
  margin-bottom: 2rem;
}

.filters button {
  background: #111;
  color: #ffd60a;
  border: 1px solid #333;
  padding: 0.4rem 0.8rem;
  margin: 0 0.3rem 0.5rem 0.3rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.filters button.active,
.filters button:hover {
  background: #ffd60a;
  color: #000;
}

/* Cards */
.card {
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px #ffd60a;
}

.card h2 {
  color: #ffd60a;
  margin-bottom: 0.3rem;
}

.card .meta {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.card .hours {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.card .tag {
  display: inline-block;
  background: #222;
  color: #ffd60a;
  padding: 0.2rem 0.5rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  border-radius: 5px;
  font-size: 0.8rem;
}

/* Links inside .card .tag — orange, no underline for all states */
.card .tag a,
.card .tag a:link,
.card .tag a:visited,
.card .tag a:hover,
.card .tag a:active {
    color: #ffd60a !important;
    text-decoration: none !important;
    outline: none !important;
}

/* Links with class .event-link — orange, no underline for all states */
.card .event-link,
.card .event-link:link,
.card .event-link:visited,
.card .event-link:hover,
.card .event-link:active {
    color: #ffd60a !important;
    text-decoration: none !important;
    font-weight: bold;
    outline: none !important;
}

/* Tables for events */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  border: 1px solid #333;
  padding: 0.5rem;
  text-align: left;
}

th {
  background: #222;
  color: #ffd60a;
}

td {
  background: #111;
  color: #fff;
}

tr:nth-child(even) td {
  background: #1a1a1a;
}

/* Footer spacing */
#siteFooter {
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .searchbox {
    flex-direction: column;
    align-items: center;
  }

  .searchbox input {
    width: 90%;
    border-radius: 5px;
    margin-bottom: 0.5rem;
  }

  .searchbox button {
    width: 50%;
    border-radius: 5px;
  }

  .card {
    padding: 0.8rem;
  }

  table, th, td {
    font-size: 0.9rem;
  }
}
