/*
Theme Name: Classic Olive
Theme URI: https://blackberry.leesumifarmberry.co.kr
Description: 이수미팜베리카페 클래식 올리브 디자인 테마
Author: ATB
Version: 1.0
Template: twentytwentyfive
Text Domain: classic-olive
*/

/* === Classic Olive Color System === */
:root {
    --olive-dark: #556B2F;
    --olive-med: #6B8E23;
    --olive-light: #BDD19F;
    --olive-pale: #E8F0D8;
    --cream: #FFFDF5;
    --cream-warm: #FBF8F0;
    --dark-text: #333333;
    --light-text: #666666;
    --berry-purple: #5C2D82;
    --berry-light: #E8D5F5;
    --accent-gold: #C4A962;
    --border-color: #D4D4AA;
    --shadow-soft: 0 2px 15px rgba(85, 107, 47, 0.08);
    --shadow-card: 0 4px 20px rgba(85, 107, 47, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* === Global Reset & Base === */
* { box-sizing: border-box; }

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    color: var(--olive-dark);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

a {
    color: var(--olive-med);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--olive-dark); }

/* === Landing Page Sections === */
.lsm-hero {
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive-med) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lsm-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="80" r="2" fill="rgba(255,255,255,0.04)"/></svg>') repeat;
}
.lsm-hero h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.lsm-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}
.lsm-hero .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.lsm-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}
.lsm-section-alt {
    background: var(--olive-pale);
}
.lsm-section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.lsm-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--olive-med);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* === Card Components === */
.lsm-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 30px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.lsm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(85, 107, 47, 0.15);
}

/* === Image Gallery Grid === */
.lsm-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.lsm-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    aspect-ratio: 4/3;
}
.lsm-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-card);
}
.lsm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Info Grid === */
.lsm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.lsm-info-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.lsm-info-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--olive-med);
}
.lsm-info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.lsm-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.lsm-info-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* === FAQ Section === */
.lsm-faq {
    max-width: 800px;
    margin: 0 auto;
}
.lsm-faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.lsm-faq-q {
    padding: 18px 24px;
    font-weight: 600;
    color: var(--olive-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lsm-faq-q::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--olive-med);
    transition: var(--transition);
}
.lsm-faq-item.active .lsm-faq-q::after {
    transform: rotate(45deg);
}
.lsm-faq-a {
    padding: 0 24px 18px;
    color: var(--light-text);
    line-height: 1.7;
    display: none;
}
.lsm-faq-item.active .lsm-faq-a {
    display: block;
}

/* === Contact Section === */
.lsm-contact {
    background: var(--olive-dark);
    color: white;
    padding: 50px 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 40px auto;
    max-width: 1100px;
}
.lsm-contact h2 { color: white; }
.lsm-contact h2::after { background: var(--olive-light); }
.lsm-contact a { color: var(--olive-light); }
.lsm-contact a:hover { color: white; }

/* === Footer === */
.lsm-footer {
    background: var(--dark-text);
    color: #aaa;
    padding: 30px 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* === Blog Post Styles === */
.lsm-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}
.lsm-post-content h2 {
    border-left: 4px solid var(--olive-med);
    padding-left: 16px;
    margin-top: 40px;
}
.lsm-post-content h3 {
    color: var(--olive-med);
    margin-top: 30px;
}
.lsm-post-content p {
    margin-bottom: 1.2rem;
    color: var(--dark-text);
}
.lsm-post-content img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.lsm-post-content blockquote {
    border-left: 4px solid var(--olive-light);
    background: var(--olive-pale);
    padding: 16px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--olive-dark);
}
.lsm-post-content ul, .lsm-post-content ol {
    padding-left: 24px;
    margin-bottom: 1.2rem;
}
.lsm-post-content li {
    margin-bottom: 8px;
}
.lsm-post-content .highlight-box {
    background: linear-gradient(135deg, var(--olive-pale), var(--cream));
    border: 1px solid var(--olive-light);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
}
.lsm-post-content .tip-box {
    background: var(--berry-light);
    border-left: 4px solid var(--berry-purple);
    padding: 16px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    .lsm-hero { padding: 50px 16px; }
    .lsm-hero h1 { font-size: 2rem; }
    .lsm-section { padding: 40px 16px; }
    .lsm-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
    .lsm-info-grid { grid-template-columns: 1fr; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .lsm-hero h1 { font-size: 1.6rem; }
    .lsm-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}
