/*
=========================================
Folks Roster – Square Grid + Color-on-Hover, Compact, 3-Column
=========================================
*/

* {
    box-sizing: border-box;
}

.folks-wrapper {
    width: 100%;
    margin: 0 auto;
}

/*
=========================================
Grid – 3 columns with increased spacing
=========================================
*/

.folks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.folk-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #111;
    transition: .35s;
}

/*.folk-card:hover {*/
/*    transform: translateY(-6px);*/
/*}*/

.folk-image {
    overflow: hidden;
    background: #000;
}

.folk-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: .5s;
    filter: grayscale(100%);
}

.folk-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.folk-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .9));
}

/* Increased title size by 30% (18px → 24px) */
.folk-name h3 {
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 24px;          /* increased */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/*
=========================================
Popup
=========================================
*/

#folks-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999;
}

#folks-popup.active {
    display: block;
}

.folks-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
}

.folks-popup-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 1100px;
    background: #0e0e0e;
    color: #fff;
    display: flex;
    gap: 30px;
    padding: 45px 30px 30px 30px;   /* increased top padding */
    overflow: auto;
    max-height: 90vh;
    border-radius: 4px;
}

/*
=========================================
Left side – SQUARE profile picture in popup
=========================================
*/

.popup-left {
    width: 35%;
}

.popup-left img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/*
=========================================
Social Icons – compact
=========================================
*/

.popup-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.popup-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    text-decoration: none;
    transition: all .3s ease;
}

.popup-socials a i,
.popup-socials a svg {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #fff;
    transition: all .3s ease;
}

.popup-socials a:hover {
    background: #fff !important;
    border-color: #fff !important;
    transform: translateY(-2px);
    color: #000 !important;
}

.popup-socials a:hover i,
.popup-socials a:hover svg {
    color: #000 !important;
    fill: #000 !important;
}

/*
=========================================
Right side
=========================================
*/

.popup-right {
    flex: 1;
}

.popup-right h2 {
    font-size: 28px;
    margin: 0 0 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

#popup-content {
    color: #d5d5d5;
    font-size: 15px;
    line-height: 1.5;
}

#popup-content p {
    margin-bottom: 12px;
}

/*
=========================================
Inquiry Button
=========================================
*/

.popup-button {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 16px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: .3s;
}

.popup-button:hover {
    background: #fff !important;
    color: #000 !important;
}

/*
=========================================
Close Button – repositioned with extra top padding
=========================================
*/

.folks-close {
    position: absolute;
    top: 20px;                /* adjusted to align with new padding */
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 36px;
    transition: .3s;
}

.folks-close:hover {
    transform: rotate(90deg);
}

/*
=========================================
Popup Animation
=========================================
*/

#folks-popup.active .folks-popup-inner {
    animation: folksFade .35s ease;
}

@keyframes folksFade {
    from {
        opacity: 0;
        transform: translate(-50%, -46%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/*
=========================================
Loading
=========================================
*/

#folks-popup.loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 9999999;
    font-size: 14px;
}

/*
=========================================
Prevent Scroll
=========================================
*/

body.folks-popup-open {
    overflow: hidden;
}

/*
=========================================
Scrollbar
=========================================
*/

.folks-popup-inner::-webkit-scrollbar {
    width: 6px;
}

.folks-popup-inner::-webkit-scrollbar-thumb {
    background: #555;
}

.folks-popup-inner::-webkit-scrollbar-track {
    background: #222;
}

/*
=========================================
Inquiry Form – compact
=========================================
*/

#popup-inquiry-form {
    margin-top: 20px;
}

#popup-inquiry-form p {
    margin-bottom: 10px;
}

#popup-inquiry-form label {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    color: #ccc;
}

#popup-inquiry-form input,
#popup-inquiry-form textarea,
#popup-inquiry-form select {
    width: 100%;
    background: #181818;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 2px;
}

#popup-inquiry-form textarea {
    min-height: 80px;
}

#popup-inquiry-form input[type="submit"] {
    width: auto;
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .3s;
}

#popup-inquiry-form input[type="submit"]:hover {
    background: #ddd;
}

/*
=========================================
Back to Profile Link – made visible
=========================================
*/

.popup-back-link {
    display: inline-block;
    margin-top: 15px;
    color: #ccc !important;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: .3s;
    padding-bottom: 2px;
}

.popup-back-link:hover {
    color: #fff !important;
    border-bottom-color: #fff;
}

button#popup-back-profile {
    color: #000;
}
.beatport-icon{
    width:16px;
    height:16px;
    display:block;
    fill:currentColor;
    transition:all .25s ease;
}

.popup-socials a:hover .beatport-icon{
    fill:currentColor;
}

.social-icon{
    width:16px;
    height:16px;
    display:block;
    fill:currentColor;
}

.popup-socials a{
    color:#fff;
}

.popup-socials a:hover{
    color:#000;
}
/*
=========================================
Responsive – 3 columns → 2 → 1 with increased spacing
=========================================
*/

@media (max-width: 1024px) {
    .folks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .folks-popup-inner {
        flex-direction: column;
        gap: 25px;
        padding: 45px 25px 25px 25px;   /* keep top padding */
        width: 95%;
    }

    .popup-left {
        width: 100%;
    }

    .popup-right h2 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .folks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .folk-name h3 {
        font-size: 20px;               /* increased from 16px */
    }

    .folks-popup-inner {
        padding: 45px 16px 16px 16px;   /* keep top padding */
        gap: 20px;
        width: 96%;
        max-height: 95vh;
    }

    .popup-right h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    #popup-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .popup-button {
        width: 100%;
        text-align: center;
        padding: 8px 16px;
    }

    .popup-socials {
        gap: 6px;
        margin-top: 15px;
    }

    .popup-socials a {
        width: 30px;
        height: 30px;
    }

    .popup-socials a i,
    .popup-socials a svg {
        font-size: 12px;
        width: 12px;
        height: 12px;
    }

    #popup-inquiry-form {
        margin-top: 15px;
    }

    #popup-inquiry-form input,
    #popup-inquiry-form textarea,
    #popup-inquiry-form select {
        padding: 8px 10px;
        font-size: 13px;
    }

    #popup-inquiry-form input[type="submit"] {
        width: 100%;
        padding: 10px;
    }

    .popup-back-link {
        font-size: 13px;
        margin-top: 12px;
    }
}

@media (min-width: 1440px) {
    .folks-grid {
        gap: 40px;
    }

    .popup-right h2 {
        font-size: 32px;
    }
}