/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top-bar {
    background-color: #007bff;
    color: #fff;
    padding: 10px 0;
    font-size: 0.9em;
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-bar .contact-info span {
    margin-right: 20px;
}

.header-top-bar .social-media a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand .brand-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #555 !important;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.search-form {
    margin-left: 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.hero-section .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
}

.hero-section .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Footer Styles */
.main-footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 60px 0 20px;
    font-size: 0.9em;
}

.main-footer .footer-col {
    margin-bottom: 30px;
}

.main-footer .footer-heading {
    color: #007bff;
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
}

.main-footer .footer-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #007bff;
    margin-top: 10px;
}

.main-footer p {
    color: #ccc;
}

.main-footer .footer-links {
    list-style: none;
    padding: 0;
}

.main-footer .footer-links li {
    margin-bottom: 10px;
}

.main-footer .footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.main-footer address p {
    margin-bottom: 10px;
}

.main-footer .social-icons a {
    color: #fff;
    font-size: 1.2em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.main-footer .social-icons a:hover {
    color: #007bff;
}

.main-footer .footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main-footer .bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-footer .bottom-links li {
    margin-left: 20px;
}

.main-footer .bottom-links a {
    color: #ccc;
    text-decoration: none;
}

@media (max-width: 768px) {
    .header-top-bar .container,
    .main-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .header-top-bar .contact-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .navbar-collapse {
        text-align: left;
    }

    .search-form {
        margin-left: 0;
        margin-top: 15px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .main-footer .bottom-links {
        margin-top: 15px;
    }

    .main-footer .bottom-links li {
        margin: 0 10px;
    }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
