/* ============================================
   嵘鳄 RONGE — 乡村振兴栏目样式
   复用 about.css 的 .about-subnav 等子导航样式
   ============================================ */

/* ---- Hero通用（深色背景子页面）---- */
.rural-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    text-align: center;
    padding: 80px 20px;
}
.rural-hero::before {
    content: '';
    position: absolute;
    top: -30%; left: -20%; width: 60%; height: 180%;
    background: radial-gradient(ellipse, rgba(232,93,4,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.rural-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -10%; width: 50%; height: 160%;
    background: radial-gradient(ellipse, rgba(243,112,33,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.rural-hero-content { position: relative; z-index: 2; }
.rural-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #E85D04;
    letter-spacing: 10px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(232,93,4,0.3);
    animation: fadeInUp 0.8s ease-out;
}
.rural-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 4px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.rural-hero-line {
    width: 80px;
    height: 3px;
    background: #E85D04;
    margin: 20px auto 0;
    border-radius: 2px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- 乡村振兴主页面入口卡片区 ---- */
.rural-portal-section { padding: 80px 0; background: #fff; }
.portal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.portal-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1.5px solid transparent;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.portal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E85D04, #F37021, #ff6b25);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.portal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(232,93,4,0.15);
    border-color: rgba(232,93,4,0.15);
}
.portal-card:hover::before { opacity: 1; }
.portal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(232,93,4,0.3);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.portal-card:hover .portal-icon { transform: scale(1.1) rotate(3deg); }
.portal-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.portal-card p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.65;
}
.portal-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    color: #E85D04;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.portal-card:hover .portal-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- 乡村振兴主页面标语区 ---- */
.rural-slogan-section { padding: 60px 0; background: linear-gradient(135deg, #1a1a1a, #2d2d2d); }
.rural-slogan-content { text-align: center; }
.rural-slogan-content h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #ff6b25;
    letter-spacing: 6px;
    margin-bottom: 12px;
}
.rural-slogan-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 3px;
}

/* ---- 合作流程步骤条 ---- */
.coop-steps-section { padding: 80px 0; background: #fff; }
.steps-wrapper { max-width: 900px; margin: 0 auto; }
.steps-title { font-size: 1.8rem; font-weight: 700; color: #2c2c2c; text-align: center; margin-bottom: 50px; position: relative; }
.steps-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #E85D04;
    margin: 16px auto 0;
    border-radius: 2px;
}
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
}
.steps-row::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, #E85D04, #F37021, #ff6b25);
    z-index: 0;
}
.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}
.step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E85D04, #F37021);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(232,93,4,0.3);
    position: relative;
}
.step-circle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(232,93,4,0.3);
    animation: stepPulse 2s ease-in-out infinite;
}
@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.2; }
}
.step-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.step-item p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.65;
}
.step-num {
    position: absolute;
    top: -6px;
    right: calc(50% - 44px);
    width: 22px;
    height: 22px;
    background: #ff6b25;
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- 合作优势列表 ---- */
.coop-advantages-section { padding: 60px 0; background: #f8f6f1; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(232,93,4,0.12);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin: 0 auto 18px;
}
.advantage-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.7;
}

/* ---- 预约表单 ---- */
.booking-form-section { padding: 80px 0; background: #fff; }
.booking-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
    background: #faf8f5;
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid #f0ece5;
}
.booking-form-title { font-size: 1.5rem; font-weight: 700; color: #2c2c2c; text-align: center; margin-bottom: 8px; }
.booking-form-sub { font-size: 0.9rem; color: #999; text-align: center; margin-bottom: 36px; }
.form-row { display: flex; gap: 16px; }
.form-group { margin-bottom: 20px; flex: 1; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}
.form-group label .required { color: #E85D04; margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e8e4de;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-control:focus {
    border-color: #E85D04;
    box-shadow: 0 0 0 3px rgba(232,93,4,0.12);
}
.form-control::placeholder { color: #bbb; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Noto Sans SC', sans-serif;
    cursor: pointer;
    letter-spacing: 3px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(232,93,4,0.3);
}
.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,93,4,0.4);
}
.form-submit-btn:active { transform: translateY(0); }

/* ---- 研学课程/活动展示 ---- */
.tour-activities-section { padding: 60px 0; background: #f8f6f1; }
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.activity-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(232,93,4,0.12);
}
.activity-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 2.5rem;
}
.activity-body { padding: 24px; }
.activity-body h4 { font-size: 1.1rem; font-weight: 700; color: #2c2c2c; margin-bottom: 8px; }
.activity-body p { font-size: 0.85rem; color: #777; line-height: 1.7; }
.activity-tag {
    display: inline-block;
    background: rgba(232,93,4,0.1);
    color: #E85D04;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 12px;
    font-weight: 600;
}

/* ---- 溯源流程 ---- */
.trace-flow-section { padding: 80px 0; background: #fff; }
.trace-flow-wrapper { position: relative; }
.trace-flow-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    position: relative;
}
.trace-flow-row::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, #E85D04, #F37021, #ff6b25);
    transform: translateY(-50%);
    z-index: 0;
}
.trace-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}
.trace-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(232,93,4,0.3);
    position: relative;
}
.trace-step-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(232,93,4,0.35);
}
.trace-step h4 { font-size: 1rem; font-weight: 700; color: #2c2c2c; margin-bottom: 8px; }
.trace-step p { font-size: 0.82rem; color: #888; line-height: 1.65; }
.trace-arrow { display: flex; align-items: center; color: #E85D04; font-size: 1.4rem; flex-shrink: 0; z-index: 2; }

/* ---- 溯源查询入口 ---- */
.trace-query-section { padding: 60px 0; background: linear-gradient(135deg, #1a1a1a, #2d2d2d); }
.trace-query-wrapper { text-align: center; }
.trace-query-wrapper h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.trace-query-wrapper p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 30px; }
.trace-input-row { display: flex; gap: 0; max-width: 560px; margin: 0 auto; }
.trace-input-row input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.95rem;
    font-family: 'Noto Sans SC', sans-serif;
    outline: none;
}
.trace-input-row button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Noto Sans SC', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.trace-input-row button:hover { opacity: 0.9; }

/* ---- 行程选项卡 ---- */
.tour-tabs-section { padding: 80px 0; background: #fff; }
.tour-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.tour-tab {
    padding: 10px 32px;
    border: 1.5px solid #e8e4de;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Noto Sans SC', sans-serif;
}
.tour-tab:hover { border-color: #E85D04; color: #E85D04; }
.tour-tab.active {
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-color: #E85D04;
    color: #fff;
    box-shadow: 0 6px 18px rgba(232,93,4,0.25);
}
.tour-tab-content { display: none; }
.tour-tab-content.active { display: block; }
.tour-detail-card {
    background: #faf8f5;
    border-radius: 16px;
    padding: 36px;
    border: 1px solid #f0ece5;
}
.tour-detail-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.tour-detail-header h3 { font-size: 1.3rem; font-weight: 700; color: #2c2c2c; }
.tour-price { font-size: 1.4rem; font-weight: 900; color: #E85D04; }
.tour-price small { font-size: 0.8rem; color: #999; font-weight: 400; }
.tour-schedule { display: flex; flex-direction: column; gap: 16px; }
.tour-schedule-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.tour-time-badge {
    flex-shrink: 0;
    min-width: 80px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    color: #fff;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}
.tour-schedule-body h4 { font-size: 1rem; font-weight: 700; color: #2c2c2c; margin-bottom: 4px; }
.tour-schedule-body p { font-size: 0.85rem; color: #777; line-height: 1.65; }

/* ---- 预约须知 ---- */
.tour-notice-section { padding: 60px 0; background: #f8f6f1; }
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.notice-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.notice-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.notice-body h4 { font-size: 1rem; font-weight: 700; color: #2c2c2c; margin-bottom: 6px; }
.notice-body p { font-size: 0.85rem; color: #777; line-height: 1.7; }

/* ---- 游客评价卡片 ---- */
.reviews-section { padding: 80px 0; background: #f8f6f1; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(232,93,4,0.12);
}
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #E85D04, #F37021);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-meta { flex: 1; }
.review-name { font-size: 1rem; font-weight: 700; color: #2c2c2c; margin-bottom: 4px; }
.review-date { font-size: 0.78rem; color: #bbb; }
.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars i { color: #E85D04; font-size: 0.88rem; }
.review-stars i.empty { color: #e0dcd4; }
.review-text {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
    border-top: 1px solid #f0ece5;
    padding-top: 14px;
}
.review-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.review-tag {
    font-size: 0.72rem;
    background: rgba(232,93,4,0.08);
    color: #E85D04;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ---- 通用内容区 ---- */
.rural-section { padding: 80px 0; }
.rural-section.alt-bg { background: #f8f6f1; }
.rural-section.dark-bg { background: linear-gradient(135deg, #1a1a1a, #2d2d2d); }
.section-title-center { font-size: 2rem; font-weight: 700; color: #2c2c2c; text-align: center; margin-bottom: 16px; }
.section-title-center.dark { color: #fff; }
.section-subtitle-center { font-size: 1rem; color: #888; text-align: center; margin-bottom: 50px; }
.section-title-center.dark + .section-subtitle-center { color: rgba(255,255,255,0.55); }

/* ---- 合作介绍文字区 ---- */
.coop-intro-section { padding: 60px 0; background: #fff; }
.coop-intro-text { max-width: 800px; margin: 0 auto; text-align: center; }
.coop-intro-text p { font-size: 1.05rem; color: #555; line-height: 1.9; margin-bottom: 16px; }

/* ---- 溯源介绍 ---- */
.trace-intro-section { padding: 60px 0; background: #f8f6f1; }
.trace-intro-text { max-width: 800px; margin: 0 auto; text-align: center; }
.trace-intro-text p { font-size: 1.05rem; color: #555; line-height: 1.9; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .portal-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-row { flex-wrap: wrap; gap: 24px; }
    .steps-row::before { display: none; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .portal-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .portal-card { padding: 28px 14px; }
    .rural-hero-title { font-size: 2rem; letter-spacing: 6px; }
    .rural-hero-subtitle { font-size: 0.9rem; letter-spacing: 2px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .trace-flow-row { flex-direction: column; align-items: center; gap: 16px; }
    .trace-flow-row::before { display: none; }
    .trace-arrow { transform: rotate(90deg); }
    .tour-tabs { flex-wrap: wrap; }
    .notice-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .booking-form-wrapper { padding: 32px 20px; }
}
@media (max-width: 480px) {
    .portal-grid { grid-template-columns: 1fr; }
}
