/* Global Styles */
:root {
    --primary-color: #56491d;
    --secondary-color: #f8f8f8;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --btn-color:#313000;/*#767260*/
    --header-height:60px;
    --area-background-color: rgba(234,244,233);
    --carousel-height: 40vw;
    --index-background-color:rgba(86,73,29,0.4)
}
/*小于480px*/
@media (max-width: 480px) {
    :root {
        --carousel-height: 40vh
    }
}

* {
    margin: 0;
    padding: 0;
   /* box-sizing: border-box;*/
}
body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}
a {
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color);
}
.font_caps{
    text-transform: uppercase;
    font-variant-caps: all-small-caps;
}
.container {
    width: 100%;
    max-width: 85%;
    margin: 0 auto;
    padding: 0 15px;
}
/* Header Styles 
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}*/
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 20px;
}
.logo .title{
    color: #ffffff; font-size: 24px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.logo img {
    height: 40px;
}
.main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav li {
    margin: 0 15px;
    white-space: nowrap;
}
.main-nav a {
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.8s ease;
}
.header-contact {
    display: flex;
    align-items: center;
}
.phone {
    margin-right: 20px;
    font-weight: 700;
    color: var(--primary-color);
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
/* Hero Banner Styles */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/* Header Section */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2002;
    transition: background-color 0.8s ease, box-shadow 0.8s ease;
    background-color: transparent;
    height: var(--header-height);
    line-height: var(--header-height);
}
.header:hover {
    background-color: rgba(26, 26, 26, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.header.scrolled {
    background-color: rgba(26, 26, 26, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.header .main-nav a {
    color: #ffffff;
}
.header .main-nav a:hover {
    color: var(--primary-color);
    transition: color 0.8s ease;
}
.header .phone {
    color: #ffffff;
}
/* Header Container */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 20px;
}
/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav li {
    white-space: nowrap;
}
.main-nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.8s ease;
}
/* Header Search */
.header-search {
    margin-right: 15px;
    flex-shrink: 0;
}
/* Search Icon Button */
.search-icon-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s ease;
}
.search-icon-button:hover {
    color: var(--primary-color);
    transition: color 0.8s ease;
}
/* Search Form Container */
.search-form-container {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #1a1a1a;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 10px;
    display: none;
    z-index: 1000;
    margin-top: 5px;
}
.search-form-container.active {
    display: block;
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Search Form Header */
.search-form-header {
    display: flex;
    align-items: center;
}
.search-input {
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px 0 0 4px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
    width: 200px;
    height: 32px;
    box-sizing: border-box;
}
.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}
.search-submit-button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    height: 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-submit-button:hover {
    background-color: #005a3b;
}
/* 响应式调整 */
@media (max-width: 1200px) {
    .search-input {
        width: 150px;
    }
    .main-nav ul {
        gap: 15px;
    }
}
@media (max-width: 992px) {
    .main-nav {
        display: none; /* 在小屏幕上隐藏导航菜单 */
    }
    .header-search {
        display: none; /* 在小屏幕上隐藏搜索框 */
    }
    .search-form-header {
        display: none; /* 在小屏幕上隐藏搜索表单 */
    }
}
/* Hero Search Form Styles */
.search-form{
    position: relative;
    width: 100%;
}
.hero-search-form {
    display: flex;
    max-width: 600px;
    position: absolute;
    z-index: 4;
    width: 100%;
    border: none;
    /*margin: 0 auto;*/
}
.hero-search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}
.hero-search-form .hero-search-btn {
    padding: 15px 25px;
    background-color: #808080;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.hero-search-form .hero-search-btn:hover {
    background-color: #696969;
}
/* Navigation Search Form Styles (保留原有导航搜索样式) */
.nav-search-form {
    /* 保留原有导航搜索样式 */
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    .hero-search-form {
        flex-direction: column;
        max-width: 90%;
    }
    .hero-search-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    .hero-search-form .hero-search-btn {
        border-radius: 4px;
    }
}
.hero-slides {
    height: 100%;
    position: relative;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active {
    opacity: 1;
}
/* Featured Tours Styles */
.featured-tours {
    padding: 80px 0;
    background-color: var(--secondary-color);
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary-color);
}
.tours-grid {
   
    margin: 40px 0;
}

.tour-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.tour-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.tour-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}
.video_icon_small{
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color:rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 100%;
}
.tour-content {
    padding: 20px;
}
.tour-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--primary-color);
}
.tour-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}
.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.tour-price {
    font-weight: 700;
    color: var(--primary-color);
}
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
    .featured-tours {
        padding: 50px 0;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--btn-color);/*#1a1a1a*/
    color: #ccc;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--white);
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.social-links a:hover {
    background-color: var(--primary-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 20px;
}
address p {
    margin-bottom: 10px;
    font-style: normal;
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

.num_contro{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 300px;
}
.sub_btn,.add_btn{
    width: 45px;
    height: 45px;
    border-radius: 100%;
    border:1px solid var(--btn-color);
    color: var(--btn-color);
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
}
.num_area{
    width: calc(100% - 100px);
    text-align: center;
    color: var(--btn-color);
    font-size: 30px;
}
.wrapFlexDiv{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}