/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Colors - Black */
  --black-100: rgba(0, 0, 0, 1);
  --black-90: rgba(0, 0, 0, 0.9);
  --black-80: rgba(0, 0, 0, 0.8);
  --black-70: rgba(0, 0, 0, 0.7);
  --black-60: rgba(0, 0, 0, 0.6);
  --black-50: rgba(0, 0, 0, 0.5);
  --black-40: rgba(0, 0, 0, 0.4);
  --black-30: rgba(0, 0, 0, 0.3);
  --black-20: rgba(0, 0, 0, 0.2);
  --black-10: rgba(0, 0, 0, 0.1);

  /* Colors - White */
  --white-100: rgba(255, 255, 255, 1);
  --white-90: rgba(255, 255, 255, 0.9);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);

  /* Colors - Light Blue */
  --light-blue-100: rgba(0, 170, 209, 1);
  --light-blue-90: rgba(0, 170, 209, 0.9);
  --light-blue-80: rgba(0, 170, 209, 0.8);
  --light-blue-70: rgba(0, 170, 209, 0.7);
  --light-blue-60: rgba(0, 170, 209, 0.6);
  --light-blue-50: rgba(0, 170, 209, 0.5);
  --light-blue-40: rgba(0, 170, 209, 0.4);
  --light-blue-30: rgba(0, 170, 209, 0.3);
  --light-blue-20: rgba(0, 170, 209, 0.2);
  --light-blue-10: rgba(0, 170, 209, 0.1);

  /* Colors - Blue */
  --blue-100: rgba(36, 100, 175, 1);
  --blue-90: rgba(36, 100, 175, 0.9);
  --blue-80: rgba(36, 100, 175, 0.8);
  --blue-70: rgba(36, 100, 175, 0.7);
  --blue-60: rgba(36, 100, 175, 0.6);
  --blue-50: rgba(36, 100, 175, 0.5);
  --blue-40: rgba(36, 100, 175, 0.4);
  --blue-30: rgba(36, 100, 175, 0.3);
  --blue-20: rgba(36, 100, 175, 0.2);
  --blue-10: rgba(36, 100, 175, 0.1);

  /* Colors - Red */
  --red-100: rgba(228, 0, 43, 1);
  --red-90: rgba(228, 0, 43, 0.9);
  --red-80: rgba(228, 0, 43, 0.8);
  --red-70: rgba(228, 0, 43, 0.7);
  --red-60: rgba(228, 0, 43, 0.6);
  --red-50: rgba(228, 0, 43, 0.5);
  --red-40: rgba(228, 0, 43, 0.4);
  --red-30: rgba(228, 0, 43, 0.3);
  --red-20: rgba(228, 0, 43, 0.2);
  --red-10: rgba(228, 0, 43, 0.1);

  /* Typography */
  --font-family: Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-family-condensed: "Roboto Condensed", sans-serif;
  --font-size: 1.25rem;
  --font-weight: 400;
  --line-height: 1.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height);
  font-size: var(--font-size);
  color: var(--black-100);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.primary-button {
  background-color: var(--white-100);
  color: var(--red-100);
  border: none;
  padding: 1rem 3rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0px 0px 14px 0px var(--black-10);
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.secondary-button {
  background-color: var(--red-100);
  color: var(--white-100);
  border: none;
  padding: 1rem 3rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 0px 0px 14px 0px var(--black-10);
}
/* ============================================
   HEADER SECTION & SLIDER
   ============================================ */

.header-section {
  min-height: 100vh;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.header-left,
.header-right {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Left panel */
.header-left {
    color: var(--white-100);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    overflow: visible;
    min-width: 0;
}

/* Right panel image */
.header-right {
  background-color: var(--black-100);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.header-image {
  width: 100%;
  height: 100%;
}

.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.35s ease-in-out;
}

/* ============================================
   HEADER CONTENT
   ============================================ */

.logo-container {
  margin-bottom: 2rem;
}

.logo {
  height: 5.3125rem;
  width: auto;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.title-line {
  display: block;
}

.header-text-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 0;
}

.header-text {
  margin-bottom: 3rem;
}

.header-text .small-text {
  display: block;
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  width: 120px;
  line-height: 1.5;
}

.header-text .large-text {
  display: block;
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.header-button-container {
  padding-left: 0;
}

.deadline {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  margin-top: 1.75rem;
}

/* ============================================
   SLIDER NAVIGATION CONTROLS
   ============================================ */

.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;

  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
}

.slider-arrow {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white-100);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white-100);
  transform: scale(1.1);
}

.slider-arrow:active {
  transform: scale(0.95);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white-60);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot:hover {
  background: var(--white-40);
  border-color: var(--white-80);
}

.dot.active {
  width: 16px;
  height: 16px;
  background: var(--white-100);
  border-color: var(--white-100);
}

/* ============================================
   CAMPAIGN DETAILS SECTION
   ============================================ */
.campaign-details {
  background-color: var(--white-100);
  color: var(--black-100);
  padding: 5rem 3rem;
}

.campaign-mobile-button-container {
  display: none;
}

.campaign-text {
  font-size: 1.125rem;
  line-height: 1.8;
}

.campaign-text strong {
  font-weight: 700;
}

/* ============================================
   SUBMISSION FORM SECTION
   ============================================ */
.submission-section {
  padding: 3rem 5rem 5rem 3rem;
}

.submission-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 800px;
}

.submission-left {
  flex: 0 0 40%;
  background: url("images/form-callout.avif") no-repeat center center;
  background-size: cover;
  color: var(--white-100);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-family: var(--font-family-condensed);
  font-size: 2.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 2.625rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-instructions {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.form-instructions-strong {
  font-size: 2.25rem;
  line-height: 2.625rem;
  font-weight: 400;
  margin-top: auto;
  margin-bottom: auto;
}

.form-instructions a {
  color: var(--white-100);
  text-decoration: underline;
}

.form-instructions a:hover {
  opacity: 0.8;
}

.hashtag {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: auto;
}

.submission-right {
  flex: 0 0 60%;
  background-color: var(--white-100);
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: start;
}

/* Form Placeholder */
.form-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--black-10);
  border-radius: 0.375rem;
  padding: 2rem;
}

.form-placeholder p {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto;
  text-align: center;
  color: var(--black-100);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--black-100);
  color: var(--white-100);
  padding: 3rem 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left .logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(193, 193, 193, 1);
  font-size: 0.875rem;
}

.footer-right a {
  color: rgba(193, 193, 193, 1);
  text-decoration: underline;
}

.footer-right a:hover {
  color: var(--white-100);
}

.footer-right-divider {
  width: 4px;
  height: 4px;
  background-color: rgba(193, 193, 193, 1);
  border-radius: 999px;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* 1024px */
@media (max-width: 1024px) {
  /* Global overrides */
  .primary-button {
    font-size: 1rem;
  }

  .secondary-button {
    font-size: 1rem;
  }

  /* Header section overrides */
  .header-section {
    min-height: auto;
    overflow: hidden;
  }

  .slider-container {
    height: auto;
    min-height: 100vh;
    overflow: hidden;
  }

  .slide {
    flex-direction: column;
    position: relative;
    width: 100%;
  }

  .header-left {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 50vh;
    padding: 3rem 2rem;
  }

  .header-right {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 50vh;
    background-color: transparent;
    overflow: visible;
  }

  .header-text-container {
    padding-left: 0rem;
  }

  .header-button-container {
    display: none;
  }

  .header-image {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    display: block;
  }

  .header-image img {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    object-fit: cover;
    display: block;
  }

  .main-title {
    width: 100%;
    font-size: 3rem;
  }

  .header-text .large-text {
    font-size: 3.25rem;
  }

  .slider-controls {
    bottom: 1rem;
    padding: 0.5rem 1rem;
  }

  /* Campaign details section overrides */
  .campaign-mobile-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .campaign-mobile-button-container .secondary-button {
    width: 100%;
  }

  /* Submission section overrides */
  .submission-container {
    flex-direction: column;
  }

  .submission-left,
  .submission-right {
    flex: 1;
  }

  .form-title {
    font-size: 2.5rem;
  }

  .footer-container {
    padding: 0rem 1.25rem;
    flex-direction: column;
  }
  .footer-right {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }
}

/* 481px */
@media (max-width: 481px) {
  .header-left {
    padding: 2rem 1.25rem;
  }

  .header-image {
    background-color: var(--black-50);
  }

  .header-text {
    margin-bottom: 0;
  }

  .campaign-details {
    padding: 3rem 1.25rem;
  }

  .submission-section {
    padding: 3rem 0rem;
  }
  .submission-left {
    padding: 2rem 1.25rem;
  }
  .submission-right {
    padding: 2rem 1.25rem;
  }
  .hashtag {
    margin-top: 2rem;
  }
  .form-instructions-strong {
    font-size: 2.25rem;
  }

  .mobile-deadline {
    font-size: 1rem;
  }
}
