/* styles.css */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Wrapper grows to fill available space */
.wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
}

header {
  background-color: #101010;
  padding: 0.5rem 0.5rem;
}

.logo img {
  height: 80px;
  /* Adjust as needed */
  width: auto;
  /* Maintain aspect ratio */
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem; /* spacing between image and text */
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

/* Burger menu styles */
.burger {
  display: none;
  font-size: 4rem;
  cursor: pointer;
  color: #ffffff;
}

a {
  text-decoration: underline;
  color: #e03ec5;
}

p {
  padding: 1rem;
  text-align: center;
}

h2 {
  text-align: center;
}

.title {
  text-align: center;
  padding: 1rem 1rem;
  background-color: #1a1a1a;
}

.title h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  margin-top: 0px
}

.title p {
  font-size: 1.2rem;
  margin-bottom: 0rem;
}

.cta-button {
  background-color: #480e3e;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.features {
  padding: 2rem 2rem;
  background-color: #121212;
}

.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.features p {
  line-height: 1.4;
  text-align: center;

}

.features img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem;
}

button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid #480e3e;
  background-color: #fff;
  color: #480e3e;
  border-radius: 6px;
}

.content {
  display: none;
  padding: 1rem;
  text-align: left;
  --max-width: 800px;
}


.content.active {
  display: block;
}

.licence-heading {
  font-size: 1.2rem;
  text-align: center;
  text-decoration: solid;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.licence-list li {
  margin-bottom: 1rem;
}

.licence-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 2rem;
}

.licence-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-color: #1f1f1f;
  padding: 1.5rem;
  border: 1px solid #ffffff;
  border-radius: 10px;
  width: 200px;
  max-width: 200px;
  min-height: 380px;
  /* ADD this to enforce equal height */
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  height: 100%;
  flex: 0 0 200px;
  /* ensures equal height if used with equal-height wrapper */
}

.card-content {
  flex-grow: 1;
}

.licence-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  text-align: center;
}

.licence-card p {
  line-height: 1.4;
  margin-bottom: 1rem;
}


.licence-card form button,
.licence-card a.cta-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: #480e3e;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.licence-card form button:hover,
.licence-card a.cta-button:hover {
  background-color: #621252;
}

.table-wrapper {
    padding: 0 2rem;
}

.licence-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em auto;
    padding: 0 1rem; /* left and right padding */
}

.licence-table th,
.licence-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.licence-table thead {
    background-color: #f5f5f5;
}

.licence-table th {
    color: #000; /* black text for headers */
}

.video-container {
  width: 90%;
  margin: 0 auto; /* centers the container */
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Make footer stay at the bottom if there's not enough content */
footer {
  margin-top: auto;
  background-color: #1f1f1f;
  padding: 0rem;
  text-align: center;
}

.footer p {
  padding: 0rem !important;
  margin: 0rem;
}

.social-links a {
  margin: 0 0.5rem;
  color: #00bcd4;
  text-decoration: none;
}


/* form stuff */

form {
  max-width: 500px;
  margin: 2rem auto;
  background: #1f1f1f;
  padding: 1.5rem;
  border-radius: 8px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #333;
  color: #fff;
}

textarea {
  resize: vertical;
  height: 120px;
}

button {
  background-color: #480e3e;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #621252;
}

/* Responsive menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #1f1f1f;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}