/* =========================
   PACKAGE GRID & CARD STYLES
   ========================= */

/* Packages Grid: Fixed card width of 300px with a 20px gap */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 20px;
  justify-content: center;
  margin: 20px auto;
  max-width: 1200px;
}

/* Package Card: Fixed dimensions 300px x 283.91px */
.package {
  width: 300px;
  height: 283.91px;
  background-color: #1e1e1e;
  border: 2px solid #3498db;
  border-radius: 10px;
  padding: 10px; /* adjust as needed */
  box-sizing: border-box;
  text-align: center;
  overflow: hidden; /* Hide any overflowing content */
  transition: transform 0.3s;
}
.package:hover {
  transform: scale(1.05);
}

/* Package Image: Fixed height of 120px */
.package img {
  height: 120px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 5px;
  object-fit: contain;
}

/* Package Title */
.package h3 {
  margin: 5px 0;
  font-size: 1.3rem;
}

/* View More Button: Using same style as your cta-button but with adjusted margin-top */
.package .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.package .cta-button:hover {
  background-color: #fff;
  color: #3498db;
}


/* =========================
   PACKAGE MODAL STYLES
   ========================= */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #1e1e1e;
  margin: 10% auto;
  padding: 20px;
  border: 2px solid #3498db;
  border-radius: 8px;
  max-width: 600px;
  max-height: 90%;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  overflow: auto;
  /*position: relative;*/
}

.modal-content img {
  max-width: 100%;
  height: 240px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal .close:hover,
.modal .close:focus {
  color: #3498db;
  text-decoration: none;
  cursor: pointer;
}

.modal .atc-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.modal .atc-button:hover {
  background-color: #fff;
  color: #3498db;
}

.modal .atc-button:disabled {
  background-color: #bdc3c7; /* Light gray background */
  color: #7f8c8d; /* Darker gray text */
  cursor: not-allowed;
  opacity: 0.6; /* Slightly transparent */
  border: 1px solid #95a5a6; /* Subtle border */
}
