/* General Body Styles */
body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
.main-header {
    margin-bottom: 0; /* Remove default margin */
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.navbar-brand img {
    margin-right: 10px;
}

.hero-section {
    background: url('/hero-bg.jpg') no-repeat center center/cover;
    min-height: 500px;
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: -1;
}

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

.hero-section p.lead {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Main Content Area */
main {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Footer Styles */
.main-footer {
    background-color: #212529 !important; /* Darker than default dark */
    color: #f8f9fa;
}

.main-footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.main-footer ul li a {
    color: #ced4da;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: #007bff; /* Bootstrap primary blue */
}

.main-footer .social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.main-footer .form-control {
    border-radius: 0.25rem;
}

.main-footer .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.main-footer .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 350px;
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
}

/* Utility classes or global styles */
.text-decoration-none {
    text-decoration: none !important;
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
