﻿/* Theme Packs Section */
.theme-packs-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 0;
    gap: 30px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
}

.theme-packs-container {
    width: 100%;
    /* max-width: 1440px;*/
    margin: 0 auto;
    /*  position: relative;*/
}

.theme-packs-content {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    /*align-items: center;*/
    padding: 0;
    width: 100%;
    /*   max-width: 1312px;*/
    /*   margin: 0 auto;*/
}

.theme-packs-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 64px;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.theme-packs-title {
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.21;
    color: #3C3C3C;
    text-shadow: 0px 4px 12px rgba(30, 215, 96, 0.1);
}

.theme-packs-description {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.15;
    color: #000000;
}


.theme-packs-bg-gradient {
    position: absolute;
    z-index: 0;
}



.theme-packs-cards {
    display: flex;
    flex-direction: row;
    /*  align-items: flex-start;*/
    padding: 0 64px 0 64px;
    gap: 24px;
    width: calc(100% + 64px);
    max-width: none;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

    .theme-packs-cards::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .theme-packs-cards.grabbing {
        cursor: grabbing;
        user-select: none;
    }

    /* Hide scrollbar when all cards are visible */
    .theme-packs-cards.no-scroll {
        overflow-x: hidden;
    }


.theme-pack-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: auto;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0px 4px 20px rgba(60, 60, 60, 0.15);
    margin-bottom: 16px;
    overflow: hidden;
    flex: 0 0 auto;
}


    .theme-pack-card:first-child {
        margin-left: 0;
    }


   /* .theme-pack-card:last-child {
        margin-right: 64px;
    }*/

.theme-pack-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(0deg, rgba(18, 18, 18, 0.5), rgba(18, 18, 18, 0.2)), url('/Content/images/theme-packs/default-theme-pack.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.theme-pack-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
    background: #FFFFFF;
    flex-grow: 1;
}

.theme-pack-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    background: linear-gradient(90deg, #D41A5D 0%, #FFA332 100%);
}

.theme-pack-title {
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 1.125rem;
    line-height: 1.22;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.theme-pack-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.theme-pack-channels {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    width: 100%;
}

.theme-pack-channel-count {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.14;
    color: #4A4A4A;
}

.theme-pack-show-logo {
    width: 48px;
    height: 30px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(125, 125, 125, 0.2);
    transition: transform 0.2s ease;
    overflow: hidden;
}

    .theme-pack-show-logo:hover {
        transform: scale(1.1);
    }

.theme-pack-description {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: #121212;
    width: 100%;
    margin: 0 0 auto 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.theme-pack-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    gap: 8px;
    width: 100%;
    height: 46px;
    background: #FFFFFF;
    border: 1px solid #C11116;
    border-radius: 42px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.63;
    text-transform: capitalize;
    color: #C11116;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

    .theme-pack-button:hover {
        background-color: #C11116;
        color: #FFFFFF;
    }

/* Card badges */
.theme-pack-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(90deg, #D4195C 0%, #FF3728 100%);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 16px;
    z-index: 2;
}

.theme-packs-carousel-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin: 24px 0 0 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    /* Hide controls when all cards are visible */
    .theme-packs-carousel-controls.theme-packs-controls-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.theme-packs-carousel-indicators {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 16px;
    height: 28px;
}

/* Hide indicators when controls are hidden */
.theme-packs-controls-hidden .theme-packs-carousel-indicators {
    display: none;
}

.theme-packs-carousel-indicator-active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 16px;
    width: 52px;
    height: 28px;
    border: 1px solid #E9242B;
    border-radius: 16px;
}

.theme-packs-carousel-indicator-bar {
    width: 36px;
    height: 12px;
    background: #920B11;
    border-radius: 12px;
}

.theme-packs-carousel-indicator {
    width: 12px;
    height: 12px;
    background: #F8A6A8;
    border-radius: 12px;
}

/* Responsive adjustments */
/*@media screen and (max-width: 1440px) {
    .theme-packs-content {
        padding: 0 32px;
    }

    .theme-packs-heading {
        padding: 0 32px;
    }
}*/

@media screen and (max-width: 992px) {
   /* .theme-packs-heading {
        padding: 0 16px;
    }*/
    .theme-packs-section {
        padding: 48px 0;
    }

    .theme-packs-content {
        padding: 0 16px;
    }

    .theme-packs-heading {
        padding: 0 16px;
    }

    .theme-packs-title {
        font-size: 2.25rem;
        line-height: 1.22;
    }

    .theme-packs-description {
        font-size: 1.125rem;
        line-height: 1.33;
    }

    .theme-packs-cards {
        /* padding: 0 16px 0 16px; */
      /*  width: calc(100% + 10px);*/
    }

    .theme-pack-card {
        /*  width: 280px;
        min-width: 280px;
        max-width: 280px;*/
    }

        /*.theme-pack-card:last-child {
            margin-right: 16px;
        }*/
}

/*@media screen and (max-width: 768px) {
    .theme-packs-section {
        padding: 48px 0;
    }

    .theme-packs-content {
        padding: 0 16px;
    }

    .theme-packs-heading {
        padding: 0 16px;
    }

    .theme-packs-title {
        font-size: 2.25rem;
        line-height: 1.22;
    }

    .theme-packs-description {
        font-size: 1.125rem;
        line-height: 1.33;
    }

    .theme-pack-card {*/
        /* width: 260px;
        min-width: 260px;
        max-width: 260px;*/
    /*}
}*/

/*@media screen and (max-width: 480px) {
    .theme-packs-section {
        padding: 32px 0;
    }

    .theme-packs-title {
        font-size: 1.75rem;
        line-height: 1.29;
    }

    .theme-packs-description {
        font-size: 1rem;
        line-height: 1.38;
    }*/

    /* .theme-pack-card {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }*/

    /*.theme-pack-show-logo {
        width: 42px;
        height: 26px;
    }
}*/
