/* ============================================
   🎯 전문가 다운 홈페이지 업그레이드 v3.0.0
   ============================================ */

/* 1️⃣ 전체 글자 크기 확대 */
:root {
    --base-font-size: 18px;
    --heading-font-size: 32px;
    --subheading-font-size: 24px;
}

body {
    font-size: var(--base-font-size) !important;
    line-height: 1.8 !important;
}

h1, .section-title {
    font-size: var(--heading-font-size) !important;
    font-weight: 800 !important;
}

h2 {
    font-size: var(--subheading-font-size) !important;
    font-weight: 700 !important;
}

h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
}

p, li, td {
    font-size: var(--base-font-size) !important;
}

/* 2️⃣ 박스형 카드 디자인 강화 */
.consultation-card,
.research-card,
.disease-card,
.product-card {
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 35px !important;
    transition: all 0.4s ease !important;
    border: 2px solid #f0f0f0 !important;
}

.consultation-card:hover,
.research-card:hover,
.disease-card:hover,
.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    border-color: #2d5016 !important;
}

/* 3️⃣ 농장 주소 부각 (농장 전경과 매칭) */
.farm-address-highlight {
    background: linear-gradient(135deg, #2d5016, #4a7c2c);
    color: white;
    padding: 25px 40px;
    border-radius: 15px;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center;
    margin: 30px auto;
    box-shadow: 0 10px 40px rgba(45, 80, 22, 0.4);
    position: relative;
    overflow: hidden;
}

.farm-address-highlight::before {
    content: '📍';
    font-size: 32px;
    margin-right: 15px;
}

.farm-address-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 4️⃣ 가격표 판매가 강조 */
.price-table-price-cell.price-retail {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #2d5016 !important;
}

.price-table th {
    font-size: 20px !important;
    font-weight: 800 !important;
}

.price-table td {
    font-size: 18px !important;
    padding: 20px 15px !important;
}

/* 5️⃣ 배지 디자인 개선 */
.price-table-badge {
    font-size: 14px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.price-table-badge.best {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.price-table-badge.hot {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.price-table-badge.new {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* 6️⃣ 섹션 여백 및 패딩 증가 */
.section {
    padding: 100px 0 !important;
}

.container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

/* 7️⃣ 버튼 디자인 강화 */
.btn, a[href^="tel:"] {
    font-size: 18px !important;
    padding: 15px 35px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.btn:hover, a[href^="tel:"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 8️⃣ 농장 전경 이미지 테두리 강화 */
img[alt*="농장"] {
    border: 5px solid #2d5016 !important;
    border-radius: 25px !important;
    box-shadow: 0 20px 60px rgba(45, 80, 22, 0.3) !important;
}

/* 9️⃣ 모바일 최적화 */
@media (max-width: 768px) {
    :root {
        --base-font-size: 16px;
        --heading-font-size: 26px;
        --subheading-font-size: 20px;
    }

    .farm-address-highlight {
        font-size: 18px !important;
        padding: 20px 25px;
    }

    .consultation-card,
    .research-card,
    .disease-card,
    .product-card {
        padding: 25px !important;
    }

    .section {
        padding: 60px 0 !important;
    }

    .price-table th,
    .price-table td {
        font-size: 14px !important;
        padding: 12px 8px !important;
    }

    .price-table-price-cell.price-retail {
        font-size: 16px !important;
    }
}

/* 🔟 인쇄 최적화 */
@media print {
    .farm-address-highlight {
        background: #2d5016 !important;
        color: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
