@charset "utf-8";
/* 기본설정 */
/* @import "default.css"; */

.tourslide{
    width: 100%;
    height: 35.41666vw;
    background: url('/html/images/tour/01_01.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
}
.tourslide img{
    display: block;
    width: 100%;
    height: 100%;
}
.slide-caption {
  position: absolute;
  z-index: 5;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
}
.slide-caption h2 {
  font-size: 70px;
  line-height: 1.2;
  letter-spacing: 6px;
  font-weight: 400;
  color: #fff ;
}
.slide-caption p {
  font-size: 39px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: #fff;
  font-family: 'gowun-b';
}


@media(max-width:768px){
    .tourslide{
        height: 78.125vw;
        background: url('/html/images/tour/m/01_01.jpg');   
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .slide-caption {
        display: none;
    }
    
}

.tour-sec01 {
    background-color: #EBEAE7;
    padding: 100px 0;
}

.tour-container {
    max-width: 1370px;
    margin: 0 auto;
    padding: 0 20px;
}

.tour-title {
    font-size: 80px;
    color: var(--main-gold);
    text-align: center;
    margin: 0 auto 287px;
    letter-spacing: 0.03em;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 287px;
    column-gap: 137px;
}

.tour-card {
    position: relative;
    width: 373px;
    height: 343px;
    background-color: #fff;
    border-radius: 43px;
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tour-image {
    position: absolute;
    top: -190px;
    left: -60px;
    width: 373px;
    height: 373px;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(50%);
}
.tour-image img:hover {
    filter: brightness(0.7);
}

.ref {   /* 출처 */
    position: absolute;
    bottom: 50%;
    right: 10px;
    font-size: 13px;
    padding: 4px 10px;
}

.tour-info {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.tour-name {
    margin-bottom: 15px;
}

.tour-distance {
    font-size: 15px;
}


@media (max-width:1500px) {
    .tour-container {
        max-width: 900px; 
    }
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* 태블릿 */
@media (max-width: 1024px) {
    .tour-container {
        max-width: 100vw;
    }
    .tour-grid {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }
    .tour-title {
        font-size: 40px;
    }
    
}

/* 모바일 */
@media (max-width: 768px) {
    .tour-title {
        margin-bottom: 224px;
    }

    .tour-grid {
        row-gap: 194px;
    }
    .tour-image {
        top: -146px;
        left: -60px;
        width: 300px;
        height: 300px;
    }
    .tour-card {
        width: 300px;
        height: 280px;
        border-radius: 20px;
        padding: 30px 15px;
    }
    
    /* 카드 지그재그 배치*/
    .tour-grid .tour-card:nth-of-type(2n+1) {
        margin-left: -25vw;
    }
    .tour-grid .tour-card:nth-of-type(2n) {
        margin-right: -25vw;
    }


    .tour-name {
        margin-bottom: 5px;
    }
    .tour-distance {
        font-size: 13px;
    }
    .ref {
        font-size: 11px;
    }

    
}

@media (max-width: 500px) {
    .tour-title {
        margin-bottom: 194px;
    }
    .tour-grid {
        row-gap: 164px;
    }
    .tour-card {
        width: 61.5vw;
        height: 56.25vw;
    }

    /* 카드 지그재그 배치*/
    .tour-grid .tour-card:nth-of-type(2n+1) {
        margin-left: -2vw;
    }
    .tour-grid .tour-card:nth-of-type(2n) {
        margin-right: -27vw;
    }

    .tour-image {
        top: -124px;
        left: -60px;
        width: 61.5vw;
        height: 61.5vw;
    }
}



