/* --- Global Styles & Variables --- */
:root {
  --primary-blue: #00aeff;
  --dark-bg: #0d1226;
  --light-text: #f0f0f0;
  --gold-accent: #f5b942;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  font-size: 16px;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #04081c;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.container {
  padding: 20px 40px;
}

h1,
h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 0;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

li::before {
  content: "✓";
  color: var(--primary-blue);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
  font-size: 1.2rem;
}

/* --- Header --- */

.header-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  height: 200px;
  width: auto;
}

.header-badges {
  display: flex;
  gap: 15px;
}

.header-badges .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.header-badges .badge h4 {
  margin-bottom: 0;
  font-size: 0.8rem;
  max-width: 100px;
}

.header-badges img {
  height: 125px;
}

/* --- Hero Section --- */

.hero {
  display: flex;
  background-color: var(--dark-bg);
  /* padding-top: 10px; */
}

.hero-content-left {
  flex: 1;
  padding: 40px;
}

.hero-content-left h1 {
  font-family: "Anton", sans-serif;
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  border: 2px solid var(--primary-blue);
  color: white;
  padding: 15px 30px;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-blue);
  color: var(--dark-bg);
}

.hero-image-right {
  flex: 1;
  position: relative;
}

.hero-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 70%;
  transform: translate3d(0px, 0px, 0.1px);
  overflow-clip-margin: unset;
}

.winner-badge {
  position: absolute;
  top: 0px;
  left: 0px;
}

.winner-badge img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

/* --- Overview Section --- */
.overview {
  padding: 40px 0;
  text-align: center;
}

.overview-box {
  border: 2px solid var(--primary-blue);
  padding: 40px;
  max-width: 800px;
  margin: 20px auto 0 auto;
  position: relative;
  overflow: hidden; /* Important for the badge */
}

.investment {
  font-size: 1.8rem;
  font-family: "Oswald", sans-serif;
  color: var(--gold-accent);
  margin-top: 20px;
  font-weight: 700;
}

.early-bird-badge {
  position: absolute;
  top: 20px;
  right: -55px;
  background-color: var(--primary-blue);
  color: white;
  padding: 10px 70px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  transform: rotate(45deg);
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.2;
}

.led {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-summary .cta-button {
  text-align: center;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  max-width: fit-content;
}

/* --- Workshop Details Section --- */

.workshop-details {
  max-width: 1000px;
  margin: 0 auto;
}

.two-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.column-left {
  flex: 0 0 350px; /* Fixed width for the left column */
}

.column-right {
  flex: 1;
}

.equipment-specialist-box {
  /* background-color: #e9ecef; */
  color: #e9ecef;
  padding: 0 25px;
  /* text-align: center; */
}

.equipment-specialist-box img {
  max-width: 400px;
  margin-bottom: 25px;
}

.equipment-specialist-box h3,
.equipment-specialist-box h4 {
  color: var(--primary-blue);
}

.equipment-specialist-box p {
  font-size: 1.2rem;
}

.equipment-specialist-box hr {
  border: 0;
  border-top: 2px solid #e9ecef;
  margin: 20px auto;
  width: 80%;
}

/* --- Final Summary --- */
.final-summary {
  margin-top: -80px;
  padding: 20px 0 60px 0;
}

.final-summary ul li {
  display: flex;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}

.summary-paragraph {
  max-width: 900px;
  margin: 30px auto;
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: center;
  font-weight: bold;

  /* font-style: italic; */
  color: var(--primary-blue);
}

.rhino {
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
  }
  .hero-image-right img {
    border-top-left-radius: 0;
    max-height: 400px;
  }
  .two-columns {
    flex-direction: column;
  }
  .column-left {
    flex: 0 0 auto;
    width: 100%;
  }

  .equipment-specialist-box {
    text-align: center;
  }
  .winner-badge img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
}

@media (max-width: 750px) {
  .early-bird-badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-left {
    flex-direction: column;
  }
  .hero-content-left h1 {
    font-size: 3rem;
  }
  .equipment-specialist-box img {
    max-width: 100%;
  }
}

/* --- Modal Form Styles --- */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 8, 28, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--dark-bg);
  padding: 40px;
  border-radius: 8px;
  border: 2px solid var(--primary-blue);
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s ease-in-out;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.close-button:hover {
  color: var(--primary-blue);
}

.modal-content h3 {
  font-family: "Anton", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.modal-content p {
  text-align: center;
  margin-bottom: 30px;
  color: #ccc;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  color: #ccc;
}

.form-group input {
  width: 100%;
  padding: 12px;
  background-color: #04081c;
  border: 1px solid var(--primary-blue);
  border-radius: 4px;
  color: var(--light-text);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 174, 255, 0.5);
}

.optional-divider {
  text-align: center;
  margin: 30px 0 20px 0;
  border-bottom: 1px solid #333;
  line-height: 0.1em;
}

.optional-divider h4 {
  background: var(--dark-bg);
  padding: 0 15px;
  display: inline-block;
  color: #888;
}

.modal-submit {
  width: 100%;
  margin-top: 10px;
  background-color: transparent;
}

@media screen and (max-width: 600px) {
  .modal-content {
    padding: 10px;
    width: 90vw;
    height: 80vh;
    margin: 0 auto;
  }

  .modal-content h3 {
    font-size: 1.8rem;
  }

  .optional-divider {
    display: none;
  }

  .optional-divider h4 {
    display: none;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .led {
    display: flex;
    flex-direction: column;
  }
}

/* --- Snackbar/Toast Notification Styles --- */

#snackbar {
  visibility: hidden; /* Hidden by default */
  min-width: 250px;
  background-color: #28a745; /* Success Green */
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 2000;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Animation for showing the snackbar */
#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Fade in animation */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

/* Fade out animation */
@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
