body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f2f2f2;
  overflow-x: hidden;
}
.header{
  padding: 40px;
  perspective: 1000px;
  animation: fadeInRotate 1s ease-in-out;
  transform-style: preserve-3d;
  height: 260px;
  margin: bottom 30px;
}
.h1{
  font-size:30px;
  overflow: hidden;
   font-weight:800;
   background: linear-gradient(90deg, #000000, #252525, #8b8989, #180e0e);  
   -webkit-background-clip: text;
    
 
   background-clip: text; /* For Firefox compatibility */
   color: transparent;
}
  .header{
  background: url('https://www.transparenttextures.com/patterns/brushed-alum.png'), linear-gradient(135deg, #000000e1, #a1a1a1);
  background-blend-mode: overlay;
  background-size: 200% 200%;
  animation: steelGloss 15s linear infinite;
  padding: 100px 20px 60px;
  text-align: center;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: inset 0 0 60px rgba(255,255,255,0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.897);
   
}

@keyframes steelGloss {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header  h1 {
  font-size: 48px;
  animation: bounceInDown 1.5s both;
  background: linear-gradient(to right, rgb(5, 5, 5), rgba(0, 0, 0, 0.164));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

}




.home-link {
  position: absolute;
  top: 20px;
  left: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  align-self: flex-end;
  background: linear-gradient(145deg, #dfe2e6, #aeb2b6);  
  border: 2px solid #c1c4c7;
  color: #2a2a2a;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.6),   
    0 4px 8px rgba(0, 0, 0, 0.2);               
  text-shadow: 1px 1px 0 #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.home-link:hover {
  background: linear-gradient(145deg, #f1f1f1, #bfc2c5); 
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    0 6px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.gallery-container {
  padding: 2rem;
  perspective: 1000px;
  margin-top: 80px;
   
  background-size: 400% 400%;
  
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin-top:  0px;
  background-size: 400% 400%;
  overflow: hidden;
}

 
 


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 2000px;
  margin: 40px auto;
}

.gallery-item {
  touch-action: manipulation;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
  transform: translateZ(20px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

/* Lightbox Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  touch-action: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.modal-img {
  max-width: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.gallery-item video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.modal video {
  max-width: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
  border-radius: 8px;
}


.close-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.2s ease;
  background: none;
  border: none;
  padding: 10px;
}

.close-btn:hover {
  transform: rotate(90deg);
}

.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  border-radius: 50%;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}


.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .gallery-item img {
        height: 250px;
        
    }

    .nav-btn {
        padding: 12px 16px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    } */



.footer {
  perspective: 1000px;
  background: #2d2d2d;
}

.footer-inner {
  transform: rotateX(10deg);
  transition: transform 0.5s;
}

.footer:hover .footer-inner {
  transform: rotateX(0deg);
}

.footer-logo img {
  width: 200px;
}

.footer-social a:hover {
  transform: scale(1.1);
}