/* 이수미팜베리 커스텀 스타일 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

:root {
    --fb-red: #c0392b;
    --fb-red-light: #e74c3c;
    --fb-green: #27ae60;
    --fb-green-dark: #1e8449;
    --fb-cream: #fdf6ec;
    --fb-warm: #f9f0e3;
    --fb-brown: #5d4037;
    --fb-brown-light: #8d6e63;
    --fb-text: #3e2723;
    --fb-text-light: #6d5147;
    --fb-white: #ffffff;
    --fb-shadow: 0 2px 15px rgba(0,0,0,0.08);
    --fb-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --fb-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.farmberry-page {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--fb-text);
    background: var(--fb-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.fb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.fb-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fb-logo img {
    height: 44px;
    width: auto;
}
.fb-nav { display: flex; gap: 28px; list-style: none; }
.fb-nav a {
    text-decoration: none;
    color: var(--fb-brown);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.fb-nav a:hover { color: var(--fb-red); }
.fb-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fb-red);
    transition: width 0.3s;
}
.fb-nav a:hover::after { width: 100%; }

.fb-mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--fb-brown);
    cursor: pointer;
}

/* Hero Section */
.fb-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fb-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65);
}
.fb-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}
.fb-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}
.fb-hero-content p {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.fb-hero-cta {
    display: inline-block;
    padding: 14px 36px;
    background: var(--fb-red);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(192,57,43,0.4);
}
.fb-hero-cta:hover {
    background: var(--fb-red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192,57,43,0.5);
}

/* Section Common */
.fb-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.fb-section-title {
    text-align: center;
    margin-bottom: 48px;
}
.fb-section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--fb-brown);
    margin-bottom: 12px;
}
.fb-section-title p {
    font-size: 16px;
    color: var(--fb-text-light);
    max-width: 560px;
    margin: 0 auto;
}
.fb-section-alt {
    background: var(--fb-white);
}

/* About Section */
.fb-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.fb-about-img {
    border-radius: var(--fb-radius);
    overflow: hidden;
    box-shadow: var(--fb-shadow-lg);
}
.fb-about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.fb-about-text h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--fb-brown);
}
.fb-about-text p {
    font-size: 15px;
    color: var(--fb-text-light);
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Gallery */
.fb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.fb-gallery-item {
    border-radius: var(--fb-radius);
    overflow: hidden;
    box-shadow: var(--fb-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.fb-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--fb-shadow-lg);
}
.fb-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.fb-gallery-caption {
    padding: 14px 16px;
    background: #fff;
    font-size: 14px;
    color: var(--fb-text-light);
    font-weight: 500;
}

/* Experience Section */
.fb-exp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.fb-exp-card {
    background: #fff;
    border-radius: var(--fb-radius);
    padding: 32px 24px;
    box-shadow: var(--fb-shadow);
    transition: transform 0.3s;
    text-align: center;
}
.fb-exp-card:hover {
    transform: translateY(-4px);
}
.fb-exp-card .fb-exp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--fb-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.fb-exp-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--fb-brown);
}
.fb-exp-card p {
    font-size: 14px;
    color: var(--fb-text-light);
    line-height: 1.7;
}

/* Info Section */
.fb-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.fb-info-box {
    background: #fff;
    border-radius: var(--fb-radius);
    padding: 32px;
    box-shadow: var(--fb-shadow);
}
.fb-info-box h3 {
    font-size: 20px;
    color: var(--fb-brown);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--fb-cream);
}
.fb-info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f0eb;
    font-size: 15px;
}
.fb-info-row:last-child { border-bottom: none; }
.fb-info-label {
    width: 100px;
    font-weight: 600;
    color: var(--fb-brown);
    flex-shrink: 0;
}
.fb-info-value {
    color: var(--fb-text-light);
}

/* FAQ Section */
.fb-faq-list { max-width: 800px; margin: 0 auto; }
.fb-faq-item {
    background: #fff;
    border-radius: var(--fb-radius);
    margin-bottom: 12px;
    box-shadow: var(--fb-shadow);
    overflow: hidden;
}
.fb-faq-q {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--fb-brown);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.fb-faq-q:hover { background: var(--fb-cream); }
.fb-faq-q .fb-faq-arrow {
    transition: transform 0.3s;
    font-size: 12px;
    color: var(--fb-brown-light);
}
.fb-faq-item.active .fb-faq-arrow { transform: rotate(180deg); }
.fb-faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 15px;
    color: var(--fb-text-light);
    line-height: 1.8;
}
.fb-faq-item.active .fb-faq-a {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* Footer */
.fb-footer {
    background: var(--fb-brown);
    color: rgba(255,255,255,0.8);
    padding: 48px 24px 24px;
}
.fb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.fb-footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}
.fb-footer p, .fb-footer a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    text-decoration: none;
}
.fb-footer a:hover { color: #fff; }
.fb-footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Blog preview */
.fb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fb-blog-card {
    background: #fff;
    border-radius: var(--fb-radius);
    overflow: hidden;
    box-shadow: var(--fb-shadow);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.fb-blog-card:hover { transform: translateY(-4px); }
.fb-blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.fb-blog-card-body {
    padding: 20px;
}
.fb-blog-card h3 {
    font-size: 16px;
    color: var(--fb-brown);
    margin-bottom: 8px;
    line-height: 1.5;
}
.fb-blog-card p {
    font-size: 13px;
    color: var(--fb-text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .fb-nav { display: none; }
    .fb-mobile-menu { display: block; }
    .fb-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: var(--fb-shadow);
        gap: 16px;
    }
    .fb-hero-content h1 { font-size: 32px; }
    .fb-hero-content p { font-size: 16px; }
    .fb-about-grid,
    .fb-info-grid { grid-template-columns: 1fr; }
    .fb-gallery-grid,
    .fb-exp-cards,
    .fb-blog-grid { grid-template-columns: 1fr 1fr; }
    .fb-footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .fb-section { padding: 60px 20px; }
    .fb-section-title h2 { font-size: 26px; }
}
@media (max-width: 480px) {
    .fb-gallery-grid,
    .fb-exp-cards,
    .fb-blog-grid { grid-template-columns: 1fr; }
    .fb-hero { min-height: 500px; }
}

/* WordPress post/page custom styles */
.fb-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    font-family: 'Noto Sans KR', sans-serif;
}
.fb-post-content h1 {
    font-size: 32px;
    color: var(--fb-brown);
    margin-bottom: 20px;
    line-height: 1.4;
}
.fb-post-content h2 {
    font-size: 24px;
    color: var(--fb-brown);
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--fb-cream);
}
.fb-post-content h3 {
    font-size: 20px;
    color: var(--fb-brown-light);
    margin: 28px 0 12px;
}
.fb-post-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--fb-text);
    margin-bottom: 16px;
}
.fb-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fb-radius);
    margin: 20px 0;
    box-shadow: var(--fb-shadow);
}
.fb-post-content ul, .fb-post-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.fb-post-content li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
    color: var(--fb-text-light);
}
.fb-post-content blockquote {
    border-left: 4px solid var(--fb-red);
    padding: 16px 20px;
    margin: 20px 0;
    background: var(--fb-warm);
    border-radius: 0 var(--fb-radius) var(--fb-radius) 0;
    font-style: normal;
}
.fb-post-content blockquote p {
    color: var(--fb-brown);
    margin: 0;
}
.fb-post-content .fb-tip-box {
    background: #e8f5e9;
    border-left: 4px solid var(--fb-green);
    padding: 16px 20px;
    border-radius: 0 var(--fb-radius) var(--fb-radius) 0;
    margin: 20px 0;
}
.fb-post-content .fb-info-highlight {
    background: var(--fb-warm);
    padding: 24px;
    border-radius: var(--fb-radius);
    margin: 24px 0;
}
.fb-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.fb-post-content th {
    background: var(--fb-brown);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
}
.fb-post-content td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}
.fb-post-content tr:nth-child(even) {
    background: var(--fb-cream);
}
