*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  background:#0f0f0f;
  color:white;
  overflow-x: hidden;
}

/* 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;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;

 }


/* Logo */
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  
}

/* Menu */
.menu {
  list-style: none;
  display: flex;
  gap: 15px; /* কমাও */
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* 🔥 important */
}

@media(max-width:768px){
  .navbartext{
    display: flex;
    flex-direction: column;   /* logo উপরে, menu নিচে */
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .menu{
    justify-content: center;  /* menu center */
    align-items: center;
    margin-top: 8px;
  }
}


.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 */
.hero{
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
              url('images/bg.jpg') center/cover;
  padding-left: 20px;
  padding-right: 20px;
}

/* HERO GLOW OVERLAY ADD */

/* MULTI GLOW EFFECT */
.hero::after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  pointer-events:none;
  background:radial-gradient(circle at 20% 30%, rgba(212,175,55,0.4), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(168,85,247,0.3), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,240,255,0.2), transparent 50%);
  filter:blur(100px);
  animation:glowMove 10s infinite alternate;
}
.glow-section::after{
  background:
    radial-gradient(circle at 30% 30%, #d4af37, transparent 50%),
    radial-gradient(circle at 70% 70%, #a855f7, transparent 50%);
  filter: blur(120px);
}
/* ANIMATION */
@keyframes glowMove{
  0%{
    transform: scale(1) translate(0,0);
  }
  100%{
    transform: scale(1.2) translate(-20px,20px);
  }
}


.hero h1{
  font-size:50px;
  font-family:'Playfair Display';
  padding-bottom: 30px;
}

.hero span{
  color:#d4af37;
}

.hero button{
  margin-top:30px;
  padding:10px 25px;
  border:none;
  background:#d4af37;
  color:black;
  cursor:pointer;
}

/* Grid */
#gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 👉 4 column */
  gap: 20px;
  padding: 20px 20px;
}


.gallery-section h2{
  text-align:center;
  padding-top: 50px;
  padding-bottom: 20px;
  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);
  }
}

#gallery{
  scroll-margin-top: 230px; /* 👉 navbar height অনুযায়ী */
}
@media (max-width 900px){
  #gallery{
  scroll-margin-top: 230px; /* 👉 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;
  transform: translateY(0); /* 🔥 fix base */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 🔥 Instead of image lifting → card lift */
.card:hover {
  transform: translateY(-8px); /* smooth lift */
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Image */
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block; /* 🔥 gap remove */
  transition: transform 0.5s ease;
}

/* Hover zoom */
.card:hover img {
  transform: scale(1.05);
}

/* 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;
}

/* ── FOOTER ── */
  footer {
    margin-top: 2rem;
    padding: 2rem 5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeUp 1s 0.65s ease both;
  }
  footer span {
    font-size: 0.57rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  
    font-weight: 300;
  }

  footer span a{
    text-decoration: none;
      color: var(--muted);
  }
  .footer-heart { color: var(--rose); }

  /* ── ANIMATIONS ── */
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
