/* ==========================================================
   COLOR VARIABLES + HERO CONTROLS
   UPDATED: Centralized hero sizing and positioning
========================================================== */

:root {
  --navy: #07345f;
  --dark-navy: #052d52;
  --sky: #8ed8f4;
  --white: #ffffff;
  --black: #111111;

  /* Hero desktop controls */
  --hero-min-height: 900px;
  --hero-max-height: 1120px;
  --hero-bg-position: center 35%;

  --hero-title-top: 70px;
  --hero-overlay-top: 550px; /* was 550 */
  --hero-date-bottom: 88px;

  --hero-overlay-opacity: 0.65;
}

/* ==========================================================
   GLOBAL STYLES
========================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: #ffffff;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================
   HERO SECTION
   UPDATED: Uses centralized hero height/background variables
========================================================== */

.hero-section {
  position: relative;
  min-height: var(--hero-min-height);
  height: 100vh;
  max-height: var(--hero-max-height);
  background-image: url("../images/hero_image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--hero-bg-position);
  overflow: hidden;
  color: #ffffff;
}

.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 20, 45, 0.1) 0%,
      rgba(0, 35, 75, 0.12) 42%,
      rgba(0, 20, 50, 0.36) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* ==========================================================
   HERO TITLE / HEADLINE
   UPDATED: Uses centralized title position variable
========================================================== */

.hero-heading-wrap {
  position: absolute;
  top: var(--hero-title-top);
  left: 0;
  right: 0;
  width: 100%;
}

.hero-title {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 6.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.52);
}

.hero-subtitle {
  margin: 18px 0 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(1.5rem, 3.1vw, 2.85rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  line-height: 1.15;
  text-shadow: 5px 5px 7px rgba(0, 0, 0, 0.48);
}

.hero-rule {
  width: min(980px, 88vw);
  height: 4px;
  margin: 26px auto 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.34);
}

.hero-rule-bottom {
  margin-top: 18px;
}

/* ==========================================================
   HERO COPY OVERLAY
   UPDATED: Uses centralized overlay position and opacity variables
========================================================== */

.hero-copy-overlay {
  position: absolute;
  top: var(--hero-overlay-top);
  left: 0;
  right: 0;
  width: 100%;
  padding: 22px 0;
  background: rgba(8, 56, 91, var(--hero-overlay-opacity));
}

.hero-copy-box {
  color: #ffffff;
}

.hero-copy-box p {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ==========================================================
   HERO DATE / COMING SOON TEXT
   UPDATED: Uses centralized date position variable
========================================================== */

.hero-date-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--hero-date-bottom);
  width: 100%;
  text-align: center;
}

.more-text {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.45);
}

.small-rule {
  width: 160px;
  height: 2px;
  margin: 10px auto 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.34);
}

.launch-date {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-shadow: 5px 5px 7px rgba(0, 0, 0, 0.45);
}

/* ==========================================================
   MAIN TEASER CONTENT SECTION
========================================================== */

.teaser-content {
  padding: 78px 0 120px;
  background: #ffffff;
  color: #111111;
}

/* ==========================================================
   YOUTUBE VIDEO SECTION
========================================================== */

.video-block {
  max-width: 540px;
  margin: 0 auto;
}

.youtube-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #111111;
}

.youtube-icon {
  display: inline-flex;
  width: 30px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #ff0000;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1;
}

.video-frame {
  overflow: hidden;
  background: #111111;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.video-frame iframe {
  border: 0;
}

/* ==========================================================
   CONTACT PANEL / FORM
========================================================== */

.contact-panel {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px;
  background:
    radial-gradient(
      circle at bottom right,
      rgba(142, 216, 244, 0.98),
      rgba(14, 70, 120, 0.98) 42%,
      rgba(5, 45, 82, 1) 100%
    );
  color: #ffffff;
}

.contact-header h2 {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
}

.contact-header p {
  max-width: 470px;
  margin: 8px auto 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
}

.contact-form {
  position: relative;
  padding: 24px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.contact-form .form-control {
  min-height: 45px;
  border: 0;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  background: #ffffff;
}

.contact-form textarea.form-control {
  min-height: 118px;
  resize: vertical;
}

/* ==========================================================
   SEND BUTTON
========================================================== */

.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  min-height: 46px;
  width: 100%;

  border: 0;
  border-radius: 5px;

  background: #82d7f3;
  color: #ffffff;

  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;

  transition:
    background-color .25s ease,
    transform .15s ease;
}

.btn-send:hover,
.btn-send:focus {
  background: #5ec5e8;
  color: #ffffff;
}

.btn-send:active {
  transform: scale(.99);
}

.btn-send:disabled {
  background: #4b8eb8;
  color: #ffffff;
  opacity: 1;
  cursor: not-allowed;
}

.btn-send .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: .15em;
}

/* ==========================================================
   FORM ALERTS
========================================================== */

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  margin: 18px auto 0;
  padding: 16px 18px;

  max-width: 620px;

  border: 0;
  border-radius: 9px;

  font-family: 'Montserrat', Arial, Helvetica, sans-serif;

  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
}

.form-message-icon {
  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  font-size: 1.15rem;
}

.form-message strong {
  display: block;
  margin-bottom: 2px;

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.form-message p {
  margin: 0;

  font-size: .9rem;
  line-height: 1.45;
}

.form-message-success {
  background: #eaf8fd;
  color: var(--navy);
}

.form-message-success .form-message-icon {
  background: var(--navy);
  color: #ffffff;
}

.form-message-error {
  background: #fff0f0;
  color: #7b1f1f;
}

.form-message-error .form-message-icon {
  background: #b02a37;
  color: #ffffff;
}

.form-message-warning {
  background: #fff8e5;
  color: #6f5200;
}

.form-message-warning .form-message-icon {
  background: #d39e00;
  color: #ffffff;
}

/* ==========================================================
   HONEYPOT
========================================================== */

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer-section {
  background: #ffffff;
}

.footer-image-wrapper {
  position: relative;
}

.footer-mountains {
  display: block;
  width: 100%;
  height: auto;
}

.footer-copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  min-height: 52px;
  padding: 16px 20px;

  color: #ffffff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ==========================================================
   TABLET RESPONSIVE
   768px through 991px
   UPDATED: Overrides centralized hero controls for tablet
========================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --hero-min-height: 780px;
    --hero-max-height: none;
    --hero-bg-position: center center;

    --hero-title-top: 64px;
    --hero-overlay-top: 390px;
    --hero-date-bottom: 64px;
  }

  .hero-section {
    height: auto;
  }

  .hero-inner {
    min-height: var(--hero-min-height);
  }

  .teaser-content {
    padding: 60px 0 90px;
  }
}

/* ==========================================================
   PHONE RESPONSIVE
   576px through 767px
   UPDATED: Overrides centralized hero controls for phone
========================================================== */

@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --hero-min-height: 860px;
    --hero-max-height: none;
    --hero-bg-position: center center;

    --hero-title-top: 48px;
    --hero-overlay-top: 350px;
    --hero-date-bottom: 42px;
  }

  .hero-section {
    height: auto;
  }

  .hero-inner {
    min-height: var(--hero-min-height);
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4rem);
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: clamp(1.15rem, 5vw, 1.8rem);
    letter-spacing: 0.18em;
  }

  .hero-rule {
    width: 82%;
    height: 3px;
    margin-top: 22px;
  }

  .hero-copy-overlay {
    padding: 18px 0;
  }

  .hero-copy-box {
    width: calc(100% - 32px);
    padding: 0;
  }

  .hero-copy-box p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .more-text {
    font-size: 1.05rem;
  }

  .small-rule {
    margin-bottom: 18px;
  }

  .launch-date {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    letter-spacing: 0.06em;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-form {
    padding: 18px;
  }
}

/* ==========================================================
   SMALL PHONE RESPONSIVE
   575px and below
   UPDATED: Overrides centralized hero controls for small phones
========================================================== */

@media (max-width: 575.98px) {
  :root {
    --hero-min-height: 940px;
    --hero-max-height: none;
    --hero-bg-position: center center;

    --hero-title-top: 40px;
    --hero-overlay-top: 325px;
    --hero-date-bottom: 24px;
  }

  .hero-section {
    height: auto;
  }

  .hero-inner {
    min-height: var(--hero-min-height);
  }

  .hero-title {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 5.8vw, 1.35rem);
    letter-spacing: 0.15em;
  }

  .hero-rule {
    width: 82%;
    height: 3px;
    margin-top: 20px;
  }

  .hero-copy-overlay {
    padding: 18px 0;
  }

  .hero-copy-box {
    width: calc(100% - 32px);
    padding: 0;
  }

  .hero-copy-box p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .more-text {
    font-size: 1rem;
  }

  .small-rule {
    margin-bottom: 16px;
  }

  .launch-date {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
    letter-spacing: 0.05em;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-image-wrapper {
    background: var(--dark-navy);
  }

  .footer-mountains {
    padding-bottom: 58px;
    background: #ffffff;
  }

  .footer-copyright {
    min-height: 58px;
    padding: 18px 20px;
    background: var(--dark-navy);
  }
}