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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #151940 50%, #0a1628 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  padding-top: 80px;
}

/* Fixed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(10, 14, 39, 0.85);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00d4ff, #4a9eff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.right-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-btn {
  padding: 10px 25px;
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 25px;
  color: #00d4ff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #00d4ff;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 80px);
  background: rgba(10, 14, 39, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0, 212, 255, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 40px 20px;
  gap: 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .top-btn {
  width: 100%;
  text-align: center;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  header {
    padding: 0 20px;
  }
  .right-menu {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  .site-title {
    font-size: 1.2rem;
  }
}
@media (max-width: 768px) {
  .site-title {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .mobile-menu {
    width: 100%;
  }
}
/* Dynamic wave background */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: -1;
  animation: wave 25s linear infinite;
  opacity: 0.3;
}

body::before {
  background: radial-gradient(ellipse at center, transparent 0%, #00d4ff 40%, transparent 70%);
  animation-duration: 20s;
}

body::after {
  background: radial-gradient(ellipse at center, transparent 0%, #4a9eff 30%, transparent 60%);
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Flowing lines */
.flow-lines {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.flow-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #00d4ff, transparent);
  animation: flowDown 8s linear infinite;
  opacity: 0.2;
}

.flow-line:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.flow-line:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
}

.flow-line:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
}

.flow-line:nth-child(4) {
  left: 60%;
  animation-delay: 1s;
}

.flow-line:nth-child(5) {
  left: 75%;
  animation-delay: 3s;
}

.flow-line:nth-child(6) {
  left: 90%;
  animation-delay: 5s;
}

@keyframes flowDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
/* Gallery Container */
.gallery-container {
  width: 90%;
  max-width: 1400px;
  margin: 40px auto 80px;
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  animation: fadeUp 1.5s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(74, 158, 255, 0.02));
  border: 1px solid rgba(0, 212, 255, 0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.gallery-item .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px;
  background: linear-gradient(to top, rgba(10, 14, 39, 0.95), transparent);
}

.info h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #00d4ff;
  letter-spacing: 1px;
}

.info p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.4;
  font-weight: 300;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.98);
  -webkit-backdrop-filter: blur(30px);
          backdrop-filter: blur(30px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
  animation: lightboxOpen 0.3s ease-out;
}

@keyframes lightboxOpen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 80px rgba(0, 212, 255, 0.3);
  animation: imageZoom 0.4s ease-out;
}

@keyframes imageZoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 1px;
  background: #00d4ff;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-indicator::before {
  content: "";
  width: 4px;
  height: 10px;
  background: #00d4ff;
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}