
.color {
justify-content: center;
align-items: center;
padding-top: 10px;
min-height: 100vh;
margin-bottom: 20px;
background-color: rgb(255, 255, 255);
}

.container1234 {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

/* Package Grid */
.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 {
    /* Adjust height to maintain aspect ratio of 1908:1290 (height:width) */
    height: 0;
    padding-bottom: 148%; /* (1908/1290)*100 = ~148% - this maintains the aspect ratio */
    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 Styles */
.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 Modal */
/* Package Detail Modal */
.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 */
.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;
}

/* Discount-related styles */
.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;
}

.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;
}

.package-type {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* Fix for the carousel arrows */
.carousel-arrowa {
    position: absolute;
    top: 49.5%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 50px;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.carousel-arrowa:hover {
    color: gray;
}

.carousel-arrowa.prev {
    left: 1px;
}

.carousel-arrowa.next {
    right: 1px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 10px;
}
        .carousel-track {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .carousel-slide {
            width: 100%;
            flex-shrink: 0;
            padding: 20px;
        }
        
        .carousel-packages-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
    
         /* Title section styles */
         .packages-title-section {
            text-align: center;
            margin-top: 20px;
            padding: 0 20px;
        }
        
        .packages-title {
            font-size: 32px;
            font-weight: 700;
            color: #333;
            margin-bottom: 15px;
        }
        
        .packages-subtitle {
            font-size: 18px;
            color: #666;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }
        /* Currency Modal */
.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;
}

/* Currency Dropdown Styles */
.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: 1;
    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;
}


/* You can add this to your existing currency-btn styles */
.currency-btn {
  position: relative;

  right: 30px;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 60px;
    font-weight: 500;
}

.currency-btn:hover {
    background-color: #f5f5f5;
}


/* Media Queries for Responsiveness */

/* Large Devices (Desktops) */
@media screen and (max-width: 1200px) {
  .container1234 {
    max-width: 960px;
  }
  
  .carousel-packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .modal-content {
    width: 80%;
  }
  
  .carousel-arrowa.prev {
    left: 10px;
  }
  
  .carousel-arrowa.next {
    right: 10px;
  }
  .fullscreen-image-container {
    width: 95%;
    height: 80%;
  }
  
  .view-button-overlay {
    opacity: 1; /* Always visible on mobile */
  }
  
  .view-btn {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 992px) {
  .container1234 {
    max-width: 720px;
  }
  
  .carousel-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .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%;
  }
  
  .currency-btn {
    right: 0;
  }
  
  .package-title {
    font-size: 16px;
  }
  
  .package-price {
    font-size: 18px;
  }
  
  .packages-title {
    font-size: 28px;
  }
  
  .packages-subtitle {
    font-size: 16px;
  }
  .fullscreen-image-container {
    width: 95%;
  }
  
  .close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 24px;
  }
}

/* Small Devices (Small Tablets and Large Phones) */
@media screen and (max-width: 768px) {
  .container1234 {
    max-width: 540px;
    padding: 15px;
  }
  
  .carousel-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .currency-dropdown {
    width: 100%;
    max-width: 200px;
  }
  
  .currency-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .currency-dropdown-content {
    right: 0;
    width: 100%;
  }
  
  .packages-title-section {
    margin-top: 30px;
  }
  
  .packages-title {
    font-size: 24px;
  }
  
  .packages-subtitle {
    font-size: 14px;
  }
  
  .carousel-arrowa {
    width: 35px;
    height: 35px;
    font-size: 30px;
  }
  
  .package-info {
    padding: 10px;
  }
  
  .package-title {
    font-size: 15px;
    margin-bottom: 3px;
  }
  
  .package-price {
    font-size: 16px;
    margin-bottom: 3px;
  }
  
  .package-duration {
    font-size: 12px;
  }
  
  .view-button-overlay {
    bottom: 10px;
    right: 10px;
  }
  
  .view-btn {
    padding: 4px 6px;
    font-size: 12px;
  }
  
  .package-type, .discount-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
}

/* Extra Small Devices (Phones) */
@media screen and (max-width: 576px) {
  .carousel-packages-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .package-card {
    width: 90%;
    margin: 0 auto;
  }
  
  .modal-content {
    width: 95%;
    height: 90%;
    margin: 10px auto;
  }
  
  .close-btn {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .packages-title {
    font-size: 22px;
  }
  
  .packages-subtitle {
    font-size: 13px;
    padding: 0 10px;
  }
  
  .carousel-arrowa {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }
  
  .carousel-arrowa.prev {
    left: 5px;
  }
  
  .carousel-arrowa.next {
    right: 5px;
  }
  
  .currency-dropdown {
    margin-bottom: 10px;
    width: 100%;
    max-width: 180px;
  }
  
  .currency-dropdown-content {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
  }
  
  /* Fix for modal on small screens */
  .fullscreen-image-container {
    width: 100%;
    height: 80%;
  }
  
  /* Make view button always visible on mobile */
  .view-button-overlay {
    opacity: 1;
  }
}

/* Filter Container - makes dropdowns appear side by side */
.filter-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

/* Filter Dropdown Styles - matches the currency dropdown */
.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-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: 1;
    border-radius: 6px;
    overflow: hidden;
    padding: 7px;
}

.filter-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.filter-dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 6px;
}

.filter-dropdown:hover .filter-dropdown-content {
    display: block;
}

.filter-btn {
    position: relative;
    right: 30px;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 60px;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: #f5f5f5;
}

/* Media Queries for Responsiveness */

/* Large Devices (Desktops) */
@media screen and (max-width: 1200px) {
  .currency-btn, .filter-btn {
    right: 20px;
    padding: 9px 14px;
  }
  
  .currency-dropdown-content, .filter-dropdown-content {
    right: 20px;
  }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 992px) {
  .currency-btn, .filter-btn {
    right: 10px;
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .currency-dropdown-content, .filter-dropdown-content {
    right: 10px;
    min-width: 150px;
  }

  .filter-container {
    gap: 10px;
  }
}

/* Small Devices (Small Tablets and Large Phones) */
@media screen and (max-width: 768px) {
  .currency-btn, .filter-btn {
    right: 0;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .currency-dropdown, .filter-dropdown {
    width: 100%;
    max-width: 180px;
  }
  
  .currency-dropdown-content, .filter-dropdown-content {
    right: 0;
    width: 100%;
  }
  
  .filter-container {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin: 15px 0;
  }
}

/* Extra Small Devices (Phones) */
@media screen and (max-width: 576px) {
  .currency-btn, .filter-btn {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 50px;
    position: relative;
    right: 115px;
  }
  
  .currency-dropdown, .filter-dropdown {
    margin-bottom: 8px;
    max-width: 160px;
  }
  
  .currency-dropdown-content, .filter-dropdown-content {
    right: auto;
    left: -20%;
    transform: translateX(-50%);
    width: 160px;
    padding: 5px;
  }
  
  .currency-dropdown-content a, .filter-dropdown-content a {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  .filter-container {
    margin: 12px 0;
    width: 100%;
    justify-content: center;
  }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #666;
  margin: 0 auto;
}