/* Template: Aria - Business HTML Landing Page Template
   Author: Inovatik
   Created: Jul 2019
   Description: Components CSS file
*/

/******************************/
/*        02. Buttons         */
/******************************/
.btn-solid-reg {
    display: inline-block;
    padding: 1.1875rem 1.875rem 1.1875rem 1.875rem;
    border: 0.125rem solid #ff80ab;
    border-radius: 0.25rem;
    background-color: #ff80ab;
    color: #fff;
    font: 700 0.75rem/0 "Montserrat", sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-solid-reg:hover {
    background-color: transparent;
    color: #ff80ab;
    text-decoration: none;
}

.btn-solid-lg {
    display: inline-block;
    padding: 1.2rem 2.2rem;
    border: 0.125rem solid #ff80ab;
    border-radius: 2rem; /* 更圆润的边角 */
    background-color: #ff80ab;
    color: #fff;
    font: 700 0.85rem/0 "Montserrat", sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 128, 171, 0.3); /* 添加阴影效果 */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* 更平滑的动画曲线 */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-solid-lg:hover {
    background-color: transparent;
    color: #ff80ab;
    text-decoration: none;
    transform: translateY(-3px); /* 悬浮时轻微上移 */
    box-shadow: 0 6px 14px rgba(255, 128, 171, 0.4); /* 悬浮时阴影增强 */
}

.btn-solid-lg:active {
    transform: translateY(1px); /* 点击时下沉效果 */
    box-shadow: 0 2px 6px rgba(255, 128, 171, 0.2); /* 点击时阴影减弱 */
}

/* 可选：添加波纹效果 */
.btn-solid-lg::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-solid-lg:hover::after {
    transform: translate(-50%, -50%) scale(3);
    opacity: 1;
}

.btn-outline-reg {
    display: inline-block;
    padding: 1.1875rem 1.875rem 1.1875rem 1.875rem;
    border: 0.125rem solid #787976;
    border-radius: 0.25rem;
    background-color: transparent;
    color: #787976;
    font: 700 0.75rem/0 "Montserrat", sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-reg:hover {
    background-color: #787976;
    color: #fff;
    text-decoration: none;
}

.btn-outline-lg {
    display: inline-block;
    padding: 1.375rem 2.125rem 1.375rem 2.125rem;
    border: 0.125rem solid #787976;
    border-radius: 0.25rem;
    background-color: transparent;
    color: #787976;
    font: 700 0.75rem/0 "Montserrat", sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-lg:hover {
    background-color: #787976;
    color: #fff;
    text-decoration: none;
}

.btn-outline-sm {
    display: inline-block;
    padding: 1rem 1.625rem 0.9375rem 1.625rem;
    border: 0.125rem solid #787976;
    border-radius: 0.25rem;
    background-color: transparent;
    color: #787976;
    font: 700 0.75rem/0 "Montserrat", sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-sm:hover {
    background-color: #787976;
    color: #fff;
    text-decoration: none;
}

/******************************/
/*        03. Forms           */
/******************************/
.form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-group.has-error.has-danger {
    margin-bottom: 0.625rem;
}

.form-group.has-error.has-danger .help-block.with-errors ul {
    margin-top: 0.375rem;
}

.label-control {
    position: absolute;
    top: 0.8125rem;
    left: 1.375rem;
    color: #787976;
    opacity: 1;
    font: 400 0.875rem/1.375rem "Open Sans", sans-serif;
    cursor: text;
    transition: all 0.2s ease;
}

/* IE10+ hack to solve lower label text position compared to the rest of the browsers */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    .label-control {
        top: 0.9375rem;
    }
}

.form-control-input:focus + .label-control,
.form-control-input:valid + .label-control {
    top: 0.125rem;
    opacity: 1;
    font-size: 0.75rem;
    font-weight: 500;
}

.form-control-input,
.form-control-select {
    display: block; /* needed for proper display of the label in Firefox, IE, Edge */
    width: 100%;
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1.3125rem;
    border: 1px solid #dadada;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #787976;
    font: 400 0.875rem/1.375rem "Open Sans", sans-serif;
    transition: all 0.2s;
    -webkit-appearance: none; /* removes inner shadow on form inputs on ios safari */
}

.form-control-select {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 3rem;
}

/* IE10+ hack to solve lower label text position compared to the rest of the browsers */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    .form-control-input {
        padding-top: 1.25rem;
        padding-bottom: 0.75rem;
        line-height: 1.75rem;
    }

    .form-control-select {
        padding-top: 0.875rem;
        padding-bottom: 0.75rem;
        height: 3.125rem;
        line-height: 2.125rem;
    }
}

select {
    /* you should keep these first rules in place to maintain cross-browser behavior */
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-position: 96% 50%;
    background-repeat: no-repeat;
    outline: none;
}

select::-ms-expand {
    display: none; /* removes the ugly default down arrow on select form field in IE11 */
}

.form-control-textarea {
    display: block; /* used to eliminate a bottom gap difference between Chrome and IE/FF */
    width: 100%;
    height: 8rem; /* used instead of html rows to normalize height between Chrome and IE/FF */
    padding-top: 1.25rem;
    padding-left: 1.3125rem;
    border: 1px solid #dadada;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #787976;
    font: 400 1rem/1.5625rem "Open Sans", sans-serif;
    transition: all 0.2s;
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
    border: 1px solid #a1a1a1;
    outline: none; /* Removes blue border on focus */
}

.form-control-input:hover,
.form-control-select:hover,
.form-control-textarea:hover {
    border: 1px solid #a1a1a1;
}

.checkbox {
    font: 400 0.875rem/1.375rem "Open Sans", sans-serif;
}

input[type='checkbox'] {
    vertical-align: -15%;
    margin-right: 0.375rem;
}

/* IE10+ hack to raise checkbox field position compared to the rest of the browsers */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    input[type='checkbox'] {
        vertical-align: -9%;
    }
}

.form-control-submit-button {
    display: inline-block;
    width: 100%;
    height: 3.125rem;
    border: 0.125rem solid #ff80ab;
    border-radius: 0.25rem;
    background-color: #ff80ab;
    color: #fff;
    font: 700 0.75rem/1.75rem "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.form-control-submit-button:hover {
    background-color: transparent;
    color: #ff80ab;
}

/* Form Success And Error Message Formatting */
#lmsgSubmit.h3.text-center.tada.animated,
#cmsgSubmit.h3.text-center.tada.animated,
#pmsgSubmit.h3.text-center.tada.animated,
#lmsgSubmit.h3.text-center,
#cmsgSubmit.h3.text-center,
#pmsgSubmit.h3.text-center {
    display: block;
    margin-bottom: 0;
    color: #b93636;
    font: 400 1.125rem/1rem "Open Sans", sans-serif;
}

.help-block.with-errors .list-unstyled {
    color: #787976;
    font-size: 0.75rem;
    line-height: 1.125rem;
    text-align: left;
}

.help-block.with-errors ul {
    margin-bottom: 0;
}
/* end of form success and error message formatting */

/* Form Success And Error Message Animation - Animate.css */
@-webkit-keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
/* end of form success and error message animation - Animate.css */

/******************************/
/*     18. Scenic Pictures    */
/******************************/
.scenic-pictures {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.scenic-pictures::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.scenic-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.scenic-pictures h2 {
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(81, 203, 238, 0.8);
    position: relative;
}

.scenic-pictures h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff80ab, transparent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.scenic-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.scenic-carousel-wrapper::before,
.scenic-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scenic-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #1a1a2e, transparent);
}

.scenic-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent, #1a1a2e);
}

.scenic-carousel {
    display: block;
    width: 100%;
}

.scenic-row {
    display: flex;
    width: max-content;
    animation: scroll-horizontal 35s linear infinite;
    padding: 10px 0;
}

.scenic-row.top-row {
    animation-direction: normal;
}

.scenic-row.bottom-row {
    animation-direction: reverse;
    margin-top: 2rem;
    margin-left: 120px;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scenic-item {
    position: relative;
    width: 380px;
    height: 250px;
    margin-right: 2.5rem;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(81, 203, 238, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: perspective(1000px) rotateY(0deg);
}

.scenic-item:hover {
    transform: perspective(1000px) rotateY(5deg) translateY(-10px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(81, 203, 238, 0.4);
    z-index: 10;
}

.scenic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.scenic-item:hover img {
    transform: scale(1.1);
}

.scenic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.scenic-item:hover .scenic-overlay {
    opacity: 1;
}

.scenic-overlay span {
    color: #fff;
    font: 700 1.3rem "Montserrat", sans-serif;
    text-align: center;
    text-shadow: 0 0 10px rgba(81, 203, 238, 0.8);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    opacity: 0;
}

.scenic-item:hover .scenic-overlay span {
    transform: translateY(0);
    opacity: 1;
}

/* 图片左下角简介样式 */
.scenic-item .image-description {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    max-width: 80%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    transform: translateY(10px);
}

.scenic-item:hover .image-description {
    opacity: 1;
    transform: translateY(0);
}

/* Add a shine effect on hover */
.scenic-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.scenic-item:hover::before {
    left: 100%;
}

@media (max-width: 1200px) {
    .scenic-item {
        width: 320px;
        height: 220px;
        margin-right: 2rem;
    }
    
    .scenic-row.bottom-row {
        margin-left: 100px;
    }
    
    .scenic-pictures h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .scenic-item {
        width: 280px;
        height: 190px;
        margin-right: 1.5rem;
    }
    
    .scenic-row.bottom-row {
        margin-left: 80px;
    }
    
    .scenic-pictures h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .scenic-item {
        width: 240px;
        height: 170px;
        margin-right: 1.2rem;
    }
    
    .scenic-row.bottom-row {
        margin-left: 60px;
    }
    
    .scenic-pictures {
        padding: 3rem 0;
    }
    
    .scenic-pictures h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .scenic-item {
        width: 200px;
        height: 140px;
        margin-right: 1rem;
    }
    
    .scenic-row.bottom-row {
        margin-left: 50px;
    }
    
    .scenic-wrapper {
        padding: 0 15px;
    }
    
    .scenic-pictures h2 {
        font-size: 1.6rem;
    }
}
