﻿/* Home Entertainment Bundle Section */
.home-bundle-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 0;
   /* gap: 48px;*/
    width: 100%;
    background: linear-gradient(0deg, rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.7)), url('/Content/images/backgrounds/Cignal-PLDT.png');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed;*/
     max-width: none;
    margin: 0 auto;
    overflow: hidden;



   /* display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 0;
    gap: 30px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;*/
}

.home-bundle-container {
    width: 100%;
   /* max-width: 1312px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Copy section */
.home-bundle-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 24px;
    width: 100%;
    margin-bottom: 48px;
}

.home-bundle-heading {
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.21;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    margin: 0 auto;
}

.home-bundle-description {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.33;
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards container - Updated for horizontal scrolling */
.home-bundle-cards {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    gap: 24px;
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    cursor: grab;
    margin-bottom: 20px;
  /*  padding: 0px;*/
}

    .home-bundle-cards::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .home-bundle-cards.grabbing {
        cursor: grabbing;
        user-select: none;
    }


    .home-bundle-cards.no-scroll {
        overflow-x: hidden;
    }

/* Bundle Card - Updated for horizontal layout */
.home-bundle-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 20px;
    width: 614px;
    min-width: 614px;
    max-width: 614px;
    background: #FFFFFF;
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    flex: 0 0 auto;
}

.home-bundle-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Plan header */
.home-bundle-plan {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    width: 100%;
    background: linear-gradient(90deg, #FB0803 0%, #FB8986 100%);
    border-radius: 20px 20px 0 0;
    position: relative;
}

.home-bundle-plan-name {
    font-family: 'Barlow', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.21;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.home-bundle-channels {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    gap: 4px;
}

.home-bundle-channel-count {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.14;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    justify-content: flex-end;
}

/* Card Content Section */
.home-bundle-details {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

/* Left Column */
.home-bundle-device {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    gap: 24px;
    width: 50%;
    background: #FFFFFF;
    border-right: 1px solid rgba(125, 125, 125, 0.3);
    border-radius: 0 0 0 20px;
}

.home-bundle-device-image {
    width: 100%;
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.home-bundle-device-image-1 {
    --image-url: url('/Content/images/bundles/plan-1399.png');
    background-image: var(--image-url);
}

.home-bundle-device-image-2 {
    --image-url: url('/Content/images/bundles/plan-1799.png');
    background-image: var(--image-url);
}

.home-bundle-device-description {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.29;
    text-align: center;
    color: #121212;
    padding: 0 12px;
}

/* Right column */
.home-bundle-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 16px;
    width: 50%;
    border-radius: 0 0 20px 0;
    height: 100%;
}

.home-bundle-feature-heading {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.22;
    display: flex;
    align-items: center;
    color: #2B2B2B;
    margin: 0;
}

.home-bundle-feature-description {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.38;
    color: #2B2B2B;
    margin-bottom: auto;
}

/* Button */
.home-bundle-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    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: 1.125rem;
    line-height: 1.44;
    text-align: center;
    text-transform: capitalize;
    color: #C11116;
    cursor: pointer;
    margin-top: 24px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .home-bundle-btn:hover {
        background: #C11116;
        color: #FFFFFF;
    }

/* Learn More Button */
.home-bundle-learn-more {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 22px;
    gap: 10px;
    isolation: isolate;
    width: 179px;
    height: 52px;
    min-height: 42px;
    max-height: 56px;
    background: #FFFFFF;
    border-radius: 42px;
    margin-top: 24px;
    position: relative;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-bundle-learn-more-dot {
    position: absolute;
    width: 1px;
    height: 1px;
    left: calc(50% - 1px/2);
    top: calc(50% - 1px/2 + 0.5px);
    background: #920B11;
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 0;
}

.home-bundle-learn-more-text {
    width: 103px;
    height: 28px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
    color: #121212;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
}

.home-bundle-learn-more-icon {
    width: 22px;
    height: 22px;
    flex: none;
    order: 2;
    flex-grow: 0;
    z-index: 2;
}

    .home-bundle-learn-more-icon path {
        fill: #121212;
    }


/* Carousel Controls */
.home-bundle-carousel-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin: 24px 0 24px 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    /* Hide controls when all cards are visible */
    .home-bundle-carousel-controls.home-bundle-controls-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.home-bundle-carousel-indicators {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 16px;
    height: 28px;
}

/* Hide indicators when controls are hidden */
.home-bundle-controls-hidden .home-bundle-carousel-indicators {
    display: none;
}

.home-bundle-carousel-indicator-active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 16px;
    width: 52px;
    height: 28px;
    border: 1px solid #FFFFFF;
    border-radius: 16px;
}

.home-bundle-carousel-indicator-bar {
    width: 36px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 12px;
}

.home-bundle-carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

/* Responsive adjustments */
/*@media screen and (max-width: 1440px) {
    .home-bundle-section {
        padding: 64px 32px;
    }

    .home-bundle-heading {
        font-size: 2.625rem;
        line-height: 1.19;
    }
}
*/
@media screen and (max-width: 992px) {
    .home-bundle-heading {
        font-size: 2rem;
        line-height: 1.21;
    }

    .home-bundle-description {
        font-size: 0.875rem;
        line-height: 1;
    }
    .home-bundle-cards{
        padding: 0 10px 0 10px;
    }
    .home-bundle-card {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .home-bundle-details {
        flex-direction: column;
    }

    .home-bundle-device,
    .home-bundle-features {
        width: 100%;
        border-radius: 0;
    }

    .home-bundle-device {
        border-right: none;
        border-bottom: 1px solid rgba(125, 125, 125, 0.3);
        padding: 24px 16px;
    }

    .home-bundle-features {
     padding: 16px 16px 0px 16px;
    }

    .home-bundle-btn {
        padding: 10px 16px;
        font-size: 1rem;
    }

    .home-bundle-learn-more {
        width: 150px;
        height: 46px;
    }

    .home-bundle-learn-more-text {
        font-size: 1rem;
    }
}

/*@media screen and (max-width: 768px) {
    .home-bundle-section {
        padding: 40px 16px;
    }

    .home-bundle-heading {
        font-size: 2rem;
        line-height: 1.25;
    }

    .home-bundle-card {
        width: 500px;
        min-width: 500px;
        max-width: 500px;
    }

    .home-bundle-plan {
        padding: 16px 20px;
    }

    .home-bundle-plan-name {
        font-size: 1.25rem;
        line-height: 1.2;
        width: auto;
    }

    .home-bundle-device-image {
        width: 180px;
        height: 100px;
    }

    .home-bundle-learn-more {
        width: 160px;
        height: 48px;
    }

    .home-bundle-learn-more-text {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 576px) {
    .home-bundle-heading {
        font-size: 1.75rem;
        line-height: 1.21;
    }

    .home-bundle-description {
        font-size: 0.875rem;
        line-height: 1.43;
    }

    .home-bundle-card {
        width: 400px;
        min-width: 400px;
        max-width: 400px;
    }

    .home-bundle-details {
        flex-direction: column;
    }

    .home-bundle-device,
    .home-bundle-features {
        width: 100%;
        border-radius: 0;
    }

    .home-bundle-device {
        border-right: none;
        border-bottom: 1px solid rgba(125, 125, 125, 0.3);
        padding: 24px 16px;
    }

    .home-bundle-features {
        padding: 24px 16px;
    }

    .home-bundle-btn {
        padding: 10px 16px;
        font-size: 1rem;
    }

    .home-bundle-learn-more {
        width: 150px;
        height: 46px;
    }

    .home-bundle-learn-more-text {
        font-size: 1rem;
    }
}*/

.learn-more-btn-text{
    margin-top:40px;
}
