/* ==========================================================================
   Layouts - BOTANICA
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) var(--padding-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

/* Hero Layout */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 15vh;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%;
  height: 120%; /* Parallax space */
  object-fit: cover;
  opacity: 0.7;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Asymmetrical Layouts */
.asymmetric-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
@media (min-width: 1024px) {
  .asymmetric-gallery {
    flex-direction: row;
    align-items: center;
  }
  .asymmetric-gallery .img-large {
    flex: 1.5;
  }
  .asymmetric-gallery .img-small {
    flex: 1;
    margin-top: 20vh;
  }
}

/* Footer Layout */
.site-footer {
  padding: var(--space-xl) 0 var(--space-md);
  background-color: var(--clr-forest);
  color: var(--clr-bg);
}
.site-footer h2, .site-footer h3, .site-footer p {
  color: var(--clr-bg);
}
.site-footer p {
  opacity: 0.7;
}
