/* ============================================
   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;

  /* Layout */
  --section-max-width: 1600px;
  --section-padding-x: 3rem;
  --section-padding-y: 5rem;
}

/* ============================================
   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 {
  width: 100%;
  max-width: var(--section-max-width);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
}

.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);
}
/* ============================================
   HERO SECTION
   ============================================ */

.header-section {
  min-height: 90vh;
  background: linear-gradient(
    135deg,
    var(--light-blue-100) 0%,
    var(--blue-100) 100%
  );
}

.hero {
  display: flex;
  flex-wrap: nowrap;
  min-height: 90vh;
  width: 100%;
  padding-block: var(--section-padding-y);
  gap: 4rem;
}

.hero-left {
  color: var(--white-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  width: 40%;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.moments-images {
  width: 100%;
  height: 100%;
  min-height: 20rem;
}

.moments-image {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  opacity: 1;
  border-radius: 1rem;
  transition: opacity 0.35s ease-in-out;
  overflow: hidden;
}

.logo-container {
  margin-bottom: 0;
}

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

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

.title-line {
  display: block;
}

.hero-intro {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 2.5rem;
  max-width: 28rem;
}

.hero-button-container {
  margin-top: 0.5rem;
}

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

.slider-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.slider-arrow {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white-100);
  width: 40px;
  height: 40px;
  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: 12px;
  height: 12px;
  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-block: var(--section-padding-y);
}

.campaign-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

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

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

/* ============================================
   SUBMISSION FORM SECTION
   ============================================ */
.submission-section {
  padding-block: var(--section-padding-y);
}

.submission-container {
  display: flex;
  gap: 4rem;
  min-height: 800px;
}

.submission-left {
  width: 40%;
  min-width: 0;
  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: start;
}

.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-family: var(--font-family-condensed);
  font-size: 1.75rem;
  line-height: 2.25rem;
  margin-bottom: auto;
}

.form-instructions-contact {
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}

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

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

.hashtag {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.submission-right {
  flex: 0 0 60%;
  background-color: var(--white-100);
  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-block: var(--section-padding-y);
}

.footer-container {
  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;
  }

  /* Hero section overrides */
  .header-section {
    min-height: auto;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    flex: 0 0 auto;
    width: 100%;
    min-height: auto;
  }

  .hero-right {
    flex: 0 0 auto;
    width: 100%;
    min-height: 50vh;
  }

  .moments-panel {
    max-width: none;
  }

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

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

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

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

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

/* 481px */
@media (max-width: 481px) {
  :root {
    --section-padding-x: 1.5rem;
    --section-padding-y: 3rem;
  }

  .hero-right {
    min-height: auto;
  }

  .moments-images {
    min-height: auto;
  }

  .moments-image {
    object-fit: contain;
    min-height: auto;
  }

  .submission-left {
    padding: 2rem 1.5rem;
  }

  .form-instructions-contact {
    margin-top: 2rem;
  }

  .submission-right {
    padding: 2rem 0rem;
  }

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