/* filepath: /Users/vincentvonappen/software/Dianysos/css/main.scss */

/* Triple Section */
#triple {
    padding: 60px 0;
    background-color: $background-color; /* Use the defined background color */

    .triple-image {
        max-width: 250px; /* Ensure consistent image size */
        height: 250px; /* Fixed height for uniformity */
        object-fit: cover; /* Crop the image to fit the container */
        margin: 0 auto; /* Center the image */
        margin-bottom: 15px; /* Add spacing below the image */
    }

    h3 {
        font-family: $font-family-primary;
        font-size: $font-size-medium; /* Use medium font size */
        font-weight: $font-weight-bold; /* Use bold weight */
        color: $tertiary-color; /* Use deep red color */
        margin-top: 10px;
        margin-bottom: 10px;
    }

    p {
        font-family: $font-family-primary;
        font-size: $font-size-small; /* Use small font size */
        font-weight: $font-weight-light; /* Use light weight */
        color: $text-color; /* Use black color */
        line-height: 1.5;
        margin-top: auto; /* Allow dynamic spacing based on content */
    }
}

#triple .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align the content horizontally */
    justify-content: flex-start; /* Align items at the top */
    text-align: center; /* Ensure text is centered */
}

/* Responsive Adjustments */
@media (max-width: $on-palm) {
    #triple .triple-image {
        max-width: 100%; /* Scale to full width on smaller screens */
    }

    #triple .col-md-4 {
        margin-bottom: 30px; /* Add spacing between stacked columns */
    }
}

/* Hero */
#hero {
  position: relative;
  height: 70vh;

  .hero-bg {
    background: url('../assets/images/header-bg.jpg') center/cover no-repeat;
    position: absolute; top:0; left:0; right:0; bottom:0;
    filter: brightness(0.7);
  }

  .hero-content {
    position: relative;
    top: 50%; transform: translateY(-50%);
    .logo-img {
      max-width: 240px;
    }
    .mission-text {
      margin-top: 1rem;
      font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
      font-size: 20px;
      font-weight: 400;
      color: #F7F3EF;
    }
  }
}

/* Solution */
#solution {
  h2 {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 32px;
    font-weight: 860;
    margin-bottom: .5rem;
  }
  p {
    font-family:'Merriweather', 'Helvetica Neue', Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(27,31,38,0.72);
  }
  .solution-img {
    max-width: 100%;
    height: auto;
    position: sticky;
    top: 100px;
  }
}

@media (min-width: 992px) {
    .mt-overlap {
      margin-top: -300px;
      z-index: 10;
      position: relative;
    }
  }