
.darkgallery{
  font-family: system-ui;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

@scope(.darkgallery){

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

body {
  font-family: system-ui;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0px;
  gap: 4rem;
}

.header {
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 0.25px;
  line-height: 1.2;
}

.description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #cccccc;
  font-weight: 300;
  /* line-height: 1.8; */
  max-width: 700px;
  margin: 0 auto;
}

.gallery {
  width: 100%;
  max-width: 1400px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.gallery-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 1.5rem;
}

.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  height: 400px;
  background-color: #1a1a1a;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  opacity: 1 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.nav-button {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: none;
  color: #ffffff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.nav-button:active {
  transform: scale(0.95);
}

.nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.dots-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  border-radius: 50%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .gallery-item {
    width: 240px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
    gap: 2rem;
  }
  
  .gallery-container {
    gap: 1rem;
  }
  
  .gallery-track {
    gap: 1rem;
  }
  
  .gallery-item {
    width: 200px;
    height: 280px;
  }
  
  .nav-button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 160px;
    height: 240px;
  }
  
  .dots-container {
    gap: 0.5rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}
}
