/* Dark Premium Background */
/* Background base */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050507;
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* 🔥 RGB Glow Background */
.bg-glow {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 20% 30%, #ff00cc, transparent),
              radial-gradient(circle at 80% 70%, #00f2ff, transparent),
              radial-gradient(circle at 50% 50%, #ffcc00, transparent);
  filter: blur(120px);
  opacity: 0.4;
  animation: moveGlow 12s infinite alternate ease-in-out;
}

@keyframes moveGlow {
  0% {transform: scale(1) translate(0,0);}
  100% {transform: scale(1.3) translate(50px, 50px);}
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  height: 100px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 9999;
  box-sizing: border-box; /* 🔥 important */
}
 .navbartext{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;

 }


/* Logo */
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  
}

/* Menu */
.menu {
  list-style: none;
  display: flex;
  gap: 15px; /* কমাও */
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* 🔥 important */
}

.menu a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: 0.3s;
}

.menu a:hover {
  color: #fff;
}

@media(max-width: 768px){

  .navbar {
    padding: 10px 15px;
  }

  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 12px;
  }

}


/* Hero Center */
.hero {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center; /* 🔥 important */
  padding: 0 20px; /* mobile spacing */
}

/* 📱 Mobile */
@media(max-width: 768px){
  .hero{
    height: 30vh;
    padding-top: 40px;
  }
}

.hero {
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding-left: 20px;
  padding-right: 20px;
}

/* Title */
.hero-title {
  font-size: 55px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ffffff, #ff00cc, #00f2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s infinite alternate;
}

/* 📱 Mobile */
@media(max-width: 768px){
  .hero-title {
    font-size: 34px;
  }
}

/* Subtitle */
.hero-subtitle {
  margin-top: -20px;
  color: #aaa;
  font-size: 18px;
  letter-spacing: 1px;
  animation: fadeUp 2s ease;
  text-align: center;
  max-width: 90%;
}

/* 📱 Mobile */
@media(max-width: 768px){
  .hero-subtitle {
    font-size: 14px;
    margin-top: -12px;
  }
}

/* Animations */
@keyframes textGlow {
  from {letter-spacing: 2px;}
  to {letter-spacing: 6px;}
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}
.hero button{
  margin-top:30px;
  padding:10px 25px;
  border:none;
  background:#d4af37;
  color:black;
  cursor:pointer;
}

/* Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 👉 3 column */
  gap: 20px;
  padding: 20px 20px;
}


.gallery-section h2{
  text-align:center;
  margin-bottom:30px;
  font-family:'Playfair Display';
}


/* Tablet */
@media (max-width: 900px) {
  #gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 500px) {
  #gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

#gallery2 {
  scroll-margin-top: 130px; /* 👉 navbar height অনুযায়ী */
}

.filter-buttons{
  text-align:center;
  margin-bottom:20px;
  
}

.filter-buttons button{
  margin:5px;
  padding:8px 15px;
  background:#222222;
  color:white;
  border:none;
  cursor:pointer;
}

.filter-buttons button:hover {
  background: #ff4d6d;
}

/* Card */
.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  
}

/* Image */
.card img {
  width: 100%;
 height: 100%;
  object-fit: cover;
  transition: 0.5s;
  
}

/* Hover zoom */
.card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: white;
  opacity: 0;
  transition: 0.4s;
}

.card:hover .overlay {
  opacity: 1;
}

/* Text */
.overlay h3 {
  font-size: 16px;
  margin: 0;
}

.overlay p {
  font-size: 12px;
  color: #ffcc70;
}

/* Album Tag Badge */
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 20px;
  color: #fff;
}

/* Glow Border */
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(45deg, #ffcc70, #ff6ec4, #00f2ff);
  z-index: -1;
  opacity: 0;
  transition: 0.4s;
}

.card:hover::before {
  opacity: 1;
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 9999; /* 👉 important */
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.95);
}

.lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}
@keyframes zoom {
  from {transform: scale(0.8);}
  to {transform: scale(1);}
}

/* buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}