/* ===== Custom variables (only used by -acx classes) ===== */
:root{
  /* Bright theme colors */
  --acx-bg: #f0f8ff;                 /* Light blue page bg */
  --acx-card: #ffffff;               /* White card/modal bg */
  --acx-card2: rgba(79,179,255,.1);
  --acx-text: #1a365d;               /* Dark blue text */
  --acx-muted: #4a5568;              /* Medium gray for muted text */
  --acx-border: rgba(79,179,255,.2); /* Light blue borders */

  --acx-radius: 18px;
  --acx-gap: 18px;

  --acx-maxw: 1150px;
  --acx-padY: 42px;

  /* Bright travel accents */
  --acx-btn: linear-gradient(135deg, #18F2B8 0%, #0EA5E9 100%);               /* Coral red button */
  --acx-btnText: #ffffff;

  --acx-badge: #ffd93d;              /* Bright yellow */
  --acx-badge2: #6bcf7f;             /* Bright green */

  --acx-shadow: 0 14px 35px rgba(0,0,0,.15);
}

/* ===== Section ===== */
.activities-acx{
  background: linear-gradient(120deg, #e6f7ff, #f0f8ff, #e6f7ff);
  color: var(--acx-text);
  padding: var(--acx-padY) 16px;
}

.wrap-acx{
  max-width: var(--acx-maxw);
  margin: 0 auto;
}

.head-acx{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.title-acx{
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
  color: #1a365d;
  font-weight: 700;
}

.sub-acx{
  margin: 0;
  color: var(--acx-muted);
}

/* ===== Grid ===== */
.grid-acx{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--acx-gap);
}

@media (max-width: 980px){
  .grid-acx{ 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 14px;
  }
}
@media (max-width: 620px){
  .grid-acx{ 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
}

/* ===== Card ===== */
.card-acx{
  background: var(--acx-card);
  border: 1px solid var(--acx-border);
  border-radius: var(--acx-radius);
  overflow: hidden;
  box-shadow: var(--acx-shadow);
  display:flex;
  flex-direction:column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-acx:hover {
  transform: translateY(-5px);
  box-shadow: 0 19px 40px rgba(0,0,0,.2);
}

.imgLink-acx{
  position: relative;
  display:block;
  aspect-ratio: 16 / 10;
  overflow:hidden;
}

.img-acx{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.card-acx:hover .img-acx{
  transform: scale(1.08);
}

.badge-acx{
  position:absolute;
  left: 12px;
  top: 12px;
  background: var(--acx-badge);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}

.badgeAlt-acx{
  background: var(--acx-badge2);
}

/* ===== Body ===== */
.body-acx{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
}

.metaRow-acx{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
  color: var(--acx-muted);
  font-size: 13px;
}

.dot-acx{ opacity:.6; }

.cardTitle-acx{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #1a365d;
  font-weight: 600;
}

.desc-acx{
  margin: 0;
  color: var(--acx-muted);
  font-size: 14px;
  line-height: 1.35;
}

/* ===== Footer ===== */
.footer-acx{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--acx-border);
}

.priceBox-acx{
  display:flex;
  align-items:baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.priceFrom-acx,
.per-acx{
  color: var(--acx-muted);
  font-size: 12px;
}

.price-acx{
  font-size: 18px;
  font-weight: 800;
  color: #4A4A4A;
}

.btn-acx{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--acx-btn);
  color: var(--acx-btnText);
  font-weight: 800;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.btn-acx:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 5px 15px rgba(74,176,142,.4);
}

/* ===== Modal wrap ===== */
.modalWrap-acx{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.modalWrap-acx.isOpen-acx{ display:block; }

.modalBack-acx{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
}

/* modal window */
.modalBox-acx{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 1100px);
  height: min(90vh, 720px);
  background: var(--acx-card);
  border: 1px solid var(--acx-border);
  border-radius: var(--acx-radius);
  box-shadow: var(--acx-shadow);
  overflow: hidden;
}

/* Close button */
.modalClose-acx{
  position:absolute;
  right: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--acx-border);
  background: rgba(255,255,255,.8);
  color: #1a365d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.modalClose-acx:hover{
  background: #ff4d4d;
  color: white;
  border-color: #ff4d4d;
}

/* ===== Modal layout: image on top, info below ===== */
.modalGrid-acx{
  display:flex;
  flex-direction:column;
  height:100%;
}

/* Image area */
.modalMedia-acx{
  position: relative;
  background: rgba(13,13,13,0.9);
  flex: 0 0 auto;
  height: 58%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.modalImg-acx{
  max-width:100%;
  max-height:100%;
  object-fit: contain; /* full image visible */
  display:block;
}

/* Arrows */
.navBtn-acx{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--acx-border);
  background: rgba(255,255,255,.8);
  color: #1a365d;
  font-size: 28px;
  cursor:pointer;
  z-index: 4;
}
.navPrev-acx{ left: 12px; }
.navNext-acx{ right: 12px; }

/* Dots */
.dots-acx{
  position:absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display:flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--acx-border);
  z-index: 4;
}
.dotBtn-acx{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(26,54,93,.35);
  cursor:pointer;
}
.dotBtn-acx.isActive-acx{ background: #1a365d; }

/* Info area */
.modalInfo-acx{
  padding: 18px;
  overflow:auto;
  flex: 1;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
}

.modalTitle-acx{
  margin: 0 0 10px;
  font-size: 22px;
  color: #1a365d;
  font-weight: 600;
}

.modalDesc-acx{
  margin: 0 0 14px;
  color: var(--acx-muted);
  line-height: 1.35;
}

/* Price badge in modal (NOT full width) */
.modalPriceRow-acx{
  display:inline-flex;          /* key: not stretching */
  align-items:baseline;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--acx-border);
  border-radius: 999px;         /* badge look */
  background: rgba(79,179,255,.1);
  margin-bottom: 14px;
}

.modalPrice-acx{
  font-size: 22px;
  font-weight: 900;
  color: #353535;
}
.modalPer-acx{
  color: var(--acx-muted);
  font-size: 13px;
}

.modalCta-acx{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--acx-btn);
  color: var(--acx-btnText);
  font-weight: 900;
  text-decoration:none;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.modalCta-acx:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 5px 15px rgba(74,176,142,.4);
}

/* Mobile optimizations */
@media (max-width: 900px){
  .modalBox-acx{
    width: 95vw;
    height: 95vh;
  }
  .modalMedia-acx{
    height: 50%;
  }
  .modalInfo-acx{
    padding: 14px;
  }
  .modalTitle-acx{
    font-size: 20px;
  }
}

@media (max-width: 620px){
  /* Section adjustments */
  .activities-acx{
    padding: 28px 12px;
  }
  
  /* Header adjustments */
  .head-acx{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .title-acx{
    font-size: 24px;
  }
  
  /* Card adjustments */
  .card-acx{
    border-radius: 14px;
  }
  
  .body-acx{
    padding: 12px 12px 14px;
    gap: 8px;
  }
  
  .cardTitle-acx{
    font-size: 16px;
  }
  
  .desc-acx{
    font-size: 13px;
  }
  
  .metaRow-acx{
    font-size: 12px;
  }
  
  .badge-acx{
    font-size: 11px;
    padding: 6px 8px;
  }
  
  /* Footer adjustments */
  .footer-acx{
    padding-top: 10px;
    margin-top: 4px;
  }
  
  .price-acx{
    font-size: 16px;
  }
  
  .btn-acx{
    padding: 10px 12px;
    font-size: 14px;
  }
  
  /* Modal adjustments for mobile */
  .modalBox-acx{
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: none;
  }
  
  .modalMedia-acx{
    height: 45%;
  }
  
  .modalInfo-acx{
    padding: 12px;
  }
  
  .modalTitle-acx{
    font-size: 18px;
  }
  
  .modalDesc-acx{
    font-size: 13px;
  }
  
  .modalPrice-acx{
    font-size: 18px;
  }
  
  .modalCta-acx{
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
  
  .modalClose-acx{
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  
  .navBtn-acx{
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  
  .dotBtn-acx{
    width: 8px;
    height: 8px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .card-acx:hover {
    transform: none;
  }
  
  .btn-acx:hover {
    transform: none;
  }
  
  .modalCta-acx:hover {
    transform: none;
  }
}