
.color {
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    min-height: 100vh;
    margin-bottom: 20px;
    background-color: rgb(255, 255, 255);
}

.container1234 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.package-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;  
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.package-img {
    height: 0;
    padding-bottom: 148%; 
    overflow: hidden;
    position: relative;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.package-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.package-price {
    color: #FFD700;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}

.package-duration {
    color: #666;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999999999999999999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    margin: 41px auto;
    width: 60%;
    height: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: white;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-detail-container {
    display: flex;
    height: 100%;
    padding: 10px;
}

.package-header {
    padding: 20px;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #eee;
}

.package-header h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.modal-single-photo {
    width: 70%;
    height: auto;
    display: flex;
    justify-content: center;
}

.modal-single-photo img {
    width: fit;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.package-content {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.sidebar-box {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
}

.sidebar-box h3 {
    margin-bottom: 15px;
    color: #FFD700;
    font-size: 18px;
}

.currency-modal .modal-content {
    max-width: 500px;
    padding: 30px;
}

.currency-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 20px;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.currency-item:hover {
    background-color: #f0f7ff;
}

.currency-code {
    font-weight: 600;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.load-more-btn {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #FFD700;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.load-more-btn:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background-color: transparent;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    border-top-color: rgb(255, 255, 255);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    font-size: 18px;
    color: #666;
}

.search-container {
    margin-top: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.search-input {
    width: 100%;
    max-width: 425px;
    padding: 12px 15px;
    border: 2px solid #FFD700;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    left: 30px;
}

.search-input:focus {
    border-color: #FFC107;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FF6B6B;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.original-price {
    text-decoration: line-through;
    color: gray;
    font-size: 12px;
}

.discounted-price {
    color: #FFD700;
    font-weight: bold;
    font-size: 16px;
}

.discount-tag {
    background-color: #FF6B6B;
    color: white;
    padding: 5px 5px;
    border-radius: 6px;
    font-size: 11px;
}

#package-modal .model-content {
    background-color: white;
    margin: 40px auto;
    width: 60%;
    height: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.package-row {
    display: flex;
    gap: 30px;
    height: 100%;
}

.package-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow: hidden;
}

.package-row .package-col:nth-child(2) {
    flex-basis: 60%;
    flex-grow: 0;
    flex-shrink: 0;
}

.package-info {
    padding: 15px;
}

.package-info:hover .package-title {
    text-decoration: underline;
}

.package-title {
    transition: text-decoration 0.2s ease;
}

.package-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.currency-dropdown {
    position: relative;
    display: inline-block;
}

.currency-dropdown-content {
    display: none;
    position: absolute;
    right: 25px;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000000;
    border-radius: 6px;
    overflow: hidden;
    padding: 7px;
}

.currency-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.currency-dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 6px
}

.currency-dropdown:hover .currency-dropdown-content {
    display: block;
}

.currency-btn {
    position: relative;
    right: 45px;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 60px;
    font-weight: 500;
}

.currency-btn:hover {
    background-color: #f5f5f5;
}

.book-now-btn {
    background-color: Gold;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

.view-button-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.view-btn {
    background-color: #FFD700;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 8px;
    font-weight: 600;
    cursor: pointer;
}

.fullscreen-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fullscreen-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: gold;
}

#image-modal {
    display: none;
    position: fixed;
    z-index: 9999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1200px) {
    .container1234 {
        max-width: 960px;
    }
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .modal-content {
        width: 80%;
    }
}

@media screen and (max-width: 992px) {
    .container1234 {
        max-width: 720px;
    }
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .package-img {
        height: 350px;
    }
    .modal-content {
        width: 90%;
        margin: 20px auto;
    }
    .package-detail-container {
        flex-direction: column;
    }
    .package-header {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .modal-single-photo {
        width: 100%;
    }
    .search-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .search-input {
        left: 0;
    }
    .currency-btn {
        right: 0;
    }
    .package-row {
        flex-direction: column;
    }
    .package-row .package-col:nth-child(2) {
        flex-basis: auto;
    }
}

@media screen and (max-width: 768px) {
    .container1234 {
        max-width: 540px;
        padding: 15px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .package-img {
        height: 300px;
    }

    .package-title {
        font-size: 16px;
    }

    .package-price {
        font-size: 18px;
    }

    .search-input {
        max-width: 100%;
    }

    .load-more-btn {
        padding: 10px 20px;
    }

    .modal-content {
        width: 95%;
        height: 95%;
    }

    .package-info {
        padding: 10px;
    }
    .package-header h2 {
        font-size: 24px;
    }
    .fullscreen-image-container {
        width: 95%;
        height: 80%;
    }
    .view-button-overlay {
        opacity: 1;
    }
    .view-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .package-img {
        height: 250px;
    }
    .package-card {
        width: 90%;
        margin: 0 auto;
    }
    .package-detail-container {
        padding: 5px;
    }
    .package-content {
        padding: 15px 10px;
    }
    .currency-dropdown-content {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .package-header h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .sidebar {
        max-width: 100%;
    }
    .modal-content {
        margin: 10px auto;
        width: 95%;
    }
    .search-container {
        margin-bottom: 15px;
    }
    .book-now-btn {
        width: 100%;
        padding: 12px;
    }
    .fullscreen-image-container {
        width: 95%;
    }
    .close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

