/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* REM适配方案 */
html {
    font-size: 16px;
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 11px;
    }
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-right: 1.875rem;
}

.contact-info {
    font-size: 0.875rem;
    color: #ccc;
}

.contact-info span {
    margin-right: 1.25rem;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin-right: 1.875rem;
}

.nav-menu li {
    margin-right: 1.25rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e63946;
}

.search-box input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9375rem 1.25rem;
}

/* KV图样式 */
.kv-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.kv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.kv-content {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.kv-content h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.5);
}

.kv-content p {
    font-size: 1.5rem;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.5);
}

/* 关于我们页面样式 */
.about-section {
    padding: 6.25rem 0;
    background-color: #fff;
    margin-top: 4.375rem;
}

.about-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3.75rem;
    color: #000000;
    position: relative;
}

.about-title::after {
    content: '';
    display: block;
    width: 3.75rem;
    height: 0.1875rem;
    background-color: #881103;
    margin: 0.625rem auto 0;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3.75rem;
    padding-top: 1.25rem;
}

.about-left {
    flex: 1;
    padding-right: 3.75rem;
    padding-top: 2.5rem;
}

.about-left h2 {
    font-size: 1.375rem;
    margin-bottom: 0.625rem;
    color: #333;
}

.about-left p {
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    color: #232323;
    line-height: 1;
}

.about-btn {
    background-color: transparent;
    color: #090909;
    border: 1px solid #8a8a8a;
    padding: 0.375rem 1.125rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.9375rem;
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    max-width: 40.25rem;
}

.building-image {
    max-width: 100%;
    height: auto;
}

.about-btn:hover {

}

.about-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /*overflow: hidden;*/
    /*border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;*/
}

.building-image {
    max-width: 100%;
    height: auto;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 3rem;
}

.stat-item {
    flex: 1;
    min-width: 12rem;
    padding: 1.5rem 0;
    margin: 0;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
}

.stat-item h3 {
    font-size: 1.45rem;
    color: #881103;
    margin-bottom: 0.1rem;
    font-weight: bold;
}

.stat-item p {
    font-size: 0.875rem;
    color: #232323;
    line-height: 1.4;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 3.75rem 0 1.875rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.footer-info {
    flex: 1;
    padding-right: 2.5rem;
}

.footer-info h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-info p {
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    color: #ccc;
}

.footer-links {
    flex: 1;
}

.footer-links h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e63946;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.875rem;
    text-align: center;
    font-size: 0.875rem;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-left {
        padding-right: 0;
        margin-bottom: 2.5rem;
        padding-top: 0;
    }

    .about-right {
        justify-content: center;
        max-width: 25rem;
        margin: 0 auto;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 80%;
        margin: 0.625rem 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info,
    .footer-links {
        padding-right: 0;
        margin-bottom: 2.5rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .kv-content h1 {
        font-size: 2.25rem;
    }

    .kv-content p {
        font-size: 1.125rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-left h2 {
        font-size: 1.5rem;
    }
}
