/* Common Styles */
/* body {
  font-family: "Noto Serif Sinhala", serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
} */

/* Common Styles */
body {
  font-family: "Noto Serif Sinhala", serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  background-image: url("../images/bg-image-desktop.jpg"); /* Default background image for desktop */
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  body {
    background-image: url("../images/bg-image-mobile.jpg");
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 1.8rem;
  color: #0056b3;
  font-weight: 700;
}

.header p {
  font-size: 1.1rem;
  color: #333;
}

.btn-back {
  margin-top: 10px;
  border-radius: 0%;
}

.album-images {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 30px;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-container img,
.image-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.image-container:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.footer a {
  color: white;
  text-decoration: none;
}

/* Back to Top Button */
.btn-top {
  position: fixed;
  bottom: 60px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.btn-top i {
  transition: transform 0.3s ease;
}

.btn-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-top.launch {
  animation: launch 0.6s forwards ease-in-out;
}

@keyframes launch {
  0% {
    bottom: 60px;
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
  50% {
    bottom: 80px;
    transform: translateY(-10px) rotate(-20deg);
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

/* Modal Styles */
.modal-content {
  background-color: #f8f9fa;
  border-radius: 0%;
  padding: 20px;
  text-align: center;
}

.round-button {
  background-color: #0056b3;
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 0%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.round-button:hover {
  background-color: #004080;
}

/* Responsive Layouts */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.4rem;
  }

  .header p {
    font-size: 1rem;
  }

  .btn-back {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .album-images {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.2rem;
  }

  .header p {
    font-size: 0.9rem;
  }

  .btn-back {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .btn-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
