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

body {
  font-family: 'Arial', sans-serif;
  background-color: #ffff00;
  color: #000000;
  line-height: 1.6;
}

header {
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}

h1 {
  display: none;
}

.header-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.droon-title {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  height: calc(0.9rem + 0.5rem + 0.5rem + 12px); /* Same height as buttons including border */
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  left: 1rem;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

#category-nav {
  display: flex;
  justify-content: flex-start;
  gap: 0.25rem;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.category-btn {
  background: transparent;
  border: 6px solid #000;
  color: #000;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.category-btn:hover,
.category-btn.active {
  background-color: #000;
  color: #ffff00;
  transform: translateY(-2px);
}

main {
  padding: 0 1rem 2rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-grid {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem 0 0 0;
  align-items: flex-start;
}

.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  border: 6px solid #000;
  width: 100%;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item.hidden {
  display: none;
}

.lazy-image {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lazy-image:not([src*="data:image/svg"]) {
  opacity: 1;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1200px;
  max-height: 90%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.close:hover {
  color: #ffff00;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.modal-nav button {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #000;
  color: white;
  font-size: 24px;
  padding: 20px 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-nav button:hover {
  background: rgba(0, 0, 0, 0.9);
}

#prev-btn {
  left: 30px;
}

#next-btn {
  right: 30px;
}

/* Responsive design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-content {
    justify-content: flex-start;
    gap: 1rem;
  }

  .droon-title {
    font-size: 2rem;
    position: static;
    transform: none;
    margin-left: 0;
  }

  #category-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 0, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 0.25rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  #category-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .category-btn {
    width: 100%;
    text-align: left;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    border: none;
    background: transparent;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 12px;
  }

  .masonry-column {
    gap: 12px;
  }

  .category-btn {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .modal-content {
    width: 95%;
  }

  .close {
    top: 20px;
    right: 20px;
    font-size: 30px;
  }

  .modal-nav button {
    font-size: 20px;
    padding: 15px 12px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    gap: 10px;
  }

  .masonry-column {
    gap: 10px;
  }

  main {
    padding: 0 0.5rem 1rem 0.5rem;
  }

  header {
    padding: 1rem 0.5rem;
  }
}

/* Card style for About and Music sections */
.about-section {
  background: #fff;
  border: 6px solid #000;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  margin: 2rem auto 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1.25rem;
}

.about-section p {
  margin-bottom: 1.2rem;
  font-size: 1.2em;
}

.music-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  align-items: center;
}

.music-links a {
  color: #000;
  background: #ffff00;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin: 0.1rem 0;
  display: inline-block;
}

.music-links a:hover {
  background: #000;
  color: #ffff00;
  transform: translateY(-2px) scale(1.04);
}

/* Center content-section in gallery grid */
.content-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
}

/* Responsive adjustments for cards */
@media (max-width: 768px) {
  .about-section {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    font-size: 1.05rem;
  }
  .music-links a {
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
  }
}