body{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--main-color);
}
header{
    z-index: 99;
}
.header-m{
    top: 0;
    margin-left: 3.5%;
}
.upper{
    background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url(./../IMG/Gallery_imgs/WhatsApp\ Image\ 2025-04-24\ at\ 22.03.17_2f268dbd.jpg);
    position: absolute;
    background-size: cover;
    width: 100vw;
    background-position: center;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    height: 95vh;
    .text_box{
        width: 1200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: var(--main-color);
        h1{
            font-size: 4.5rem;
            text-transform: uppercase;
            font-weight: 800;
            color: var(--main-color);
            margin-bottom: 20px;
        }
        p{
            font-size: 1.3rem;
            font-weight: 500;
            width: 650px;
            color: var(--main-color);
            margin-bottom: 30px;
            line-height: 1.6;
        }
    }
}



.up_style{
    background-color:rgba(212, 140, 32, 0.281);
    width: 100%;
    position: relative;
    color: var(--secend-color);
    height: 150px;
    border-radius: 10px;
    border: 1.5px solid var(--secend-color);
    justify-content: center;
    box-shadow: rgba(0, 0, 0, .3) 1px 5px 8px -5px;
    display: flex;
    margin-top:100vh ;
    align-items: center;
    .item_box{

        width: 70%;
        height: 100%;
        padding: 20px 20px;
        /* border: 1px solid red; */
        h1{
            font-size: 1.4rem;
            color: var(--secend-color);
            text-align: left;
            padding-left: 10px;
            text-transform: uppercase;
            margin-bottom: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
        .pharagraph{
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--secend-color);
            text-align: left;
            padding-left: 10px;
            margin: 0;
            line-height: 1.6;
            opacity: 0.9;
        }
    }
    .btns{
        margin-left: 30px;
        margin-top: 10px;
    }
    button{
        width: 120px;
        height: 40px;
        border: none;
        border-radius: 5px;
        border: 1.5px solid var(--secend-color);
        background-color: var(--main-color);
        color: var(--secend-color);
        font-size: 0.9rem;
        text-transform: uppercase;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        &:hover{
            /* box-shadow: rgba(0, 0, 0, .3) 1px 1px 8px -5px; */
            box-shadow: rgba(0, 0, 0, .3) 8px 8px 8px -5px;

            /* transform: translate3d(0, 2px, 0); */
            
        }
    }
    .style-web{
        .box{
            width: 220px;
            height: 200px;
            background-color: var(--main-color);
            position: absolute;
            border: 0 solid var(--secend-color);
            border-right: 1px solid var(--secend-color);
            top: -1rem;
            left: -3rem;

            img{
                width: 100px;
                height: 100px;
                border-radius: 10px;
                top: 2.5rem;
                left: 6rem;
                position: absolute;
                /* border: 1.5px solid var(--secend-color); */
            }

        }
        .line{
            width: 1px;
            height: 700px;
            background-color: var(--secend-color);
            position: absolute;
            opacity: 1;
            top: 0;
            display: none;
            left: 10.7rem;
        }
    }
}
/* ===== SECTION TITLES STYLING ===== */
.labels {
    text-align: center;
    margin: 3rem 0 2rem 0;
    position: relative;
}

.labels h1 {
    font-size: 2.2rem;
    color: var(--secend-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

/* Remove decorative lines */
.labels h1::before {
    display: none;
}

.labels h1::after {
    display: none;
}

.labels::after {
    display: none;
}
/* ===== PRODUCT CARDS STYLING FOR DESTINATIONS PAGE ===== */
.products {
    display: flex;
    flex-direction: row;
    column-gap: 1.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 1.5rem;
    background-color: #fafafa;
    border-radius: 15px;
    margin: 1rem auto;
    max-width: 1200px;
    width: 90%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ff9800 #f0f0f0;
}

.products:active {
    cursor: grabbing;
}

/* Hide default scrollbar and show custom scroll buttons only */
.products::-webkit-scrollbar {
    display: none;
}

.products {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.products .product {
    width: 350px;
    height: auto;
    min-height: 450px;
    text-align: left;
    overflow: hidden;
    margin-bottom: 0;
    margin-right: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    background-color: white;
    flex-shrink: 0;
}

.products .product:last-child {
    margin-right: 0;
}

.products .product:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px) scale(1.025);
}

.products .product .img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.products .product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(90%);
    transition: all 0.5s ease;
    transform: scale(1.05);
}

.products .product:hover img {
    filter: brightness(100%);
    transform: scale(1.1);
}

.products .product .img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.products .product:hover .img::before {
    opacity: 1;
}

.products .product .text {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products .product .text h2 {
    color: #ff9800 !important; /* Orange for category/tag */
    font-size: 0.9rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.products .product .text h1 {
    color: #1a2341 !important; /* Dark blue for title */
    font-size: 1.4rem !important;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    /* Full title display without truncation */
}

.products .product .text h1 span {
    color: #7d8597 !important; /* Gray for subtitle */
    font-size: 0.95rem !important;
    font-weight: 500;
    display: block;
    margin-top: 0.3rem;
    line-height: 1.3;
}

.products .product .text h3 {
    color: #7d8597 !important; /* Gray for description */
    font-size: 0.9rem !important;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.products .product .text h4 {
    color: #e65100 !important; /* Dark orange for price */
    font-size: 1.1rem !important;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.2px;
}

.products .product .text h4 span {
    color: #7d8597 !important; /* Gray for "per person" */
    font-size: 0.85rem !important;
    font-weight: 500;
    margin-left: 0.3rem;
}

/* Remove old margin adjustments */
.products .product:nth-child(1) {
    margin-left: 0;
}

#historical .product:nth-child(1) {
    margin-left: 0;
}

#historical .product:last-child {
    margin-right: 0;
}

/* Ensure only our custom scroll buttons are visible */
.scroll-container {
    position: relative;
    margin: 1rem 0;
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: #e68900;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.scroll-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
    box-shadow: none;
}

/* Ensure scroll buttons are positioned relative to the products container */
.products {
    position: relative;
}

/* Responsive adjustments for scroll buttons */
@media (max-width: 768px) {
    .pop_up{
        top:-850%
    }
    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .scroll-btn.left-btn {
        left: -20px;
    }
    
    .scroll-btn.right-btn {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .scroll-btn.left-btn {
        left: -15px;
    }
    
    .scroll-btn.right-btn {
        right: -15px;
    }
}

/* Hide sections by default - will be controlled by JavaScript */
.products[style*="display: none"] {
    display: none !important;
}

.labels[style*="display: none"] {
    display: none !important;
}

/* Ensure sections are visible when they should be */
.products[style*="display: flex"] {
    display: flex !important;
}

.labels[style*="display: block"] {
    display: block !important;
}

/* Filter buttons styling - original colors */
.btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: nowrap;
    padding: 0 1rem;
    overflow-x: auto;
}

#all-btn, #recommend-btn, #coastal-btn, #historical-btn, #savari-btn {
    padding: 0.6rem 1.2rem;
    margin: 0;
    border: 2px solid #333;
    background: transparent;
    color: #333;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: fit-content;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

#all-btn:hover, #recommend-btn:hover, #coastal-btn:hover, #historical-btn:hover, #savari-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 51, 51, 0.3);
}

#all-btn.active, #recommend-btn.active, #coastal-btn.active, #historical-btn.active, #savari-btn.active {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 51, 51, 0.3);
}

/* Responsive styles for filter buttons */
@media (max-width: 768px) {
    .btns {
        gap: 0.3rem;
        margin: 1rem 0;
        padding: 0 0.5rem;
    }
    
    #all-btn, #recommend-btn, #coastal-btn, #historical-btn, #savari-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .btns {
        gap: 0.2rem;
        margin: 0.8rem 0;
        padding: 0 0.3rem;
    }
    
    #all-btn, #recommend-btn, #coastal-btn, #historical-btn, #savari-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

 @media screen and (max-width: 768px) {
    .header-m {
        display: block;
    }
    #historical .product:nth-child(1) {
        margin-left: 0;
    }
    
    #historical .product:last-child {
        margin-right: 0;
    }
    
    .upper {
        height: 60vh;
        background-attachment: scroll;
    }
    
    .upper .text_box {
        width: 90%;
        padding: 1rem;
    }
    
    .upper .text_box h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .upper .text_box p {
        font-size: 1.1rem;
        width: 100%;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .up_style {
        margin-top: 60vh;
        height: auto;
        padding: 1rem;
    }
    
    .up_style .item_box {
        width: 100%;
        padding: 15px;
    }
    
    .up_style .item_box h1 {
        font-size: 1.5rem;
        text-align: center;
        padding-left: 0;
    }
    
    .up_style .item_box .pharagraph {
        font-size: 0.8rem;
        text-align: center;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .up_style .btns {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
    }
    
    .up_style button {
        width: 100px;
        height: 35px;
        font-size: 0.8rem;
        margin: 0 5px;
    }
    
    .up_style .style-web {
        display: none;
    }
    
    .up_style .style-web .box {
        width: 80px;
        height: 80px;
        margin: 0 5px;
    }
    
    .up_style .style-web .box img {
        width: 60px;
        height: 60px;
    }
    
    .up_style .style-web .line {
        width: 30px;
    }
    
    .labels {
        margin: 2rem 0 1.5rem 0;
        text-align: center;
    }
    
    .labels h1 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    
    .labels h1::before {
        left: -30px;
        width: 25px;
    }
    
    .labels h1::after {
        right: -30px;
        width: 25px;
    }
    
    .labels::after {
        width: 60px;
    }
    
    .products {
        width: 95%;
        padding: 1rem;
        margin: 1rem auto;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .products .product {
        width: 280px;
        min-height: 420px;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .products .product .img {
        height: 180px;
    }
    
    .products .product .text {
        padding: 1rem;
    }
    
    .products .product .text h1 {
        font-size: 1.25rem !important;
        margin: 0 0 0.4rem 0;
        line-height: 1.3;
    }
    
    .products .product .text h3 {
        font-size: 0.85rem !important;
        margin: 0 0 0.4rem 0;
        line-height: 1.2;
    }
    
    .products .product .text h4 {
        font-size: 1rem !important;
    }
    
    .products .product:nth-child(1) {
        margin-left: 0;
    }
    
    #coastal .product:nth-child(1) {
        margin-left: 0;
    }
    
    #coastal {
        width: 95%;
        margin: 0.5rem auto;
    }
    
    #coastal .labels h1 {
        font-size: 1.4rem;
        margin: 0.8rem 0 0.5rem 0;
        padding: 0 1rem;
    }
    
    #coastal .labels h1::before,
    #coastal .labels h1::after {
        width: 40px;
    }
    
    #coastal .labels h1::before {
        right: 100%;
        margin-right: 0.5rem;
    }
    
    #coastal .labels h1::after {
        left: 100%;
        margin-left: 0.5rem;
    }
    
    #coastal .public,
    #coastal .private {
        padding: 1.2rem;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    #coastal .public .product,
    #coastal .private .product {
        width: 280px;
        min-height: 420px;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    #coastal .public .product .img,
    #coastal .private .product .img {
        height: 180px;
    }
}

        @media screen and (max-width: 480px) {
            .upper .text_box h1 {
                font-size: 2rem;
            }
            
            .upper .text_box p {
                font-size: 1rem;
                width: 100%;
                margin-bottom: 15px;
                line-height: 1.4;
            }

            .up_style .item_box h1 {
                font-size: 1.3rem;
            }

            .up_style .btns {
                flex-direction: column;
                gap: 10px;
            }

            .up_style button {
                width: 120px;
                height: 40px;
            }

            .products .product {
                width: 250px;
                min-height: 400px;
                margin-right: 0.8rem;
            }

            .labels h1 {
                font-size: 1.4rem;
                padding: 0 0.8rem;
            }

            .labels h1::before {
                left: -15px;
                width: 12px;
            }

            .labels h1::after {
                right: -15px;
                width: 12px;
            }

            .labels::after {
                width: 50px;
            }

            .products .product .text h1 {
                font-size: 1.15rem !important;
                line-height: 1.2;
            }

            .products .product .text h3 {
                font-size: 0.8rem !important;
                line-height: 1.1;
            }

            .products .product .text h4 {
                font-size: 0.95rem !important;
            }

            #coastal .product:nth-child(1) {
                margin-left: 0;
            }

            #coastal .public .product,
            #coastal .private .product {
                width: 250px;
                min-height: 400px;
                margin-right: 0.8rem;
            }

            #coastal .public .product .img,
            #coastal .private .product .img {
                height: 160px;
            }

            #coastal .labels h1 {
                font-size: 1.2rem;
                padding: 0 0.8rem;
                margin: 0.6rem 0 0.4rem 0;
            }
            
            #coastal .labels h1::before,
            #coastal .labels h1::after {
                width: 30px;
            }
            
            #coastal .labels h1::before {
                right: 100%;
                margin-right: 0.3rem;
            }
            
            #coastal .labels h1::after {
                left: 100%;
                margin-left: 0.3rem;
            }
        }