/* ============================================
   Modern Green Theme - 부추삼겹살 외식 창업
   ============================================ */

:root {
    --mg-primary: #22573c;
    --mg-primary-light: #4CAF50;
    --mg-primary-dark: #1a4430;
    --mg-accent: #D4AF37;
    --mg-text: #2c2c2c;
    --mg-text-light: #666;
    --mg-bg: #f8faf8;
    --mg-white: #ffffff;
    --mg-border: #e0e8e0;
    --mg-shadow: 0 2px 20px rgba(34, 87, 60, 0.1);
    --mg-shadow-hover: 0 8px 30px rgba(34, 87, 60, 0.18);
    --mg-radius: 12px;
    --mg-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

body.modern-green-page {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--mg-text);
    background: var(--mg-bg);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* ── Header ── */
.mg-header {
    background: linear-gradient(135deg, var(--mg-primary) 0%, var(--mg-primary-dark) 100%);
    color: var(--mg-white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mg-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.mg-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mg-logo-area img {
    height: 50px;
    width: auto;
}

.mg-logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--mg-white);
}

.mg-logo-text p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--mg-accent);
}

.mg-contact-btn {
    background: var(--mg-accent);
    color: var(--mg-primary-dark);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--mg-transition);
}

.mg-contact-btn:hover {
    background: var(--mg-white);
    transform: translateY(-2px);
}

/* ── Hero Section ── */
.mg-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mg-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.mg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--mg-white);
    padding: 0 24px;
}

.mg-hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.mg-hero-content p {
    font-size: 1.2rem;
    margin: 0 0 28px;
    opacity: 0.95;
}

.mg-hero-cta {
    display: inline-block;
    background: var(--mg-primary-light);
    color: var(--mg-white);
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--mg-transition);
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

.mg-hero-cta:hover {
    background: var(--mg-accent);
    color: var(--mg-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

/* ── Section Common ── */
.mg-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.mg-section-title {
    text-align: center;
    margin-bottom: 48px;
}

.mg-section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mg-primary);
    margin: 0 0 8px;
}

.mg-section-title p {
    font-size: 1.05rem;
    color: var(--mg-text-light);
    margin: 0;
}

.mg-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--mg-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ── Feature Cards ── */
.mg-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.mg-feature-card {
    background: var(--mg-white);
    border-radius: var(--mg-radius);
    padding: 32px 28px;
    box-shadow: var(--mg-shadow);
    transition: var(--mg-transition);
    border: 1px solid var(--mg-border);
}

.mg-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mg-shadow-hover);
}

.mg-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--mg-primary-light), var(--mg-primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--mg-white);
}

.mg-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mg-primary);
    margin: 0 0 10px;
}

.mg-feature-card p {
    font-size: 0.95rem;
    color: var(--mg-text-light);
    margin: 0;
    line-height: 1.7;
}

/* ── Gallery Grid ── */
.mg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.mg-gallery-item {
    border-radius: var(--mg-radius);
    overflow: hidden;
    box-shadow: var(--mg-shadow);
    transition: var(--mg-transition);
    aspect-ratio: 4/3;
}

.mg-gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--mg-shadow-hover);
}

.mg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Info Section ── */
.mg-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mg-info-text h3 {
    font-size: 1.4rem;
    color: var(--mg-primary);
    margin: 0 0 16px;
    font-weight: 700;
}

.mg-info-text p {
    color: var(--mg-text-light);
    line-height: 1.8;
    margin: 0 0 12px;
}

.mg-info-image {
    border-radius: var(--mg-radius);
    overflow: hidden;
    box-shadow: var(--mg-shadow);
}

.mg-info-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Stats ── */
.mg-stats {
    background: linear-gradient(135deg, var(--mg-primary), var(--mg-primary-dark));
    border-radius: var(--mg-radius);
    padding: 48px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
    color: var(--mg-white);
}

.mg-stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mg-accent);
    margin: 0 0 4px;
}

.mg-stat-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ── FAQ Section ── */
.mg-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.mg-faq-item {
    background: var(--mg-white);
    border-radius: var(--mg-radius);
    margin-bottom: 16px;
    border: 1px solid var(--mg-border);
    overflow: hidden;
    transition: var(--mg-transition);
}

.mg-faq-item:hover {
    box-shadow: var(--mg-shadow);
}

.mg-faq-question {
    padding: 20px 28px;
    font-weight: 700;
    color: var(--mg-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

.mg-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--mg-primary-light);
    transition: var(--mg-transition);
}

.mg-faq-item.active .mg-faq-question::after {
    content: '-';
}

.mg-faq-answer {
    padding: 0 28px 20px;
    color: var(--mg-text-light);
    line-height: 1.8;
    display: none;
}

.mg-faq-item.active .mg-faq-answer {
    display: block;
}

/* ── CTA Banner ── */
.mg-cta-banner {
    background: linear-gradient(135deg, var(--mg-primary-light), var(--mg-primary));
    border-radius: var(--mg-radius);
    padding: 56px 40px;
    text-align: center;
    color: var(--mg-white);
}

.mg-cta-banner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.mg-cta-banner p {
    font-size: 1.1rem;
    margin: 0 0 28px;
    opacity: 0.95;
}

.mg-cta-banner a {
    display: inline-block;
    background: var(--mg-accent);
    color: var(--mg-primary-dark);
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--mg-transition);
}

.mg-cta-banner a:hover {
    background: var(--mg-white);
    transform: translateY(-3px);
}

/* ── Footer ── */
.mg-footer {
    background: var(--mg-primary-dark);
    color: var(--mg-white);
    padding: 48px 24px 32px;
    margin-top: 0;
}

.mg-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mg-footer h3 {
    font-size: 1.1rem;
    margin: 0 0 16px;
    color: var(--mg-accent);
}

.mg-footer p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.7;
}

.mg-footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ── Blog Post Styles (for WP posts) ── */
.mg-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.mg-post-content h1 {
    color: var(--mg-primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.4;
}

.mg-post-content h2 {
    color: var(--mg-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mg-primary-light);
}

.mg-post-content h3 {
    color: var(--mg-primary-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 12px;
}

.mg-post-content p {
    margin: 0 0 16px;
    line-height: 1.9;
    color: var(--mg-text);
}

.mg-post-content ul, .mg-post-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.mg-post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--mg-text);
}

.mg-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--mg-radius);
    box-shadow: var(--mg-shadow);
    margin: 24px 0;
}

.mg-post-content blockquote {
    border-left: 4px solid var(--mg-primary-light);
    background: rgba(76, 175, 80, 0.05);
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 var(--mg-radius) var(--mg-radius) 0;
    font-style: italic;
    color: var(--mg-text-light);
}

.mg-highlight-box {
    background: linear-gradient(135deg, rgba(76,175,80,0.08), rgba(34,87,60,0.05));
    border: 1px solid rgba(76,175,80,0.2);
    border-radius: var(--mg-radius);
    padding: 24px 28px;
    margin: 24px 0;
}

.mg-highlight-box h4 {
    color: var(--mg-primary);
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.mg-tip-box {
    background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03));
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: var(--mg-radius);
    padding: 24px 28px;
    margin: 24px 0;
}

.mg-tip-box h4 {
    color: var(--mg-accent);
    margin: 0 0 12px;
}

.mg-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
}

.mg-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--mg-radius);
    overflow: hidden;
}

.mg-table-wrap th {
    background: var(--mg-primary);
    color: var(--mg-white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.mg-table-wrap td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--mg-border);
}

.mg-table-wrap tr:nth-child(even) {
    background: rgba(76,175,80,0.04);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .mg-hero { height: 400px; }
    .mg-hero-content h2 { font-size: 2rem; }
    .mg-info-grid { grid-template-columns: 1fr; }
    .mg-footer-inner { grid-template-columns: 1fr; }
    .mg-header-inner { flex-direction: column; gap: 12px; text-align: center; }
    .mg-section { padding: 48px 16px; }
    .mg-stats { padding: 32px 20px; }
    .mg-cta-banner { padding: 36px 20px; }
    .mg-features { grid-template-columns: 1fr; }
    .mg-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .mg-hero { height: 320px; }
    .mg-hero-content h2 { font-size: 1.5rem; }
    .mg-hero-content p { font-size: 1rem; }
    .mg-gallery { grid-template-columns: 1fr; }
    .mg-stats { grid-template-columns: 1fr; }
}
