body{
  font-family: 'Poppins';  
  background-color: #38422b;
  margin: 0;
}

/* Navigation */
.navbar {
  background-color: #f3f7fa;
  height: 68px;
  position: fixed;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
  z-index: 2;
}

.container-navbar {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  height: 80px; /* Adjust the height based on your design */
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  margin-left: -10%; 
}

.nav-brand img {
  display: block;
  width: 250px;
  height: 70px;
  margin: 0 -50px; /* Center the image horizontally */
}

.navbar a {

  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  margin-right: 50%; 
}

.navbar i {
  margin-right: 8px; /* Add some space between the icon and the text */
}


/* COVER PHOTO */
.img-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* .text-cover {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 1;
  width: 80%;
}

.text-cover h1{
  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: -20px;
  font-size: 25px;
} */

.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 tourist spot */
.spots{
  width: 82%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin-top: -140px;
  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;
}

.spots strong{
  font-weight: 900;
}

/* DESCRIPTION */
.description {
  margin-top: -40px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.left-div {
  flex: 1 0 70%; /* 60% width, don't grow, don't shrink */
  padding: 20px;
  text-align: justify;
}

.right-div {
  flex: 1 0 20%; /* 40% width, don't grow, don't shrink */
  padding: 10px;
}

/* GALLERY */
.gallery-about {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px; /* Ensure enough space for 3 items */
  margin: 20px auto;
  gap: 10px;
  justify-content: center;
}

.thumb {
  width: calc(33.33% - 10px); /* Ensures 3 per row */
}


.page-top {
  margin-top: 85px;
}

img.zoom {
  object-fit: cover;
  transition: all .3s ease-in-out;
}
        
.transition {
  transform: scale(1.2);
}

.modal-header {
  border-bottom: none;
}

.modal-title {
  color:#000;
}

.modal-footer{
  display:none;  
}

.fancybox .fancybox-inner {
  width: auto !important;
}

/* Adjust the image width */
.fancybox img {
  width: 100% !important; /* Adjusts to its container */
  height: 273px !important;
}

/* SOCIAL MEDIA */
.spot-details {
  margin-top: 10px;
}

.spot-details ul {
  list-style: none;
  padding: 0;
  /* display: flex; */
  justify-content: center;
  margin-top: 5px;
}

.spot-details li a:hover {
  color: #9aa581; /* Adjust the color when the link is hovered */
}

.spot-details i {
  font-size: 25px;
  padding-bottom: 15px;
  padding-right: 10px;
}

.spot-details ul li {
  margin-right: 30px; 
}

.spot-details a {
  text-decoration: none;
  color: inherit;
}

.spot-details .fab {
  font-size: 30px; 
}

/* visit website */
.visit-website a {
  padding: 12px 15px 8px 15px;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  background-color: #38422b;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.visit-website a:hover {
  background-color: #9aa581;
}

/* GALLERY */
img.zoom {
  width: 100%;
  height: 200px;
  border-radius:5px;
  object-fit:cover;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
}
      

.transition {
  -webkit-transform: scale(1.2); 
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.modal-header {
  border-bottom: none;
}
.modal-title {
    color:#000;
}
.modal-footer{
  display:none;  
}

@media only screen and (max-width: 768px) {
  .description {
    flex-direction: column;
  }

  .left-div,
  .right-div {
    flex: 1 0 100%;
  }

  .gallery-about {
    margin-top: 20px;
    height: auto;
    text-align: center;
  }

  .thumb {
    display: block;
    margin: 0 auto 10px;
  }

  .right-div {
    margin-top: 20px;
  }
}

/* Adjustments for smaller screens */
@media only screen and (max-width: 768px) {
  .fancybox img{
    width: 100% !important; /* Change the width for screens up to 768px */
  }
}

/* For Comments */
.comments {
  margin-bottom: 20px;
}

hr {
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

.comments-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comment-form {
  max-width: 80%;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  box-sizing: border-box;
  font-family: 'Poppins';  
  /* border-color: #333; */
  border: 2px solid gray;
  /* font-style: ; */
}

label{
  font-size: 15px;
  margin-bottom: -8px;
}

#name {
  font-family: 'Poppins'; 
  width: 50%;
  border: 2px solid gray;
  /* border-color: #333; */
  height: 30px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 10px;
}

/* #imageInput {
  font-family: 'Poppins'; 
  width: auto;
  border: 2px solid gray;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 10px;
  font-size: 18px;
} */

#imageInput {
  font-family: 'Poppins'; 
  width: 40%;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 16px;
  display: inline-block;
}


/* submit comment */
button {
  padding: 10px;
  background-color: #38422b;
  font-family: 'Poppins'; 
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #6e7753;
}

.user-container {
  display: flex;
  align-items: center; /* Center items vertically */
  margin-bottom: 10px;
}

.user-image {
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  margin-right: 10px;
  object-fit: cover;
}

/* Style for the comments container */
#commentsContainer {
  max-width: 95%;
  margin: 10px auto;
}

/* Style for each individual comment */
.comment {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: justify;
}

.comment strong {
  color: #3366cc;
  font-size: 20px;
}

.comment p {
  margin: 0; /* Remove default margin */
  color: #888;
}

.comment-time {
  display: block;
  color: #888; 
  font-size: 0.8em; 
  margin-top: 5px;
  text-align: right;
}

.uploaded-image {
  width: 200px;
  max-width: 100%; /* Ensure the image doesn't exceed its container's width */
  height: 200px; /* Maintain the image's aspect ratio */
  margin-top: 10px; /* Add some spacing above the image */
  object-fit: cover;
  margin-right: 10px;
}

















/* footer(real) */
footer {
  background-color: #6e7753;
  text-align: center;
  padding: 25px 0;
}

.footer-description {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.left-div-footer {
  flex: 0.4;
  padding: 20px;
  text-align: justify;
}

.right-div-footer {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}

.left-div-footer img{
  width: 103%;
  margin-top: -30px;
  margin-left: -15px;
}

.footer-contact {
  margin-top: 30px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.footer-contact ul li {
  margin-right: 20px; 
}

.footer-contact a {
  text-decoration: none;
  color: inherit;
}

.fab {
  font-size: 30px; 
}

.footer-description ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: -15px;
}

.footer-description a {
  color: black; /* Set link color */
  text-decoration: none; 
}

.footer-description li a:hover {
  color: #9aa581; /* Adjust the color when the link is hovered */
}

.footer-description p{
  font-family: 'Poppins'; 
  font-size: 20px;
  text-align: left;
  font-weight: bold;
}

.footer-content {
  align-items: center;
  padding: 0 20px; 

}

.copyright-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  margin-right: 20px;
}
