/* 基本样式设置 */
:root {
    --primary-color: #003366;
    --secondary-color: #0066cc;
    --accent-color: #ff9900;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
    --black: #000000;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
}

.logo a {
    color: var(--primary-color);
    font-weight: bold;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--text-color);
    font-size: 16px;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.user-actions .login-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.user-actions .login-btn:hover {
    background-color: var(--secondary-color);
}

/* 横幅样式 */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
}

.stat-item .number {
    font-size: 28px;
    font-weight: bold;
}

.update-info {
    font-size: 14px;
    opacity: 0.8;
}

/* 酒店品牌展示 */
.hotel-brands {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.brand-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.brand-items {
    display: flex;
    gap: 20px;
    overflow: hidden;
    margin: 0 40px;
}

.brand-item {
    flex: 0 0 calc(50% - 10px);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.brand-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.brand-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.brand-item:hover img {
    transform: scale(1.05);
}

.slider-btn {
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.slider-btn i {
    font-size: 20px;
    color: var(--primary-color);
}

.slider-btn:hover {
    background-color: var(--primary-color);
}

.slider-btn:hover i {
    color: var(--white);
}

/* 预订搜索 */
.booking-search {
    padding: 60px 0;
}

.search-box {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.search-box h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.search-form .form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.search-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.search-form input,
.search-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
}

.search-form input:focus,
.search-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin: 20px auto 0;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: #e68a00;
}

/* 特色服务 */
.features {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
}

.feature-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-item {
    flex: 0 0 calc(25% - 30px);
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-item .icon i {
    font-size: 30px;
    color: var(--white);
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--dark-gray);
    font-size: 14px;
}

/* 底部区域 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 0 0 22%;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

.icp-link {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.icp-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .feature-item {
        flex: 0 0 calc(50% - 30px);
    }
}

@media screen and (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .main-nav {
        margin: 15px 0;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .brand-items {
        flex-direction: column;
    }
    
    .brand-item {
        flex: 0 0 100%;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .feature-item {
        flex: 0 0 100%;
    }
    
    .footer-col {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
} 