body {
    overflow-x: hidden;
}

.navbar ul li:nth-child(5) a {
    color: #fad565;
}

.row h2 {
    color: #fad565;
    text-align: center;
    font-size: 30px;
}

.row p {
    text-align: center;
    padding-bottom: 25px;
    color: white;
    font-size: large;
    margin-top: 10px;
}

.row {
    margin-top: 40px;
}

.category-bar {
    display: flex;
    justify-content: center;
    padding: 60px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.category-bar button {
    padding: 10px 40px;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: transparent;
    color: white;
    border-radius: 4px;
}

.all-button:hover {
    background-color: #fad565 !important;
    color: black;
    border-color: black;
}
.category-button:hover {
    background-color: #fad565 !important;
    color: black;
    border-color: white;
}

.category-bar button.active {
    background: #fad565 !important;
    color:black !important;
    border: 1.5px solid #fad565 !important;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(193,154,107,0.10);
}

/* Pinterest-style Masonry Layout */
.container {
    column-count: 4;
    column-gap: 20px;
    padding: 20px;
    background-color: black;
    margin: 0 auto;
    max-width: 1400px;
    border-radius: 0;
}

.item {
    display: inline-block;
    break-inside: avoid;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    position: relative;
    transition: transform 0.3s ease;
}


.item:hover {
    transform: translateY(-5px);
}

/* Masonry Height Variations */
.item.small {
    height: 250px;
}

.item.medium {
    height: 350px;
}

.item.large {
    height: 450px;
}

.item.extra-large {
    height: 550px;
}

.item.portrait {
    height: 400px;
}

.item.landscape {
    height: 300px;
}

/* Ensure images fill the container */
.item img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.item:hover img {
    transform: scale(1.03);
}

/* Responsive Masonry Columns */
@media (max-width: 1200px) {
    .container {
        column-count: 3;
    }

    .category-bar button {
        padding: 10px 30px;
    }
}

@media (max-width: 900px) {
    .container {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .container {
        column-count: 1;
    }

    .category-bar {
        padding: 30px 0;
    }

    .category-bar button {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Scrolling Navbar Styles */
.navbars {
    width: 100%;
    overflow: hidden;
    padding: 15px;
    color: white;
    margin-top: 50px;
    position: relative;
    background-color: black;
}

.navbars::before,
.navbars::after {
    content: '';
    display: block;
    height: 2px;
    background-color: #fad565;
    width: 100%;
    position: absolute;
    left: 0;
}

.navbars::before {
    top: 0;
}

.navbars::after {
    bottom: 0;
}

.horizontal-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
    margin: 0;
    padding: 0;
}

.horizontal-scroll:hover {
    animation-play-state: paused;
}

li {
    display: inline-block;
    margin-right: 10px;
    font-size: 22px;
}

a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

a:hover {
    color: #fad565;
}

.divider {
    color: white;
    font-size: 24px;
    margin-right: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
