:root {
  --bg-color: #000000;
  --text-primary: #33ff00;
  --text-secondary: #00cc00;
  --accent-color: #33ff00;
  --font-family: 'Fira Code', 'Courier New', monospace;

  /* JSON Syntax Highlighting - Dark Mode */
  --json-brace: #ffffff;
  --json-key: #33ff00;
  --json-string: #ce9178;
}

[data-theme="light"] {
  --bg-color: #f0f0f0;
  --text-primary: #006600;
  --text-secondary: #004400;
  --accent-color: #006600;

  /* JSON Syntax Highlighting - Light Mode */
  --json-brace: #333333;
  --json-key: #006600;
  --json-string: #a31515;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Header */
header {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
}

.logo span {
  color: var(--text-secondary);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.theme-toggle:hover {
  opacity: 1;
  transform: rotate(15deg);
}

/* Terminal Output */
.terminal-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  font-size: 1.1rem;
}

.terminal-line {
  margin-bottom: 0.5rem;
  min-height: 1.6rem;
  /* Prevent layout shift */
  display: flex;
  align-items: center;
}

.prompt {
  color: #555;
  margin-right: 0.75rem;
  user-select: none;
}

.command {
  color: var(--text-primary);
  font-weight: 600;
}

.output {
  color: var(--text-secondary);
  margin-left: 1.5rem;
  /* Indent output */
  margin-bottom: 1rem;
  display: block;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background-color: var(--accent-color);
  animation: blink 1s infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

/* JSON Syntax Classes */
.json-brace {
  color: var(--json-brace);
}

.json-key {
  color: var(--json-key);
}

.json-string {
  color: var(--json-string);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  color: #555;
  font-size: 0.8rem;
  margin-top: auto;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #000;
  border: 2px solid var(--text-primary);
  box-shadow: 0 0 20px rgba(51, 255, 0, 0.3);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  background-color: #111;
  border-bottom: 1px solid var(--text-primary);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

.modal-close {
  background-color: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: var(--text-primary);
  color: #000;
  box-shadow: 0 0 10px rgba(51, 255, 0, 0.5);
}

.modal-body {
  padding: 0;
  overflow: hidden;
  flex: 1;
}

.modal-body iframe {
  display: block;
  background-color: #fff;
}

/* Booking link styling */
.booking-link {
  cursor: pointer;
  text-decoration: underline;
}

.booking-link:hover {
  color: var(--text-primary) !important;
  text-shadow: 0 0 5px rgba(51, 255, 0, 0.5);
}