/* COVER PHOTO */
.img-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.text-cover {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 1;
  width: 80%;
}

.text-cover h1{
  padding-top: 60px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 80px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1;
}

.sub-description{
  text-align: center; 
  font-weight: 500;
  margin-top: -50px;
  font-size: 25px;
}

/* Media queries for responsiveness */
@media screen and (max-width: 1050px) {
  .text-cover h1 {
    font-size: 70px;
  }

  .sub-description {
    margin-top: -30px; /* Adjust margin as needed for smaller screens */
    font-size: 18px; /* Adjust as needed for smaller screens */
  }
}

@media screen and (max-width: 868px) {
  .text-cover h1 {
    font-size: 60px;
  }
}

@media screen and (max-width: 568px) {
  .text-cover h1 {
    font-size: 50px;
  }
}

.img-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.img-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WHITE KANANG SA DESTINATIONS */
.destination-part{
  width: 82%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin-top: -110px;
  background-color: #f3f7fa;
  border-radius: 23px;
  padding: 1px 60px 60px 60px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
  margin-bottom: 50px;
}

.title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 50px;
  text-align: left; 
}

.title + hr {
  margin-top: 10px;
}


@media screen and (max-width: 768px){
  .title{
    font-size: 50px;
    text-align: center; 
  }
}

@media screen and (max-width: 568px){
  .title{
    font-size: 40px;
    text-align: center; 
  }
}

.destination-part strong{
  font-weight: 900;
}

.destination-part hr {
  border: 2px solid #38422b; 
  margin: 3px 0; 
  margin-top: -30px;
  margin-bottom: 30px;
}


/* destination album */
.card-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px;
}

.card {
  background: #ccd5c0;
  border-radius: 8px;
  margin-bottom: 20px; 
  width: calc(34% - 20px);
  position: relative;
}

.card-extra {
  background: #f3f7fa;
  border-radius: 8px;
  margin-bottom: 20px; 
  width: calc(34% - 20px);
  position: relative;
}

/* Style for the card image */
.card-img-top {
  width: 100%;
  height: 250px; 
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Style for the card title */
.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  padding-left: 15px;
  margin-top: 10px;
}

/* Style for the card text */
.card-text {
  font-size: 1rem; 
  padding: 20px; 
  text-align: justify; 
  margin-top: -45px;
  margin-bottom: 50px;
}

.card.hidden {
  display: none;
}

/* VIEW BUTTON */
.view-more {
  position: absolute;
  bottom: 20px; 
  left: 50%;
  transform: translateX(-50%);
}

.view-more a {
  display: inline-block;
  padding: 7px 18px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  background-color: #6e7753;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.view-more a:hover {
  background-color: #9aa581;
}

/* LOAD MORE */
#loadMore {
  width: 200px;
  color: #fff;
  display: block;
  text-align: center;
  margin: 20px auto;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background-color: #6e7753;
  transition: .3s;
  text-decoration: none;
}

#loadMore:hover {
  background-color: #9aa581;
  text-decoration: none;
}

.noContent {
  color: #000 !important;
  background-color: transparent !important;
  pointer-events: none;
  text-decoration: none;
}

/* Responsive styles */
@media screen and (max-width: 1000px) {
  .card {
    width: calc(48% - 20px);
  }
  
  .card-extra {
    width: calc(48% - 20px);
  }
}

@media screen and (max-width: 668px) {
  .card {
    width: 100%;
  }
  
  .card-extra {
    width: 100%;
  }
}