a {
  text-decoration: none;
  color: inherit;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Page Transition Animation */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  z-index: 9999;
  transform: translateY(0);
  animation: pageTransition 1.5s ease-in-out forwards;
}

@keyframes pageTransition {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

/* Header Styles */
header {


  padding: 1.5rem 5%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  /* animation: slideDown 0.8s ease-out; */
}

/* @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  } */

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  animation: fadeIn 1s ease-out;
}

.logo span {
  color: #3498db;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item a {
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-item a:hover,
.nav-item a.active {
  color: #3498db;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #2c3e50;
  margin: 3px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: none;
  color: white;
  padding: 0 1rem;
  overflow: hidden;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
  z-index: 0;

  object-position: 0 88%;
  pointer-events: none;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* ✅ Add this */
  background: rgba(0, 0, 0, 0.4);
  /* ✅ Adjust darkness */
  z-index: 1;
}








.hero h1 {
  font-size: 2.5rem;
  /* margin-bottom: 1rem; */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.5s;
  /* padding-top: 4rem; */
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter Section */
.filter-container {
  padding: 1rem 5% 3rem;
  text-align: center;
  animation: fadeIn 1s ease-out;
  animation-delay: 1s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.filter-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  position: relative;
  display: inline-block;
}

.filter-heading h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #3498db;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: none;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  color: black;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

/* Gallery Skeleton Loader Styles */
.gallery-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  /* padding: 0 5% 5rem; */
  margin-top: 15px;
}

.gallery-skeleton-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: gallerySkeletonPulse 1.5s ease-in-out infinite;
  background: #ffffff;
  position: relative;
}

.gallery-skeleton-inner {
  position: relative;
  overflow: hidden;
  background-color: #eee;
  aspect-ratio: 4 / 3;
}

.skeleton-gallery-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
  background-size: 200% 100%;
  animation: galleryShimmer 1.5s infinite;
}

.skeleton-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skeleton-text {
  background: linear-gradient(90deg, #d6d8db 25%, #edeef1 50%, #d6d8db 75%);
  background-size: 200% 100%;
  animation: galleryShimmer 1.5s infinite;
  border-radius: 4px;
  height: 16px;
}

.skeleton-gallery-title {
  height: 20px;
  width: 70%;
  margin-bottom: 0.5rem;
}

.skeleton-gallery-description {
  height: 16px;
  width: 85%;
  opacity: 0.8;
}

/* Gallery Skeleton Animations */
@keyframes galleryShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes gallerySkeletonPulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

/* Responsive Design for Gallery Skeleton */
@media screen and (max-width: 768px) {
  .gallery-skeleton {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .skeleton-overlay {
    padding: 1rem;
  }

  .skeleton-gallery-title {
    width: 80%;
  }

  .skeleton-gallery-description {
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .gallery-skeleton {
    grid-template-columns: 1fr;
  }

  .skeleton-overlay {
    padding: 0.8rem;
  }

  .skeleton-gallery-title {
    height: 18px;
    width: 85%;
  }

  .skeleton-gallery-description {
    height: 14px;
    width: 95%;
  }
}

/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  /* padding: 0 5% 5rem; */
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: calc(0.1s * var(--i, 1));
}

.gallery-item.hide {
  display: none;
}

.gallery-item.show {
  display: block;
  animation: zoomIn 0.5s ease-out forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-item-inner {
  position: relative;
  overflow: hidden;
  background-color: #eee;
  aspect-ratio: 4 / 3;
}

.gallery-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item-inner img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.overlay p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 80%;
  max-height: 70vh;
  object-fit: contain;
  border: 5px solid white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: color 0.3s;
}

.close-lightbox:hover {
  color: #3498db;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  padding: 1rem;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px 20px 10px 19px;
  transition: background-color 0.3s;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

/* Footer */
/* footer {
   background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
   margin-top: 2rem;
} */

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: right 0.5s ease;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }


  .hero p {
    font-size: 0.8rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .lightbox-img {
    max-width: 95%;
  }
}

/* image gallery load more button */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
}


.loadmore-imagegallery {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  padding-bottom: 30px;
}