/*-----------------------------------*\
  #RESET
\*-----------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

body,
html {
    overflow-x: hidden;
    font-size: 10px;
    scroll-behavior: smooth;
}

a,a:hover,a:active {
	color:#FFFFFF;
	text-decoration:none;
}

/*-----------------------------------*\
  #COMMON
\*-----------------------------------*/
p {
    font-size: 1.6rem;
    color: #7c7c7c;
    padding: 0 40px;
}
.line {
    width: 150px;
    height: 4px;
    background: #fc036b;
    margin: 10px auto;
    border-radius: 5px;
}

.ctn {
    padding: 8px 15px;
    background: #fc036b;
    border-radius: 30px;
    color: whitesmoke;
    font-size: 1.6rem;
}

.ctn:hover {
    color: #fc036b;
    background: whitesmoke;
    box-shadow: 2px 2px 5px #00000056;
}

.row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.row .col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 动画效果 */
img {
    transition: transform .3s ease;
}

img:hover {
    transform: scale(1.1);
}

.back-top-btn{
    color: whitesmoke;
    font-size: 2.6rem;
    font-weight: 600;
    position: fixed;
    bottom: 10px;
    right: 15px;
    background-color: #1f1f1fd9;
    width: 50px;
    text-align: center;
    line-height: 50px;
    height: 50px;
    z-index: 4;
    transition: 0.25s ease;
    opacity: 0;
    visibility: hidden;
}

.back-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

.back-top-btn {
    bottom: 50px;
    right: 45px;
}

/*-----------------------------------*\
  #Navbar
\*-----------------------------------*/
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    background-color:#48487205;
    color: whitesmoke;
    z-index: 4;
    
}

.navbar.active {
    background-color:#333;
    position: fixed;
    top: 0px;
    animation: slideIn 0.5s cubic-bezier(0.33,0.85,0.4,0.96) forwards;
    outline: 1px solid #00000033;
}

.navbar .logo{
    font-size: 2.4rem;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
}

.navbar .nav-links li {
    margin: 0 30px;
    cursor: pointer;
    font-size: 1.6rem;
}

.navbar .nav-links li a{
    color: whitesmoke;
}
.navbar .nav-links li a:visited{
    color: whitesmoke;
}

.navbar .nav-links li a:hover{
    color: #fc036b;
}

.navbar .nav-links li a.active{
    color: #fc036b;
    text-decoration: underline;
    font-weight: bold;
}

.navbar .menu-btn-open,.navbar .menu-btn-close {
    position: absolute;
    top: 15px;
    right: 25px;
    width: 35px;
    cursor: pointer;
    display: none;
}

/*-----------------------------------*\
  #Header
\*-----------------------------------*/
.header {
    width: 100%;
    height: 100vh;
    background-image: url('../img/header-bg.png');
    background-position: bottom;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header .header-content {
    margin-bottom: 150px;
    color: whitesmoke;
    text-align: center;
}

.header .header-content h2 {
    font-size: 4rem;
}

.header .header-content h1 {
    font-size: 7rem;
    margin-top: 50px;
    margin-bottom: 30px;
}



/*-----------------------------------*\
  #project
\*-----------------------------------*/
.project {
    width: 80%;
    margin: 80px auto;
}

.project .title {
    text-align: center;
    color: #49497e;
}

.project .title h1{
    font-size: 7rem;
}

.project .row {
    margin-top: 50px;
}

.project .row .col{  
    width: 50%;
}

.project h4 {
    font-size: 3rem;
    color: #484872;
    margin: 20px auto;
}

.project .ctn {
    margin-top: 30px;
}



/*-----------------------------------*\
  #Explore
\*-----------------------------------*/
.explore {
    width: 100%;
    height: 80vh;
    background-image: url('../img/bg2.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center
}

.explore-content {
    width: 60%;
    padding: 50px;
    color: whitesmoke;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.explore-content h1 {
    font-size: 7rem;
}

.explore-content .line {
    margin-bottom: 50px;
}

.explore-content p {
    color: rgb(221, 221, 221);
}

.explore-content .ctn {
    margin-top: 40px;
}



/*-----------------------------------*\
  #TOURS
\*-----------------------------------*/
.tours{
    width: 80%;
    margin: 80px auto;   
} 
.tours .content-col {
    width: 45%;
}

.tours .content-col h1 {
    font-size: 7rem;
    color: #484872;
}

.tours .content-col .line {
    margin-left: -1px;
}

.tours .content-col p {
    padding: 0;
    margin: 30px auto;
}

.tours .content-col .ctn {
    margin-left: -100px;
}

.tours .image-col {
    width: 55%;
}

.tours .image-col .image-gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: initial;
}

.tours .image-col .image-gallery img {
    max-width: 30rem;
    height: auto;
    margin: 12px;
}



/*-----------------------------------*\
  #Footer
\*-----------------------------------*/
.footer {
    width: 100%;
    min-height: 100px;
    padding: 20px 80px;
    margin: 0;
    background: #484872;
    text-align: center;
}

.footer p {
    color: whitesmoke;
    margin: 20px auto;
    padding: 20px auto;
}



/*-----------------------------------*\
  #Mobile device
\*-----------------------------------*/
@media (max-width:768px) {
    /* COMMON */
    p {
        font-size: 1.4rem;
        padding: 0 30px;
    }
    .ctn {
        font-size: 1.4rem;
    }

    .row {
        flex-direction: column;
    }

    .row .col {
        margin: 20px auto;
    }
    
    .col img {
        max-width: 90%;
    }
    
    .back-top-btn {
        bottom: 30px;
        right: 25px;
    }

    /* Navbar */
    .navbar {
        padding: 20px;
        height: auto;
        background-color: #333;
    }

    .navbar .menu-btn-open.menu-active{
        display: block;
    }
    .navbar .menu-btn-close.menu-active {
        display: block;
    }

    .navbar .logo {
        font-size: 2rem;
    }

    .navbar .nav-links {
        background-color: #2d2d2d;
        position: absolute;
        display: block;
        top: 100%;
        right: 0;
        width: 100%;
        max-width: 350px;
        visibility: hidden;
        max-height: 0;
        transition: 0.25s cubic-bezier(0.33,0.85,0.4,0.96);
        overflow: hidden;
    }
    
    .navbar .mobile-menu {
        visibility: visible;
        max-height: 275px;
        transition-duration: 0.5s;
    }

    .navbar .nav-links li {
        margin: 0;
        padding: 12px 25px;
        font-size: 1.4rem;
        border-bottom: 1px solid whitesmoke;
    }
    .navbar .nav-links li a:hover {
        color:whitesmoke;
    }

    .navbar .nav-links li:hover {
        background-color: #ffffff1a;
    }

    .navbar .nav-links li.ctn{
        padding: 12px 25px;
        color: whitesmoke;
        background: none;
        border-radius: 0;
        border-bottom: none;
    }

    .navbar .nav-links li.ctn:hover{
        box-shadow: none;
        background-color: #ffffff1a;
    }

    /* Header */
    .header .header-content h2 {
        font-size: 2.4rem;
    }
    
    .header .header-content h1 {
        font-size: 4rem;
    }
    
    /* project */
    .project .row {
        flex-direction: column;
    }

    .project .row .col {
        width: 100%;
        margin: 20px auto;
    }

    .project .title h1{
        font-size: 4rem;
    }
    
    .project h4 {
        font-size: 2.4rem; 
    }

    /* Explore */
    .explore-content {
        width: 100%;
    }

    .explore-content h1 {
        font-size: 4rem;
    }

    /* Tours */
    .tours .content-col {
        width: 100%;
    }
    .tours .content-col h1 {
        font-size: 4rem;
    }
    .tours .image-col{
        width: 100%;
        padding: 0;
    }

    .tours .image-col .image-gallery {
        justify-content: center;
        align-items: center;
    }

    .tours .image-col .image-gallery img {
        max-width: none;
        width: 90%;
        margin: 15px 10px;
    }

    .footer {
        padding: 10px;
    }
}



/*-----------------------------------*\
  #pad device
\*-----------------------------------*/
@media (min-width: 769px) and (max-width:991px){
    .project .row .col img{  
        width: 90%;
    }
    .navbar .nav-links li {
        margin: 0 20px;
    }
    .row .col{
        width: 47%;
    }

    .row .col img{
        width: 100%;
    }

    .header .header-content h2 {
        font-size: 2.8rem;
    }
    
    .header .header-content h1 {
        font-size: 5.2rem;
    }
    .project .title h1{
        font-size: 5.2rem;
    }
    
    .project h4 {
        font-size: 2.2rem; 
    }

    .explore-content h1 {
        font-size: 5.2rem;
    }

    .tours .row{
        flex-direction: column;
    }
    .tours .content-col{
        width: 100%;
    }   

    .tours .content-col h1 {
        font-size: 5.2rem;
    }

    .tours .image-col {
        margin-top: 20px;
        width: 100%;
    }

    .tours .image-col .image-gallery{
        padding-left: 5%;
        width: 100%;
        align-items: initial;
    }

    .tours .image-col .image-gallery img {
        max-width: 26rem;
    }
}

@media (min-width: 992px) and (max-width:1199px){
    .project .row .col img{  
        width: 90%;
    }
    .navbar .nav-links li {
        margin: 0 25px;
    }
    .row .col{
        width: 47%;
    }   

    .row .col img{
        width: 100%;
    }

    .tours .row{
        flex-direction: column;
    }
    .tours .content-col{
        width: 100%;
    }   

    .tours .image-col {
        margin-top: 20px;
        width: 100%;
    }

    .tours .image-col .image-gallery{
        padding-left: 5%;
        width: 100%;
        align-items: initial;
    }
    .tours .image-col .image-gallery img {
        max-width: 28.5rem;
    }
}



/*-----------------------------------*\
  #PC
\*-----------------------------------*/
@media (min-width:1200px) and (max-width:1560px) {
    .project .row .col img{  
        width: 90%;
    }
    
    .tours .row{
        flex-direction: column;
    }
    .tours .content-col{
        width: 100%;
    }   

    .tours .image-col {
        margin-top: 20px;
        width: 100%;
    }

    .tours .image-col .image-gallery{
        padding-left: 2.5%;
        width: 100%;
        align-items: initial;
    }
}