/* Global CSS - White on Black with Gold Accents */

:root {
  --primary-bg: #1a1a1a;
  --primary-text: #ffffff;
  --accent-gold: #ffffff;
  --accent-gold-light: #ffffff;
  --secondary-bg: #000000;
  --border-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: 'Arial', 'Helvetica', sans-serif;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, section, div {
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.content-box {
  background-color: #1a1a1a;
  padding: 2rem;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
}

.content-box p {
  margin-bottom: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-text);
  margin: 1rem 0;
  font-weight: bold;
}

h1 {
  font-size: 2.5rem;
  padding-bottom: 0.5rem;
  margin: 1rem 0;
  border-bottom: 3px solid var(--border-color);
  text-align: center;
}

h1-content {
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Links */
a {
  color: var(--primary-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-text);
  text-decoration: underline;
}

a:visited {
  color: var(--primary-text);
}

/* Buttons */
button {
  background-color: var(--primary-text);
  color: var(--primary-bg);
  border: 2px solid var(--primary-text);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

button:hover {
  background-color: var(--primary-bg);
  color: var(--primary-text);
}

/* Forms */
input, textarea, select {
  background-color: var(--secondary-bg);
  color: var(--primary-text);
  border: 2px solid var(--primary-text);
  padding: 0.5rem;
  margin: 0.5rem 0;
  font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-text);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Containers */
.container {
  background-color: var(--primary-bg);
  padding: 2rem;
  margin: 1rem;
  border: 1px solid var(--border-color);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table thead {
  background-color: var(--secondary-bg);
  border-bottom: 3px solid var(--border-color);
}

table th {
  color: var(--primary-text);
  padding: 1rem;
  text-align: left;
}

table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

table tbody tr:hover {
  background-color: var(--secondary-bg);
}

/* Sections */
section {
  padding: 2rem;
  margin: 2rem 0;
  border-top: 2px solid var(--border-color);
}

/* Navigation */
nav {
  background-color: var(--secondary-bg);
  border-bottom: 3px solid var(--border-color);
  padding: 0;
  margin: 0 0 2rem 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.logo {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 4px solid transparent;
}

.logo img {
  height: 70px;
  width: auto;
}

.logo:hover {
  border-bottom: 4px solid var(--border-color);
}

.logo.active {
  border-bottom: 4px solid var(--border-color);
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex: 1;
  align-items: stretch;
}

nav ul li {
  float: none;
  flex: 1;
  display: flex;
}

nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-text);
  text-align: center;
  padding: 1.2rem 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
  flex: 1;
}

nav ul li a:hover {
  background-color: var(--primary-bg);
  border-bottom: 4px solid var(--border-color);
  color: var(--primary-text);
}

nav ul li a.active {
  background-color: transparent;
  color: var(--primary-text);
  border-bottom: 4px solid var(--border-color);
  font-weight: bold;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  gap: 0.5rem;
}

.lang-option {
  color: var(--primary-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
}

.lang-option:hover {
  color: var(--primary-text);
  text-decoration: underline;
}

.lang-option.active {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.25rem;
}

.lang-divider {
  color: var(--primary-text);
  opacity: 0.5;
}

/* Footer & Header */
header, footer {
  background-color: var(--secondary-bg);
  border-top: 2px solid var(--border-color);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

footer {
  background-color: #000000;
  border-top: 3px solid var(--border-color);
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  margin-bottom: 0;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
}

footer h3 {
  margin-bottom: 1rem;
}

footer .contact-info {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  margin-top: 1rem;
  align-items: flex-start;
}

footer .contact-person {
  flex: 1;
  min-width: 200px;
}

footer .contact-person h4 {
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: var(--primary-text);
}

footer .contact-person p {
  margin: 0.25rem 0;
  color: var(--primary-text);
}

footer .footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

footer .footer-block {
  flex: 1 1 auto;
}

footer .footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

footer .footer-logo img {
  max-height: 180px;
  width: auto;
  height: auto;
}

/* Sponsors Section */
.sponsors-section {
  text-align: center;
  margin: -2rem -2rem -2rem -2rem;
  display: flex;
  flex-direction: column;
  width: calc(100% + 4rem);
  padding: 0 !important;
  max-width: none !important;
}

.sponsor-header {
  background-color: #0a1929;
  padding: 3rem;
  margin: 0;
  border-radius: 15px 15px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.sponsor-header h2 {
  text-align: center;
  margin: 0;
  color: var(--border-color);
}

.sponsors-section h2 {
  margin-bottom: 0;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  padding: 6rem;
  align-items: center;
  justify-items: center;
  min-height: 450px;
  border-radius: 0 0 15px 15px;
}

.sponsor-item {
  flex: 0 1 300px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.3s ease;
  padding: 1rem;
}

.sponsor-item:hover {
  transform: scale(1.05);
}

.sponsor-item img {
  max-width: 150px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
  border: 2px solid white;
  padding: 3px;
  border-radius: 8px;
}

.sponsor-item img:hover {
  transform: scale(1.1);
}

.sponsor-item:nth-child(3) {
  grid-column: span 1;
}

.sponsor-item:nth-child(3) img {
  max-width: 150px;
  max-height: 100px;
  border: 2px solid white;
  padding: 3px;
  border-radius: 8px;
}

/* Board Members Section */
.board-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.board-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.board-member:hover {
  transform: scale(1.05);
}

.board-member img {
  width: 180px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 30%;
  margin-bottom: 1rem;
  border: 2px solid var(--border-color);
}

.board-member-phillip img {
  object-position: center 5%;
}

.board-member h3 {
  margin: 0.5rem 0;
  color: var(--primary-text);
}

.board-member p {
  margin: 0.25rem 0;
  color: var(--primary-text);
  font-size: 0.9rem;
}

.board-member a {
  color: var(--border-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.board-member a:hover {
  text-decoration: underline;
}

header h1, footer h1 {
  border-bottom: none;
}

/* Utility Classes */
.highlight {
  color: #ffffff;
  font-weight: bold;
}

.gold-text {
  color: #ffffff;
}

.gold-bg {
  background-color: #ffffff;
  color: var(--primary-bg);
  padding: 0.5rem 1rem;
}
