.slide-image {
  width: 100%; 
  height: 500px; 
  object-fit: fill; 
}

/* 旅遊團推介 */
.tour-group{
    display: flex;
    flex-wrap: wrap;
    gap:2rem;
}

.travel-tour {
    flex: 20rem;
    width: 10%;
    border: 3px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    will-change: transform;
    transition: all 0.3s ease-in-out;
  }

  .travel-tour:hover {
    border: 3px solid rgb(79, 138, 206);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
  }

  .travel-tour:active {
    transform: translateY(3px);
  }
  
  .travel-tour img {
    height: 15rem;;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
  }

  .travel-tour img.fade {
    opacity: 1; 
}

.imagerow{
  display: flex;
  flex-wrap: wrap;
  gap:0.5rem;
  border: #2e524d 3px solid;
  border-radius: 10px;
  padding: 1%;
}

.imagerow img {
  height: 15rem;;
  width: 80%;
  object-fit: cover;
  flex: 1 1 25%; 
}

  .tour-contect{
    padding: 0.5rem;
  }

  .tour-contect h3{
    color: #71c2b7;
  }

  .tour-detail-layer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index:100;
  }
  
  .tour-detail-content {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    overflow: auto;
    border-radius: 5px;
  }

  .tour-detail-content .travel-tour-info .tour--contect{
    white-space: wrap;
  }

  .tour-detail-layer > .tour-detail-content {
    word-wrap: break-word;
  }
  .button-class {
    appearance: none;
    border: 2px solid #1A1A1A;
    border-radius: 15px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 60px;
    min-width: 0;
    outline: none;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    will-change: transform;
  }
  
  .button-class[title="download"]{
    background-color: rgb(13, 108, 120);
  }
  
  .button-class[title="inquiry"]{
    background-color: rgb(10, 87, 40);
  }
  
  .button-class:disabled {
    pointer-events: none;
  }
  
  .button-class:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
  }
  
  .button-class:active {
    box-shadow: none;
    transform: translateY(0);
  }

  .tour-detail-layer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }
  
  .tour-detail-content {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    overflow: auto;
    border-radius: 5px;
  }
  
  .tour-detail-layer > .tour-detail-content {
    position: relative;
  }
  
  .close-button::before {
    position: absolute;
    top: 10px; 
    right: 10px; 
    z-index: 9999;
    content: '✕';
    font-weight: bold;
    font-size: 30px;
    line-height: 1;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    color: #fff; 
    border-radius: 50%; 
  }

  #whatsapp{
    width: 30px;
    height: 30px;
}
  

/* 遊踪扎記 */
.tourBar{
    display: flex;
    max-width: 1500px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 50px;
    justify-content: center;
    align-items: center;
    background-color: gray;
    height: 50px;
    font-weight: bold;
    color: azure;
}

.tourNote{
    margin:auto;
    margin-bottom: 50px;
    max-width:1310px;
    border: 5px solid black;
    border-radius: 8px;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 4fr;
    column-gap: 0px;
}

.tourimg img {
    width: 230px;
    height: 250px;
    margin: 10px;
    opacity: 0;
    transition: opacity 0.5s;
}

.tourimg img.fade {
    opacity: 1; 
}



.tourNoteContent{
    font-weight:bold;
}

@media only screen and (max-width: 750px) {
  .tour-group{
    gap:1rem;
  }

  .slide-image {
    height: 200px; 
  }

  .travel-tour {
    flex: 9rem;
    height: 10%;
  }

  .travel-tour img {
    height: 7rem;;
    width: 100%;
  }

  .imagerow img {
    height: 7rem;;
  }

  .tourNote{
    margin:auto;
    margin-bottom: 50px;
    max-width:1310px;
    border: 5px solid black;
    border-radius: 8px;
    display: block;
    align-items: center;
    column-gap: 0px;
}

.tourimg img {
    width: 80%;
    height: auto;
    margin: 10%;
    opacity: 0;
    transition: opacity 0.5s;
}




}




