
.custom-btn {
  padding: 0.5rem 1rem;
  color: rgb(241, 241, 241);
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-blue {
background-color: #2cb0d9;
}

.btn-blue:hover {
background-color: #2498bb;
color:white
}

.btn-green {
background-color: #006d45;
}

.btn-green:hover  {
background-color: #005234;
color:white
}

.custom-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.6);
}

.pb-1 {
  padding-bottom: 1em;
}

.pt-1 {
  margin-top: 0.5em;
}

.pt-2 {
  margin-top: 1em;
}

/* HERO SECTION */
.hero-section {
  height: 100vh;
  min-height: 30em;
  background: var(--bg-image) no-repeat 15% 25% / cover;
  display: flex;
  align-items: top;
  justify-content: center;
  padding-top: 100px;
}

.hero-area {
  width: 50%;
  height: 75vh;
  min-height: 23em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: white;
}

.hero-title {
  font-family: "Garamond", serif;
  font-size: 6em;
  font-weight: bold;
  line-height: 0.85;
}

.hero-heading,
.hero-subtext {
  font-size: 1.1em;
  padding-left: 5px;
}

.hero-heading {
  font-weight: 600;
  font-size: 1.2em;
}

.hero-subtext {
  font-weight: 400;
}

.hero-footer {
  margin-top: auto;
  opacity: 0.75;
}

.hero-socials {
  display: flex;
  gap: 1em;
}

.hero-socials img {
  width: 40px;
}

/* BODY SECTION */
.body-bg {
  min-height: 30em;
  background: var(--bg-image) no-repeat center / cover;
  display: flex;
  justify-content: center;
}

.body-wrapper {
  display: flex;
  width: 150vh;
  justify-content: center;
  color: white;
  padding: 2rem 1rem;
}

.body-text {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
  width: 100%;
  gap: 1rem;
}

.title {
  font-size: 2em;
  font-weight: 600;
}

.text-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.main-text {
  transition: max-height 0.5s ease;
  overflow: hidden;
}

.main-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.main-text.collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 5;

  /* Optional: standardized property (still experimental) */
  line-clamp: 5;
}

.toggle-button {
  margin-top: 0.5em;
  background: none;
  border: none;
  color: blue;
  cursor: pointer;
  font-size: 1em;
  padding: 0;
}

.body-footer {
  font-size: 1.5em;
  font-weight: 500;
}

.btn-container {
  padding-top: 0.5em;
  font-size: 1.5em;
  font-weight: 500;
}

.body-content {
  padding: 1.5em;
  width: 100%;
}

/* Image Handling */
img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.img-container {
  background: black;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.img-container.loaded {
  opacity: 1;
  transform: translateY(0);
}

.img-link {
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.img-link:hover {
  opacity: 0.75;
}

.underline {
  text-decoration: underline
}

@media (max-width: 1500px) {
  .body-wrapper {
    width: 200vh;
  }
}

@media (max-width: 1000px) {

  .hero-area {
    width: 90%;
    height: 80%;
    padding-top: 1em;
  }

  .hero-socials img {
    width: 50px;
  }

  .body-text {
    grid-template-columns: 1fr;
    height: auto;
    /* Let it grow as needed */
  }

  .body-content {
    padding: 1em;
  }
}