/* 235 NET - Site Styles */

:root {
  --bg-color: #1a1a2e;
  --text-color: #eaeaea;
  --accent-color: #00bcd4;
  --secondary-color: #16213e;
  --link-color: #4db8ff;
  --link-hover: #80d4ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 100px;
}

/* Header & Navigation */
.site-header {
  background: var(--secondary-color);
  border-bottom: 2px solid var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.site-logo:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.site-nav a.active {
  color: var(--accent-color);
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  position: relative;
  transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  left: 0;
  transition: transform 0.2s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.menu-toggle.menu-open .hamburger {
  background: transparent;
}

.menu-toggle.menu-open .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.menu-open .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

h1 {
  font-size: 2rem;
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--secondary-color);
  padding-bottom: 0.25rem;
}

p {
  margin-bottom: 0.5rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

hr {
  border: none;
  border-top: 1px solid var(--secondary-color);
  margin: 1rem 0;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

li {
  margin-bottom: 0.25rem;
}

strong {
  color: #fff;
}

blockquote {
  background: var(--secondary-color);
  border-left: 4px solid var(--accent-color);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  text-align: center;
}

blockquote strong {
  color: var(--accent-color);
}

code {
  background: var(--secondary-color);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* Floating Footer Banner */
.floating-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 33, 62, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.floating-footer img {
  max-height: 80px;
  width: auto;
  max-width: calc(100% - 60px);
  border-radius: 4px;
}

.floating-footer .close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  line-height: 1;
  padding: 0.25rem;
}

.floating-footer .close-btn:hover {
  opacity: 1;
}

/* Flyer Styles */
.flyer-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.flyer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0f1729 100%);
  border: 3px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 188, 212, 0.2);
}

.flyer-header {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.flyer-tagline {
  font-size: 1rem;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.flyer-details {
  margin: 1rem 0;
}

.flyer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flyer-item:last-child {
  border-bottom: none;
}

.flyer-label {
  color: var(--accent-color);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.flyer-value {
  color: var(--text-color);
  font-size: 0.95rem;
}

.flyer-repeater {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--accent-color);
  color: var(--link-color);
  font-weight: bold;
}

.flyer-motto {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Table Styles (for Logs) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  background: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: rgba(0, 188, 212, 0.2);
  color: var(--accent-color);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

h3 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  main {
    padding: 0.75rem 1rem;
  }

  .floating-footer img {
    max-height: 60px;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    border-bottom: 2px solid var(--accent-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.nav-open {
    max-height: 200px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav li:last-child {
    border-bottom: none;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .site-nav a::after {
    display: none;
  }

  /* Flyer responsive */
  .flyer {
    padding: 1rem;
  }

  .flyer-header {
    font-size: 1.5rem;
  }

  .flyer-item {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  /* Table responsive */
  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.5rem;
  }
}
