/* RESET & BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* CANVAS */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #0f1724;
}

/* BODY STYLE */
body {
  margin: 0;
  padding: 3rem 1rem;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

/* BACKGROUND IMAGE - FIXED */

.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0f1724;
  background-image: linear-gradient(to bottom,
      rgba(15, 23, 36, 0.85),
      rgba(15, 23, 36, 0.92)),
    url('jdbackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* MAIN CONTAINER */

.container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* DIVIDER LINES */

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

/* HEADER SECTION */
.header-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jdmainlogo {
  display: block;
  width: 100%;
  max-width: 520px;
  /* Adjust this number to scale the logo size up or down */
  height: auto;
  margin: 0 auto;
}

.subtitle {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #d0d7e1;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.location {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #7d8b9e;
  margin-bottom: 1.5rem;
}

/* ROTATING TEXT BANNER */
#rotating-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1em, 4vw, 1.25em);
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  color: #E0DBFFC2;
  text-transform: uppercase;
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;

  /* IOS SAFARI FIXES */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: opacity;
  -webkit-font-smoothing: antialiased;

}




/* SOCIAL ICONS */
.social-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.social-row a {
  color: #ffffff;
  font-size: 1.1rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-row a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* STAY IN LOOP SECTION */

.section-title-stay-in-loop {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 1.4rem;
  text-transform: uppercase;
  /* margin-bottom: 1.5rem; */
  color: #ffffff;
}

.stay-in-loop-subtitle {
  margin-top: 0px;
  margin-bottom: 1.4rem;

}

.section-title-push-notifications {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.section-title-mailing-list {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 1rem;
  text-transform: uppercase;

  color: #ffffff;
  margin-top: 30px;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 30px
}

.input-field {
  width: 100%;
  height: 3.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.625rem;
  padding: 0 1.5rem;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-field::placeholder {
  color: #6b7c93;
}

.input-field:focus {
  border-color: #3D5D82;
  background: rgba(255, 255, 255, 0.09);
}

.input-email {
  margin-top: 0.85rem;
}

.form-disclaimer {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #6b7c93;
  margin-top: 1rem;
}

.form-disclaimer span {
  display: block;
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: 0.2rem;
}

.stay-in-loop-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.push-notifications-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mailing-list-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-inner-container {
  gap: 10px;
}

/* FOOTER */
footer {
  margin-top: 1.5rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: #5c6b7e;
}

footer .social-row {
  margin-top: 1rem;
  margin-bottom: 0;
}