.row-to-3 {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
}

.activity-col,
.activity-col img {
  border-radius: 5px;
}

.activity-col img {
  height: 100% !important;
  width: 100% !important;
}

.activity-col {
  position: relative;
  width: 100%;
}

.bg-ovarlayer {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(49, 60, 65, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.7) 1%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 5px;
  z-index: 3;
}

.page-map-title {
  margin-bottom: 80px;
  color: white !important;
}

.page-map-title h1,
.page-map-title p {
  color: white !important;
}

.page-map-title p {
  font-size: 18px !important;
}

.page-description {
  margin: 50px 0;
  margin-bottom: 80px;
}

.desc-text {
  font-size: 16px;
}

.activity-desc {
  position: absolute;
  bottom: 15px;
  color: white;
  z-index: 20;
  left: 15px;
  font-size: 24px;
  font-weight: 500;
  transition: all 0.3s;
}

.activity-box hr {
  background-color: var(--template-green);
}

.activity-col:hover > .activity-desc {
  transform: translateX(20px);
}

.activity-flex {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 30px;
  margin-bottom: 50px;
}

.activity-box {
  width: 100%;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 10px;
}

/* .activity-box:nth-child(2) {
  background-color: rgba(120, 153, 78, 0.2);
}

.activity-box:nth-child(3n) {
  background-color: rgba(120, 153, 78, 0.2);
} */

.activity-description {
  color: #071c1f;
}

.about-image-right {
  float: right;
  margin-left: 40px;
  padding: 10px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.right-float-section {
  float: right;
  margin-left: 40px;
  padding: 10px;
  border-radius: 20px;
}

@media(max-width:780px) {
  .about-image-right {
    margin-left: 0;
    margin-bottom: 40px;
   
  }


}

.about-image-left {
  float: left;
  margin-right: 40px;
  margin-bottom: 40px;
  padding: 8px;
  border-radius: 20px;
   padding: 10px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}



.about-text {
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #071c1f;
}

.mobile-sub-menu-hidden {
  display: block;
  border: 1px solid white;
  visibility: hidden;
  height: 0;
  transition: height 0.3s;
}

.mobile-sub-menu-visible {
  display: block;
  border: 1px solid white;
  padding: 10px;
  visibility: visible;
  transition: all 0.3s;
  background-color: #f2f2f2;
  border-radius: 10px;
}

.social-media-icons {
  display: flex !important;
  gap: 20px;
}

.social-media-icons a .fa-brands {
  color: #071c1f;
  font-size: 24px;
}

.page-map-title h1 {
  font-size: 36px;
}

.page-title {
  font-size: 48px;
  color: #071c1f;
}

.about-title {
  color: var(--template-green);
  font-size: 32px;
  margin-bottom: 1.5rem;
}

.page-map-title p {
  font-size: 18px !important;
}

.footer-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white !important;
}

.footer-section span,
.footer-section a {
  color: white;
}

.sign {
  display: flex;
  gap: 5px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
}

.social-icon i {
  font-size: 1.3rem;
}

.text-justify {
  text-align: justify;
}

.bg {
  background-color: rgba(120, 153, 78, 0.2);
}

.address-and-mail-info {
  display: grid;
  grid-template-columns: auto ;
  gap: 20px;
}

.address,
.mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  border: 1px solid rgb(214, 214, 214);
  padding: 10px;
}

.info-item-bg {
  display: flex;
  padding: 5px;
  align-items: center;
  justify-content: center;
  background-color: rgba(120, 153, 78, 0.13);
  border-radius: 10px;
}

.address span,
.mail span {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
}

.widgettitle {
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(120, 153, 78, 0.9) !important;
}

.sidebar-item-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  cursor: pointer;
}

.drop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(120, 153, 78, 0.1);
  border: none;
  cursor: pointer;
  
}

.drop-icon img {
  transition: all .2s;
  max-width: 40px !important;
  max-height: 40px !important;
  width: 40px !important;
  height: 40px !important;
}

.sidebar-item-info {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
}

.drop-item {
  max-height: 100px;
  gap: 40px;
  transition: all .2s;
  display: flex;
}

@media(max-width:410px) {
  .drop-item {
    flex-direction: column;
    gap: 8px;
  }
}


.hidden-drop-item {
  max-height: 0;
  overflow: hidden;
  transition: all .2s;
}

.rotated-icon {
  transition: all .2s;
  transform: rotate(180deg);
  transition: all .2s;
}


.transport-box {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 50px;
}

.sultan-info {
  font-size: 16px !important;
}

.sultan-info span {
  display: inline-block;
  width: 100px ;
  min-width: 100px ;
}

.activity-title img {
  width: 70px;
}

#page_content_wrapper .sidebar .content .sidebar_widget li.widget {
  border: 1px solid rgba(120, 153, 78, 0.4);
  border-radius: 10px;
}

.home_about_section {
  display: flex;
  align-items: center; justify-content: start;
  gap: 20px;
  width: 100%;
  
}

.home_about_section_text {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 20px;
}

.home_about_img {
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.home_about_section_text h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.home_about_section_text p {
  font-size: 16px;
  text-align: justify;
}

.Row-6 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Elemanlar 180px genişlikten küçük olduğunda esneklik sağlamak için */
  gap: 10px; /* Elemanlar arasındaki boşluk */
}

.home_activities {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 5px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-bottom: 5px solid var(--template-green);
  margin-bottom: 10px;
}

.home_activities_title {
  font-size: 15px;
  font-weight: bold;
  padding-top: 15px;
}

.divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.divider div {
  width: 180px;
  background-color: var(--template-green);
  height: 3px;
  border-radius: 10px;
}

.parallax_top_text {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.parallax_top_text span {
  color: var(--template-green);
  font-weight: bold;
}

.parallax_top_text h4 {
  color: white;
  font-size: 40px;
  text-align: center;
}

.pt-50 {
  margin-top: 50px !important;
} 

.pb-50 {
  margin-bottom: 30px !important;
}

.pb-s-100 {
  margin-bottom: 120px;
}

.more-btn {
  padding: 8px 14px;
  display: inline-block;
  margin-top: 20px;
  border-radius: 10px;
  background-color: var(--template-green);
  color: white;
  width: auto;
  font-weight: bold;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.more-btn:hover {
  color: white;
}

.lang-btn {
  position: relative;
}

.lang-btn::before {
  position: absolute;
  left: -10px;
  top: 20px;
  width: 1.5px;
  height: 23px;
  background-color: white;
  content: "";
}

.lang-btn-mobile {
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .row-to-3 {
    grid-template-columns: auto auto;
  }

  .activity-flex {
    grid-template-columns: auto auto;
  }

  .bg-md-not {
    background-color: transparent;
  }

  .bg-md {
    background-color: rgba(120, 153, 78, 0.2);
  }

  .home_about_section {
    gap: 10px;
  }
  
  .home_about_section_text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
  }
  
  .home_about_img {
    width: 400px;
  }
  
  .home_about_section_text h2 {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  .home_about_section_text p {
    font-size: 16px;
    text-align: justify;
  }

  .Row-6 {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
  }

  
  .parallax_top_text h4 {
    font-size: 32px;
  }
  
}

@media (max-width: 960px) {
  .activity-flex {
    grid-template-columns: auto ;
  }

  .bg-md {
    background-color: transparent;
  }

  .activity-box:nth-child(odd) {
    background-color: rgba(120, 153, 78, 0.2);
  }

  .bg {
    background-color: transparent;
  }

  .transport-box {
    flex-direction: column;
  }

  .address-and-mail-info {
    grid-template-columns: auto auto;
  }
}

@media (max-width: 768px) {
  .row-to-3 {
    grid-template-columns: auto auto;
  }
  .activity-desc {
    font-size: 24px;
  }

  .activity-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-title {
    font-size: 28px;
    color: #071c1f;
  }
  .desc-text {
    font-size: 18px;
  }

  .address-and-mail-info {
    grid-template-columns: auto;
  }

  .home_about_section {
    gap: 10px;
  }
  
  .home_about_section_text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
  }
  
  .home_about_img {
    width: 350px;
  }
  
  .home_about_section_text h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .home_about_section_text p {
    font-size: 14px;
    text-align: justify;
  }

  .Row-6 {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
  }
}

@media(max-width:700px) {
  .home_about_img {
    width: 450px;
  }
  .home_about_section {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .row-to-3 {
    grid-template-columns: auto;
  }

  .activity-title {
    font-size: 18px;
  }

  .activity-description p {
    font-size: 14px;
  }

  
  .sultan-info {
    font-size: 14px !important;
  }

  .activity-title img {
    width: 50px;
  }

  .activity-desc {
    font-size: 16px;
  }
  
  @media(min-width:1200px) {
    .top_bar {
      padding-top: 10px;
    }
  
  }

  .page-title {
    font-size: 36px;
    color: #071c1f;
  }

  .footer-section {
    flex-direction: column;
    gap: 15px;
  }

  .footer-left-section {
    display: flex ; align-items: center; gap: 15px;
  }

  .page-map-title h1 {
    font-size: 28px;
  }

  .page-map-title p {
    font-size: 18px !important;
  }

  .about-title {
    color: var(--template-green) !important;
    font-size: 26px;
    margin-bottom: 1.5rem;
  }

  .home_about_section {
    flex-direction: column;
  }

  .home_about_section_text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding:  20px 0px;
  }
  
  .home_about_img {
    width: 350px;
  }
  
  .home_about_section_text h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .home_about_section_text p {
    font-size: 14px;
    text-align: justify;
  }

  .Row-6 {
    display: grid;
    grid-template-columns: auto ;
    gap: 20px;
  }

  .parallax_top_text h4 {
    font-size: 26px;
  }
}

* {
  box-sizing: border-box;
  list-style-type: none !important;
}



#gallery {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 0.5em;
}

@media (max-width: 800px) {
  #gallery {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
  }

  #gallery > div {
    width: 48%;
    margin: 1%;

    @media (max-width: 350px) {
      width: 98%;
    }
  }
}

#gallery > div {
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 20px 0 rgba(0, 0, 0, 0.19);
}

#gallery > div:hover img {
  filter: blur(4px);
}

#gallery > div:hover a {
  opacity: 1;
}

#gallery > div,
#gallery > div > a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

#gallery > div:nth-child(6n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

#gallery > div:nth-child(2) {
  grid-column: span 3;
  grid-row: span 3;
}

#gallery > div:nth-child(4) {
  grid-column: span 1;
  grid-row: span 2;
}

#gallery > div > a {
  /* display: none; */
  opacity: 0;
  position: absolute;
  color: #000;
  background-color: #000;
  font: bold 4em "Helvetica";
  /* text-shadow: 0 -1px 5px #fff, -1px 0 5px #fff, 0 1px 5px #fff, 1px 0 5px #fff; */
  padding: 2rem;
  mix-blend-mode: difference;
  width: 100%;
  height: 100%;
  transition: all ease 0.3s;
}

#gallery > div > img {
  width: 100%;
  min-height: 100%;
  transition: all ease 0.3s;
}

[id^="lightbox-"]:target {
  opacity: 1;
  z-index: 600;
  pointer-events: inherit;
}

[id^="lightbox-"] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

[id^="lightbox-"] .content {
  max-width: 90%;
  position: relative;
  color: #fff;
}

[id^="lightbox-"] .content:hover > a.close {
  opacity: 1;
  transform: scale(1, 1);
}

[id^="lightbox-"] .content:hover > .title {
  opacity: 1;
  transform: translateY(-3px);
}

[id^="lightbox-"] .content .title {
  display: block;
  margin: 0;
  padding: 1em;
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(50%);
  font-size: 1.5em;
  opacity: 0;
}

[id^="lightbox-"] .content .title::after {
  content: " ";
  background-color: rgba(0, 0, 0, 0.4);
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all 350ms ease-in-out 250ms;
  opacity: 0;
  transform-origin: bottom;
  mix-blend-mode: soft-light;
}

[id^="lightbox-"] img {
  max-height: 90vh;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

[id^="lightbox-"] a.close {
  width: 2em;
  height: 2em;
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0, 0);
  opacity: 0;
  transform-origin: right top;
  text-decoration: none;
  color: #fff;
}

[id^="lightbox-"] a.close::after {
  content: "X";
}

.hasbg {
  margin-bottom: 50px !important;
}
