@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn:hover:not(.active) {
  color: #d19e00;
}

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: #333;
  font-family: 'Noto Sans Sinhala', 'Poppins', sans-serif;
  padding-bottom: 80px;
}

.nav-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 167, 32, 0.699);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pagination-btn {
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  transform: scale(1.05);
}

.active-page {
  background-color: #d69e2e;
  color: white;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 20px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, #ffd701, #d19e00);
  border-radius: 2px;
}

.gallery-item {
  transition: transform 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd701, #d19e00);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(209, 158, 0, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(209, 158, 0, 0.4);
}

.opacity-0 {
  opacity: 0;
}

.animate-on-scroll {
  animation: fadeIn 0.8s ease forwards;
}

.hero-pattern {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%), url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffd701' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.social-tab-placeholder {
  min-height: 500px;
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
}

/* Facebook loader styling */
.facebook-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fb-placeholder {
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #f0f2f5, #e4e6eb);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.fb-placeholder::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e1e3e8;
}

.fb-placeholder::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 85px;
  width: 150px;
  height: 15px;
  background: #e1e3e8;
  border-radius: 4px;
}

.fb-loader-bar {
  height: 15px;
  background: #e1e3e8;
  border-radius: 4px;
  margin: 15px 20px;
  position: relative;
  overflow: hidden;
}

.fb-loader-bar:nth-child(1) {
  width: 90%;
}

.fb-loader-bar:nth-child(2) {
  width: 95%;
}

.fb-loader-bar:nth-child(3) {
  width: 85%;
}

.fb-loader-bar:nth-child(4) {
  width: 70%;
}

.fb-loader-bar:nth-child(5) {
  width: 92%;
}

/* Animation for loader */
.fb-placeholder::before,
.fb-placeholder::after,
.fb-loader-bar {
  position: relative;
  overflow: hidden;
}

.fb-placeholder::before,
.fb-placeholder::after,
.fb-loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  100% {
    left: 100%;
  }
}
