/* ================================
   BASE STYLES
================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #415364;
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* ================================
   TYPOGRAPHY
================================ */

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 300;
  text-align: center;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  text-align: center;
}

p {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  line-height: 1.7;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================
   LAYOUT HELPERS
================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
}

.full-width {
  width: 100%;
}

.center {
  text-align: center;
}

.spacer {
  height: clamp(1.25rem, 8vw, 6.25rem);
}

/* Isotropic logo + heading */
.isotropic-logo img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}
.isotropic-heading {
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.6px;
}

/* ================================
   HERO / BANNER
================================ */

.hero {
  position: relative;
  height: auto;
  min-height: 75vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.fullscreen-img {
  width: 100%;
  height: 90vh;
  object-fit: cover;    /* fills screen without distortion */
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
}

/* Inset border */
.hero::before {
  content: "";
  position: absolute;
  top: clamp(10px, 3vw, 35px);
  left: clamp(10px, 3vw, 35px);
  right: clamp(10px, 3vw, 35px);
  bottom: clamp(10px, 3vw, 40px); /* distance from edges */
  border: 5px solid rgb(255, 255, 255);
  pointer-events: none;
  z-index: 1;
}

/* Overlay image */
.inner-image {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.inner-image img {
  width: min(80vw, 600px);
  max-width: 100%;
  height: auto;
}

/* Text */
.text-overlay {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #415364;
  width: min(92vw, 1100px);
}

/* ================================
   BUTTONS
================================ */

.button {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  font-size: clamp(0.95rem, 2.5vw, 1.5rem);
  border-radius: 50px;
  border: 2px solid #758592;
  color: #415364;
  background-color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.button:hover {
  background-color: #758592;
  color: #ffffff;
}

/* ================================
   CONTENT SECTIONS
================================ */

.information {
  border: 5px solid #758592;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: auto;
  margin: clamp(12px, 3vw, 35px);
  padding: clamp(1rem, 3vw, 2rem);
}

/* ================================
   FOOTER PANELS
================================ */

.footer-panels {
  display: flex;
  height: clamp(160px, 24vh, 260px);
  width: 100%;
  padding: clamp(10px, 3vw, 35px);
  gap: 0.5rem;
}

.footer-half {
  object-fit: cover;
  background-repeat: no-repeat;
  flex: 2;
  background-position: center;
  height: 100%;
}

.footer-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-quarter-one {
  background-size: cover;
  background-repeat: no-repeat;
  flex: 1;
  background-position: center;
  height: 100%;
}

.footer-quarter-one img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-quarter-two {
  background-size: cover;
  background-repeat: no-repeat;
  flex: 1;
  background-position: center;
  height: 100%;
}

.footer-quarter-two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1023px) {
  .fullscreen-img {
    height: 75vh;
  }

  .inner-image {
    top: 34%;
  }

  .text-overlay {
    top: 68%;
  }

  .hero::before {
    border-width: 4px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 65vh;
  }

  .fullscreen-img {
    height: 65vh;
  }

  .inner-image {
    top: 32%;
  }

  .text-overlay {
    top: 70%;
  }

  .information {
    border-width: 3px;
  }

  .footer-panels {
    flex-direction: column;
    height: auto;
  }

  .footer-half,
  .footer-quarter-one,
  .footer-quarter-two {
    width: 100%;
    height: clamp(120px, 22vh, 180px);
  }
}


