/**
 * 庄河海岛渔家乐页面样式
 * CSS类名前缀: quhj-
 * 
 * @package Happy花椒
 */

/* ==================== 基础变量和重置 ==================== */
:root {
    --quhj-primary: #1e88e5;
    --quhj-primary-dark: #1565c0;
    --quhj-secondary: #26a69a;
    --quhj-accent: #ff7043;
    --quhj-ocean: #0277bd;
    --quhj-ocean-light: #4fc3f7;
    --quhj-sand: #f5deb3;
    --quhj-text: #333;
    --quhj-text-light: #666;
    --quhj-white: #fff;
    --quhj-bg: #f5f9fc;
    --quhj-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --quhj-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --quhj-radius: 12px;
    --quhj-radius-sm: 8px;
    --quhj-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quhj-yjl-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--quhj-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.quhj-yjl-page * {
    box-sizing: border-box;
}

.quhj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 页面头部 Hero - 修复1：增加顶部间距避开导航 ==================== */
.quhj-hero {
    background: linear-gradient(135deg, var(--quhj-ocean) 0%, var(--quhj-ocean-light) 100%);
    color: var(--quhj-white);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.quhj-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f5f9fc' d='M0,32L48,37.3C96,43,192,53,288,58.7C384,64,480,64,576,58.7C672,53,768,43,864,42.7C960,43,1056,53,1152,58.7C1248,64,1344,64,1392,64L1440,64L1440,80L1392,80C1344,80,1248,80,1152,80C1056,80,960,80,864,80C768,80,672,80,576,80C480,80,384,80,288,80C192,80,96,80,48,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.quhj-hero-content {
    position: relative;
    z-index: 2;
}

.quhj-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.quhj-hero p {
    font-size: 20px;
    opacity: 0.95;
    margin: 0;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ==================== 通用区块样式 ==================== */
.quhj-section {
    padding: 60px 0;
}

.quhj-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--quhj-text);
    margin: 0 0 15px;
    position: relative;
}

.quhj-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--quhj-primary), var(--quhj-secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

.quhj-section-subtitle {
    text-align: center;
    color: var(--quhj-text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

/* ==================== 双岛入口卡片 - 修复2：文字确保白色，增加阴影 ==================== */
.quhj-islands {
    background: var(--quhj-bg);
}

.quhj-islands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.quhj-island-card {
    position: relative;
    border-radius: var(--quhj-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--quhj-transition);
    box-shadow: var(--quhj-shadow);
    text-decoration: none;
    display: block;
}

.quhj-island-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--quhj-shadow-hover);
}

.quhj-island-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--quhj-ocean);
    transition: var(--quhj-transition);
}

.quhj-island-card:hover .quhj-island-card-bg {
    transform: scale(1.08);
}

.quhj-island-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #ffffff !important;
}

.quhj-island-card-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.quhj-island-card-overlay p {
    font-size: 16px;
    margin: 0;
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.quhj-island-card-overlay .quhj-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--quhj-transition);
    color: #ffffff;
    font-size: 20px;
}

.quhj-island-card:hover .quhj-arrow {
    background: var(--quhj-white);
    color: var(--quhj-primary);
    transform: translateX(5px);
}

/* ==================== 推荐渔家乐样式 - 修复3：轮播图和卡片等高 ==================== */
.quhj-recommend-item {
    margin-bottom: 50px;
}

.quhj-recommend-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--quhj-white);
    border-radius: var(--quhj-radius);
    overflow: hidden;
    box-shadow: var(--quhj-shadow);
    transition: var(--quhj-transition);
    min-height: 420px;
}

.quhj-recommend-card:hover {
    box-shadow: var(--quhj-shadow-hover);
}

.quhj-recommend-card.reverse {
    direction: rtl;
}

.quhj-recommend-card.reverse > * {
    direction: ltr;
}

/* 轮播图区域 - 修复3：高度100%和卡片等高 */
.quhj-recommend-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    background: #f0f0f0;
}

.quhj-slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.quhj-slider-slide {
    min-width: 100%;
    height: 100%;
}

.quhj-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quhj-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--quhj-text);
    transition: var(--quhj-transition);
    z-index: 10;
    font-weight: bold;
}

.quhj-slider-nav:hover {
    background: var(--quhj-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.quhj-slider-nav.prev {
    left: 15px;
}

.quhj-slider-nav.next {
    right: 15px;
}

.quhj-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.quhj-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--quhj-transition);
    border: none;
    padding: 0;
}

.quhj-slider-dot.active {
    background: var(--quhj-white);
    width: 25px;
    border-radius: 5px;
}

/* 信息区域 */
.quhj-recommend-info {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quhj-recommend-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--quhj-accent), #ff5722);
    color: var(--quhj-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.quhj-recommend-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--quhj-text);
}

.quhj-recommend-desc {
    color: var(--quhj-text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.quhj-recommend-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.quhj-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.quhj-meta-item .quhj-icon {
    width: 36px;
    height: 36px;
    background: var(--quhj-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.quhj-meta-item .quhj-price {
    color: var(--quhj-accent);
    font-weight: 700;
    font-size: 18px;
}

.quhj-recommend-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--quhj-secondary), #00897b);
    color: var(--quhj-white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--quhj-transition);
    width: fit-content;
}

.quhj-recommend-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(38, 166, 154, 0.4);
    color: var(--quhj-white);
}

/* 图片画廊区域 - 修复4：放大镜问题，图片可点击 */
.quhj-gallery-section {
    margin-top: 30px;
}

.quhj-gallery-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quhj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.quhj-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--quhj-radius-sm);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quhj-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--quhj-transition);
    position: relative;
    z-index: 1;
}

.quhj-gallery-item:hover img {
    transform: scale(1.08);
}

.quhj-gallery-item .quhj-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--quhj-transition);
    opacity: 0;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    pointer-events: none;
}

.quhj-gallery-item:hover .quhj-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ==================== 2026优质放心渔家乐 - 修复5：电话号码显示 ==================== */
.quhj-trusted {
    background: var(--quhj-bg);
}

.quhj-trusted-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.quhj-trusted-card {
    display: flex;
    background: var(--quhj-white);
    border-radius: var(--quhj-radius);
    overflow: hidden;
    box-shadow: var(--quhj-shadow);
    transition: var(--quhj-transition);
}

.quhj-trusted-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--quhj-shadow-hover);
}

.quhj-trusted-image {
    width: 200px;
    flex-shrink: 0;
    position: relative;
}

.quhj-trusted-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quhj-trusted-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--quhj-accent);
    color: var(--quhj-white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.quhj-trusted-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quhj-trusted-island {
    font-size: 12px;
    color: var(--quhj-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.quhj-trusted-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--quhj-text);
}

.quhj-trusted-details {
    display: grid;
    gap: 8px;
    font-size: 14px;
    color: var(--quhj-text);
}

.quhj-trusted-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quhj-trusted-details .quhj-price {
    color: var(--quhj-accent);
    font-weight: 700;
    font-size: 16px;
}

.quhj-trusted-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--quhj-secondary) !important;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    font-size: 15px !important;
    transition: var(--quhj-transition);
}

.quhj-trusted-phone:hover {
    color: var(--quhj-primary) !important;
}

/* ==================== 攻略三栏 ==================== */
.quhj-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quhj-guide-card {
    background: var(--quhj-white);
    padding: 35px 30px;
    border-radius: var(--quhj-radius);
    text-align: center;
    box-shadow: var(--quhj-shadow);
    transition: var(--quhj-transition);
    border-top: 4px solid transparent;
}

.quhj-guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--quhj-shadow-hover);
    border-top-color: var(--quhj-primary);
}

.quhj-guide-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.quhj-guide-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--quhj-text);
}

.quhj-guide-card p {
    color: var(--quhj-text-light);
    line-height: 1.8;
    margin: 0;
}

/* ==================== FAQ 折叠面板 ==================== */
.quhj-faq {
    background: var(--quhj-bg);
}

.quhj-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.quhj-faq-item {
    background: var(--quhj-white);
    border-radius: var(--quhj-radius-sm);
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--quhj-transition);
}

.quhj-faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quhj-faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--quhj-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: var(--quhj-transition);
}

.quhj-faq-question:hover {
    color: var(--quhj-primary);
}

.quhj-faq-icon {
    width: 28px;
    height: 28px;
    background: var(--quhj-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--quhj-transition);
    flex-shrink: 0;
}

.quhj-faq-item.active .quhj-faq-icon {
    background: var(--quhj-primary);
    color: var(--quhj-white);
    transform: rotate(180deg);
}

.quhj-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.quhj-faq-item.active .quhj-faq-answer {
    max-height: 500px;
}

.quhj-faq-answer-content {
    padding: 0 25px 20px;
    color: var(--quhj-text-light);
    line-height: 1.8;
}

/* ==================== 底部CTA ==================== */
.quhj-cta {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-color: var(--quhj-ocean);
    color: var(--quhj-white);
    text-align: center;
}

.quhj-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.95) 0%, rgba(2, 119, 189, 0.95) 100%);
}

.quhj-cta-content {
    position: relative;
    z-index: 2;
}

.quhj-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px;
}

.quhj-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 40px;
}

.quhj-qrcode-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.quhj-qrcode-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--quhj-radius);
    transition: var(--quhj-transition);
}

.quhj-qrcode-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.quhj-qrcode-item img {
    width: 140px;
    height: 140px;
    border-radius: var(--quhj-radius-sm);
    background: var(--quhj-white);
    padding: 10px;
    display: block;
}

.quhj-qrcode-item p {
    margin: 15px 0 0;
    font-size: 14px;
    font-weight: 600;
}

/* ==================== 图片查看器 Lightbox ==================== */
.quhj-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.quhj-lightbox.active {
    display: flex;
}

.quhj-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--quhj-radius-sm);
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.quhj-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--quhj-white);
    font-size: 28px;
    cursor: pointer;
    transition: var(--quhj-transition);
    z-index: 10000;
    line-height: 1;
}

.quhj-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 992px) {
    .quhj-recommend-card {
        grid-template-columns: 1fr;
    }
    
    .quhj-recommend-card.reverse {
        direction: ltr;
    }
    
    .quhj-recommend-slider {
        min-height: 300px;
        height: 300px;
    }
    
    .quhj-recommend-card {
        min-height: auto;
    }
    
    .quhj-trusted-grid {
        grid-template-columns: 1fr;
    }
    
    .quhj-guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .quhj-hero {
        padding: 120px 0 60px;
    }
    
    .quhj-hero h1 {
        font-size: 32px;
    }
    
    .quhj-hero p {
        font-size: 16px;
    }
    
    .quhj-section {
        padding: 40px 0;
    }
    
    .quhj-section-title {
        font-size: 24px;
    }
    
    .quhj-islands-grid {
        grid-template-columns: 1fr;
    }
    
    .quhj-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quhj-trusted-card {
        flex-direction: column;
    }
    
    .quhj-trusted-image {
        width: 100%;
        height: 180px;
    }
    
    .quhj-cta h2 {
        font-size: 28px;
    }
    
    .quhj-qrcode-grid {
        gap: 20px;
    }
    
    .quhj-qrcode-item img {
        width: 110px;
        height: 110px;
    }
    
    .quhj-recommend-info {
        padding: 25px;
    }
    
    .quhj-recommend-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .quhj-container {
        padding: 0 15px;
    }
    
    .quhj-hero {
        padding: 100px 0 50px;
    }
    
    .quhj-hero h1 {
        font-size: 26px;
    }
    
    .quhj-gallery-grid {
        gap: 10px;
    }
    
    .quhj-qrcode-grid {
        flex-direction: column;
        align-items: center;
    }
}
