/* RESET + BASE STYLES */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* LAYOUT STRUCTURE */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HERO & HEADER */
.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 20px 10px;
  text-align: center;
}

.logo {
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
}

.announcement-bar {
  width: 100%;
  background-color: #f5a24f;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  animation: pulse 2s infinite ease-in-out;
}

.announcement {
  font-size: 1.75em;
  font-weight: bold;
  color: #000;
  margin-bottom: 0;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

.event-info {
  font-size: 1.1em;
  color: #333;
  margin-top: 30px;
  margin-bottom: 50px;
  max-width: 90%;
}

.description {
  max-width: 800px;
  font-size: 1em;
  color: #111;
  line-height: 1.5em;
  text-align: center;
  padding: 0 15px;
  margin-bottom: 40px;
}

.teaser {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 30px;
}

/* BUTTONS */
.button {
  background-color: #f5a24f;
  color: #000;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #fcc837;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.button-row .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.contact-button {
  margin-top: 10px;
  margin-bottom: 40px;
}

/* MODAL FORM OVERLAY */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 26px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-out;
}

.modal-content h2 {
  margin-bottom: 14px;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: #000;
}

/* FORM STYLES */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

fieldset {
  border: none;
  padding: 0;
  margin-top: 10px;
}

fieldset label {
  display: block;
  margin: 5px 0;
  font-size: 0.95em;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.form-field label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.deployment-section {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.section-heading {
  font-weight: bold;
  margin-bottom: 16px;
}

.checkbox-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.checkbox-row label {
  flex: 1;
  display: flex;
  align-items: flex-start;
  font-size: 0.95em;
  gap: 6px;
  max-width: 100%;
  word-break: normal;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}
.checkbox-row:last-of-type label {
  flex: 0 0 30%;
}

/* Responsive: stack rows into fewer columns */
@media (max-width: 768px) {
  .checkbox-row {
    flex-wrap: wrap;
  }

  .checkbox-row label {
    flex: 0 0 48%;
  }
}

@media (max-width: 480px) {
  .checkbox-row label {
    flex: 0 0 100%;
  }
}


/* FOOTER */
.footer {
  width: 100%;
  background-color: #222;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95em;
  text-align: center;
  padding: 15px 10px;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  .announcement {
    font-size: 1.4em;
    margin-bottom: 20px;
  }

  .event-info {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .logo {
    max-width: 280px;
    margin-bottom: 15px;
  }

  .main-content {
    padding: 10px;
  }

  .modal-content {
    margin: 20% auto;
    padding: 20px;
  }
}
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.spinner .path {
  stroke: #11aa65;
  stroke-linecap: round;
}
.form-processing {
  position: relative;
}

