@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --highlight: #9933FF;
    --padding: 5rem;
}

.home-btn{
    animation: fadeUp 2s ease forwards;
}

body {
    margin: 0;
    font-family: "Urbanist", sans-serif;
    background-color: #000;
    color: #fff;
}

.gallery-header {
    padding: 0 var(--padding);
    margin-top: 12rem;
    margin-bottom: 6rem;
    text-align: left;
}

.gallery-header h2 {
    font-size: clamp(6rem, 10vw, 12rem);
    padding-bottom: 6rem;
    line-height: 1.1;
  animation: fadeUp 2s ease forwards;
  opacity: 0; /* Start hidden */
}

.gallery-header p {
    width: 100%;
    max-width: 1000px;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: #ccc;
      animation: fadeUp 2s ease forwards;
  opacity: 0; /* Start hidden */
}

/* Categories */
.category {
    padding: var(--padding);
    border-bottom: 1px solid #222;
    animation: fadeUp 2s ease forwards;
  opacity: 0; /* Start hidden */
}

.category h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 3rem;
    
}

.category h3 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 5rem;
    color: #aaa;
}

/* Responsive Grid */
.grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.item {
    flex: 1 1 200px;
    width: 300px;
    aspect-ratio: 3 / 4;
    border: 1px solid #333;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.item-vid {
  aspect-ratio: 16 / 9;
  width: 600px;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 3rem;
  background-color: #111; /* Optional: fallback bg color */
  border: 1px solid #333;
}

.item-vid video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item:hover {
    transform: scale(1.05);
    border-color: var(--highlight);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-header {
        padding: 0 2rem;
        margin-top: 6rem;
        margin-bottom: 3rem;
    }

    .gallery-header h2 {
    font-size: clamp(6rem, 10vw, 12rem);
    padding-bottom: 3rem;
    line-height: 1.1;
}


    .grid {
        gap: 1.2rem;
    }
}

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