/* css/style.css - 活满之旅全局样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f4f7fb;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    border-radius: 28px;
    box-shadow: 0 20px 40px -12px rgba(0,20,40,0.25);
    padding: 32px 40px;
    flex: 1;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e6edf4;
    padding-bottom: 18px;
    margin-bottom: 32px;
}

.logo a {
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: #0b2b4f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: #0b2b4f;
    color: white;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 40px;
    font-weight: 400;
}

nav a {
    margin-left: 28px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

h1 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #0b2b4f;
    margin-bottom: 16px;
    line-height: 1.2;
}

h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #1e3b5c;
    margin: 36px 0 20px 0;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3b5c;
    margin-bottom: 8px;
}

.lead {
    font-size: 1.2rem;
    color: #3a5670;
    background: #f0f5fa;
    padding: 20px 26px;
    border-radius: 20px;
    margin-bottom: 40px;
    border-left: 5px solid #0066cc;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0 20px;
}

.card {
    background: #f9fcff;
    border-radius: 24px;
    padding: 28px 22px;
    border: 1px solid #dde7f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -10px rgba(0,60,100,0.2);
    border-color: #b0c8dd;
}

.card .emoji {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.card p {
    color: #2b4b6f;
    margin: 12px 0 0 0;
}

.btn-link {
    display: inline-block;
    background-color: #e1ecf7;
    color: #0066cc;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 16px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-link:hover {
    background-color: #cde0f0;
}

.faq-item {
    background-color: #f8fafd;
    border-radius: 20px;
    padding: 20px 28px;
    margin-bottom: 16px;
    border: 1px solid #dae4ed;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.faq-item .question {
    font-size: 1.3rem;
    font-weight: 550;
    color: #0b2b4f;
}

.faq-item .meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.answer-badge {
    background-color: #ffffff;
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #c2d6e8;
    transition: all 0.2s;
}

.answer-badge:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.answer-badge a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.img-placeholder-svg {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    border: 2px dashed #9bb6cc;
    background: #f3f9ff;
    display: block;
    margin: 30px 0;
}

.back-link {
    display: inline-block;
    margin: 30px 0 10px;
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px 10px 0;
}

.back-link:hover {
    text-decoration: underline;
}

footer {
    margin-top: 48px;
    border-top: 1px solid #d5e2ed;
    padding-top: 24px;
    color: #5d7184;
    text-align: center;
    font-size: 0.95rem;
}

hr {
    border: none;
    border-top: 2px dotted #c9d9e9;
    margin: 30px 0;
}

/* 毕业生感想卡片 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.testimonial-card {
    background: #f8fafd;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #e6edf4;
    transition: transform 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0,60,100,0.15);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #1e3b5c;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #0066cc;
    text-align: right;
}

/* Banner占位样式 */
.banner-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #0b2b4f, #2a5a7a);
    border-radius: 32px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 300;
    border: 2px dashed #a0c4e2;
}

/* FAQ列表页特定 */
.faq-list h2 {
    margin: 40px 0 20px;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .container { padding: 20px 18px; }
    header { flex-direction: column; align-items: start; gap: 15px; }
    nav a { margin-left: 0; margin-right: 20px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .faq-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    .banner-placeholder { height: 180px; font-size: 1.4rem; }
}