/* src/styles/global.css */

@import './typography.css';
@import './colors.css';
@import './blog-card.css';

/* 기본 색상 및 스타일 */





@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-bg: #FFFFFF;
    --accent-pink: #FFD9E6;
    --accent-pink-tag: #EF5A83;
    --accent-pink-hover: #FFBFD4;
    --accent-green: #5A7D6A;
    --accent-green-hover: #618972;
    --main-text: #222222;
    --secondary-text: #555555;
    --border-color: #E5E7EB;
    --caption-text: #777777;
    --hero-bg-color: #F8F9FA;
    --highlight-red: #E74C3C; /* For "Closing Soon" tags */
    --tag-recruiting-bg: #4CAF50; /* Green for "Recruiting" */

    --theme-bg-light-beige: #FFFFFF;
    --theme-brown-text: #6B5B51;
    --theme-brown-text-hover: #5a4b41; /* Darker brown for hover */
    --theme-brown-bg: #A98F7A;
    --theme-brown-light-bg: #E0D8CD;

    --header-height: 45px; /* 데스크톱 기본 헤더 높이 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --background-light: #FFFFFF;
    --background-gray: #F5F5F5;
    --transition-speed: 0.3s;
}

/* 메인 컨텐츠 영역 배경색 */
.content-wrapper,
.main-content {
    background-color: #FFFFFF;
}

/* 모바일 터치 최적화 */
* {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* 모바일 스크롤 최적화 */
html {
    background: var(--primary-bg);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 화면 크기에 따른 헤더 높이 조정 */
@media screen and (max-width: 1500px) {
    :root {
        --header-height: 45px; /* 태블릿용 헤더 높이 재정의 */
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --header-height: 45px; /* 태블릿(중) 헤더 높이 */
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 45px; /* 모바일 헤더 높이 */
    }
}

/* 모바일 폰트 크기 최적화 */
@media screen and (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    p { font-size: 0.9rem; }
    
    /* 섹션 헤더 모바일 최적화 */
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 1rem auto 0;
    }
    
    /* 섹션 패딩 조정 */
    .section {
        padding: 3rem 0;
        margin: 1rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* 카드 제목 크기 조정 */
    .section-card h3 {
        font-size: 1.125rem;
    }
    
    .section-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* 더 작은 모바일 화면 (480px 이하) 추가 최적화 */
@media screen and (max-width: 480px) {
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.125rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.95rem; }
    p { font-size: 0.85rem; }
    
    /* 섹션 헤더 더 작게 */
    .section-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0.75rem auto 0;
    }
    
    /* 섹션 패딩 더 줄이기 */
    .section {
        padding: 2.5rem 0;
        margin: 0.75rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* 카드 제목 더 작게 */
    .section-card h3 {
        font-size: 1rem;
    }
    
    .section-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* 터치 영역 최적화 */
button, 
a, 
input[type="button"], 
input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
}

/* 터치 피드백 최적화 */
.touch-feedback {
    transition: transform 0.1s ease;
}

.touch-feedback:active {
    transform: scale(0.98);
}

/* 모바일 폼 최적화 */
input, 
textarea, 
select {
    font-size: 16px; /* iOS 줌 방지 */
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
}

/* 모바일 체크박스/라디오 최적화 */
input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

/* 모바일 메뉴 최적화 */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0; /* 오른쪽에서 나타나도록 변경 */
        width: 100%;
        height: 100%;
        background: var(--primary-bg);
        z-index: 1000;
        transform: translateX(100%); /* 오른쪽에서 들어오도록 변경 */
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* 부드러운 애니메이션 */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-logo {
        display: block;
        margin-bottom: 1.5rem;
    }
    
    .mobile-logo-img {
        height: 30px;
        width: auto;
    }

    .mobile-menu-item {
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-close {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--main-text);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* 모바일 메뉴 오버레이 */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 모바일 헤더 최적화 */
    .unified-header-inner {
        padding: 0 1rem;
    }

    .logo-img {
        height: 24px;
    }

    /* 모바일 네비게이션 최적화 */
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* 모바일 푸터 최적화 */
    .footer-content {
        padding: 2rem 1rem;
    }

    .footer-info {
        text-align: center;
    }

    /* 모바일 그리드 최적화 */
    .section-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* 모바일 이미지 최적화 */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* 모바일 성능 최적화 */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }

    .carousel-track {
        -webkit-overflow-scrolling: touch;
    }

    .section-card {
        transform: none !important;
    }
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', 'Spoqa Han Sans Neo', Arial, sans-serif;
    color: var(--main-text);
    background-color: var(--theme-bg-light-beige, #F9F6F0);
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}
body.overflow-hidden { /* Used when mobile menus are open */
    overflow: hidden;
}
body.page-fade {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
body.page-fade-in {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}

.site-header {
    background: var(--primary-bg);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.unified-header-bar {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--primary-bg);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
}

.unified-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6rem;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    margin-right: 0.7rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.header-controls-right {
    flex: 0 0 auto;
    margin-left: 20rem;
    display: flex;
    align-items: center;
    gap: 4.5rem;
}

.utility-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.875rem;
}

.utility-nav a {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 500;
    transition: color 0.2s;
}
.utility-nav a:hover {
    color: var(--accent-pink-tag);
}
.utility-nav .search-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.125rem;
    color: var(--secondary-text);
}
.utility-nav .search-icon-btn:hover {
    color: var(--accent-pink-tag);
}
.utility-nav .separator {
    color: var(--border-color);
}

.nav-toggle {
    display: block; /* Initially shown, hidden via media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1010;
}
.nav-toggle svg { width: 100%; height: 100%; display: block; }
.nav-toggle rect { 
    fill: var(--theme-brown-text); 
}

.nav-toggle.is-hidden {
    display: none !important;
}

.nav-item {
    position: relative;
    padding: 0.5rem 0.25rem;
}

.nav-link {
    color: var(--main-text);
    text-decoration: none;
    font-size: 2.00rem;
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
    color: var(--accent-pink-tag);
    border-bottom-color: transparent;
}
.nav-link.active {
    font-weight: 700;
}

.nav-link .highlight-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-pink-tag);
    border-radius: 50%;
    margin-left: 6px;
    align-self: center;
}

.full-width-dropdown-container {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--primary-bg);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 1.5rem 0;
    z-index: 1005;

    /* 애니메이션 관련 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
                transform 0.25s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0.25s;
}
.full-width-dropdown-container.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition-delay: 0s, 0s, 0s !important;
}

.site-header.mobile-menu-active .full-width-dropdown-container {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: none !important;
}

.full-width-dropdown-content {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dropdown-column {
    flex: 1;
    min-width: 180px;
    max-width: 250px;
}

.dropdown-column h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--theme-brown-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li a {
    color: var(--main-text);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.dropdown-column ul li a:hover {
    color: var(--accent-pink-tag);
}

.hero-section {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    min-height: calc(75vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--hero-bg-color);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    line-height: 1;
}
.slide-arrow:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}
.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}
.indicator-dot.active {
    background-color: white;
    transform: scale(1.2);
}
.indicator-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.mobile-menu-overlay {
    display: none;
    opacity: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
    backdrop-filter: blur(2px);
}
.mobile-menu-overlay.visible {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1002;
    top: 0;
    right: 0;
    width: clamp(280px, 75vw, 320px);
    height: 100vh;
    background: var(--primary-bg);
    box-shadow: -6px 0 20px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    box-sizing: border-box;
    border-radius: 0.75rem 0 0 0.75rem;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}
.mobile-menu-close {
    background: none; border: none; cursor: pointer; padding: 0.5rem;
    font-size: 1.5rem; color: var(--main-text);
}
.mobile-menu-close svg { width: 28px; height: 28px; }
.mobile-menu ul {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-menu ul li a {
    color: var(--main-text);
    font-size: 1.1rem;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background: none;
    transition: background-color 0.15s, color 0.15s;
    display: block; 
}
.mobile-menu ul li a:hover,
.mobile-menu ul li a:focus {
    background: var(--theme-bg-light-beige);
    color: var(--theme-brown-text);
}


.section {
    position: relative;
    padding: 5rem 0;
    margin: 2rem 0;
    background: #FFFFFF;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 섹션 내부 컨테이너 */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 섹션 헤더 스타일 */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-brown-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-pink-tag);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* 섹션 카드 스타일 */
.section-card {
    background: var(--primary-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-pink-tag);
}

/* 섹션 그리드 레이아웃 */
.section-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 섹션 아이콘 스타일 */
.section-icon {
    width: 70px;
    height: 70px;
    background: var(--theme-bg-light-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.section-card:hover .section-icon {
    background: var(--accent-pink-tag);
    transform: scale(1.1);
}

.section-icon i {
    font-size: 2rem;
    color: var(--theme-brown-text);
    transition: color 0.3s ease;
}

.section-card:hover .section-icon i {
    color: white;
}

/* 섹션 카드 내용 */
.section-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-brown-text);
    margin-bottom: 1rem;
}

.section-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* 섹션 버튼 스타일 */
.section-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--theme-brown-text);
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.section-button:hover {
    background: var(--accent-pink-tag);
    transform: translateY(-2px);
}

/* 섹션 배경 변형 */
.section-alt {
    background: var(--theme-bg-light-beige);
}

.section-alt .section-card {
    background: white;
}

/* 섹션 애니메이션 */
.section.fade-in-once {
    opacity: 1;
    transform: translateY(0);
}

/* 섹션 구분선 */
.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 4rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0c8";
    color: var(--accent-pink-tag);
    font-size: 1.5rem;
}

.carousel-wrapper {
    position: relative;
}
.carousel-track {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.post-card { 
    background-color: var(--primary-bg); 
    border-radius: 0.75rem; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    transition: box-shadow 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; 
}
.post-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); 
}
.post-card a { 
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.post-card .img-container { 
    width: 100%;
    height: 180px; 
    overflow: hidden;
}
.post-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-card .content-container { 
    padding: 1rem; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.post-card .content-container h4 { 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--main-text);
    margin-bottom: 0.5rem; 
    line-height: 1.4; 
}
.post-card .content-container p.desc { 
    font-size: 0.8rem; 
    color: var(--secondary-text);
    margin-bottom: 0.75rem; 
    flex-grow: 1;
    overflow: hidden;
}
.post-card .content-container p.date { 
    font-size: 0.75rem; 
    color: var(--caption-text);
    margin-top: auto; 
}
#instagram-post-grid .post-card {
    aspect-ratio: 1 / 1; 
}
#instagram-post-grid .post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.carousel-track > .post-card {
    flex: 0 0 calc(25% - 12px);
    margin-right: 16px;
    scroll-snap-align: start;
    min-width: 280px; /* 최소 너비 설정 */
}
.carousel-track > .post-card:last-child {
    margin-right: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 2.75rem; 
    height: 2.75rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; 
    color: var(--main-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    z-index: 10;
    cursor: pointer;
}
.carousel-arrow:hover {
    background-color: white;
    color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.carousel-arrow.prev {
    left: -1.375rem; 
}
.carousel-arrow.next {
    right: -1.375rem; 
}
.carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, 0.7);
}

.footer {
    background: var(--theme-brown-light-bg);
    color: var(--theme-brown-text);
    padding: 3rem 1rem 1.5rem 1rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}
.footer-content {
    display: flex;
    flex-direction: column; 
    gap: 1.5rem; 
    align-items: flex-start; /* Changed from center to flex-start for left alignment */
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.footer-info {
    text-align: left; /* Default to left for all screen sizes */
    width: 100%; /* Ensure it takes full width to allow left alignment */
}
.footer-info p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
    color: var(--theme-brown-text);
}
.footer-bottom-centered { 
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}
.footer-legal-links {
    margin-bottom: 0.5rem; 
}
.footer-legal-links a {
    color: var(--theme-brown-text);
    text-decoration: none;
    margin: 0 0.75rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-legal-links a:hover {
    color: var(--accent-pink-tag);
    text-decoration: underline;
}
.footer-copyright {
    margin-top: 0.5rem; 
    font-size: 0.8rem;
    color: var(--caption-text);
}

.quick-contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.contact-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.contact-button i {
    font-size: 20px;
}

.contact-button.instagram { color: #E1306C; }
.contact-button.naver-blog { color: #03C75A; }
.contact-button.kakao { color: #FFE812; background: #3C1E1E; }
.contact-button.scroll-top { color: #666; }

.contact-button.placeholder {
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 768px) {
    .quick-contact-widget { bottom: 15px; right: 15px; gap: 8px; }
    .contact-button {
        width: 45px;
        height: 45px;
    }
    .contact-button i {
        font-size: 18px;
    }
}

@media (min-width: 1501px) {
    #education-sidebar {
        top: 50%;
        right: 1.5rem;
        width: 320px;
        max-height: 85vh;
        transform: translateY(-50%) translateX(100%);
    }

    .nav-menu { display: flex !important; }
    .nav-toggle { display: none !important; }

    .footer-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .footer-info {
        text-align: left;
        width: auto;
        flex-grow: 1;
    }
    .footer-bottom-centered {
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 1500px) {
    #education-sidebar {
        top: 0;
        right: 0;
        width: clamp(280px, 85vw, 350px);
        height: 100vh;
        max-height: 100vh;
        transform: translateX(100%);
    }

    #education-sidebar-toggle {
        display: flex;
    }
    .nav-menu { display: none !important; }
    .nav-toggle { display: block !important; }

    .header-controls-right { gap: 0.8rem; }
    .carousel-track > .post-card { flex: 0 0 calc(50% - 8px); }
    .footer-bottom-centered {
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
    }
    .footer-info {
        text-align: left;
    }
}

@media (min-width: 768px) {
     .section {
        padding-top: 3rem; 
        padding-bottom: 3rem; 
        margin-top: 1.5rem; 
        margin-bottom: 1.5rem; 
    }
}

@media (max-width: 768px) { 
    .slide-arrow { padding: 8px 12px; font-size: 22px; }
    .slide-arrow.prev { left: 15px; }
    .slide-arrow.next { right: 15px; }
    .slide-indicators { bottom: 15px; gap: 8px; }
    .indicator-dot { width: 10px; height: 10px; }

    .carousel-track > .post-card { flex: 0 0 100%; margin-right: 0; } 
    .carousel-arrow.prev { left: 0.5rem; }
    .carousel-arrow.next { right: 0.5rem; }
    
    .quick-contact-widget { bottom: 15px; right: 15px; gap: 8px; }
    .contact-button { width: 45px; height: 45px; font-size: 1.3rem; }

    .tab-buttons { justify-content: space-around; gap: 0.5rem; } /* Adjust tab button spacing for smaller screens */
    .tab-button { padding: 0.5rem 0.7rem; font-size: 0.75rem; } /* Adjust tab button padding and font for smaller screens */
}

@media (max-width: 480px) { 
    .header-controls-right { gap: 0.5rem; }
    .utility-nav { gap: 0.5rem; }
    .utility-nav a, .utility-nav .search-icon-btn { font-size: 0.75rem; }
    .nav-toggle { padding: 0.3rem; }
    .slide-indicators { bottom: 10px; }
    .tab-button { padding: 0.5rem 0.5rem; font-size: 0.7rem; } /* Further adjust for very small screens */

}

@media (min-width: 1024px) and (max-width: 1500px) {
    .carousel-track > .post-card {
        flex: 0 0 calc(33.333% - 11px);
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .carousel-track > .post-card {
        flex: 0 0 calc(50% - 8px);
    }
    
    .section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .news-section-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* 헤더 스타일 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  flex-shrink: 0;
}

.logo-image {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem;
  transition: color var(--transition-speed);
}

.nav-link:hover {
  color: var(--theme-brown-text);
}

/* 모바일 메뉴 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 4px 0;
  transition: var(--transition-speed);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.mobile-menu-overlay.active {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--background-light);
  z-index: 1002;
  padding: 2rem;
  transition: right var(--transition-speed);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav-list {
  margin-top: 2rem;
}

.mobile-nav-list li {
  margin-bottom: 1rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-primary);
  font-weight: 500;
}

/* 푸터 스타일 */
.site-footer {
  background-color: var(--theme-brown-light-bg);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
  color: var(--theme-brown-text);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--theme-brown-text);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: color var(--transition-speed);
}

.social-links a:hover {
  color: var(--theme-brown-text);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links ul {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* 히어로 섹션 스타일 */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide-item.active {
  opacity: 1;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  transition: background-color var(--transition-speed);
  z-index: 10;
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slide-arrow.prev {
  left: 20px;
}

.slide-arrow.next {
  right: 20px;
}

.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.indicator-dot.active {
  background: white;
}

/* 캐러셀 스타일 */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease-in-out;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--theme-brown-bg);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color var(--transition-speed);
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--theme-brown-text);
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

.carousel-arrow:disabled {
  background: var(--border-color);
  cursor: not-allowed;
}

/* 탭 스타일 */
.tab-buttons {
  display: flex;
  gap: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--theme-bg-light-beige, #F9F6F0) !important;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid var(--border-color);
}

.tab-buttons::-webkit-scrollbar {
  display: none;
}

.tab-button {
  background: var(--theme-bg-light-beige, #F9F6F0) !important;
  border: 1px solid var(--border-color);
  border-radius: 0.7rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary-text);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
}

.tab-button::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.tab-button:hover {
  background: var(--theme-bg-light-beige, #F9F6F0) !important;
  border-color: var(--accent-pink-tag);
  box-shadow: 0 2px 8px rgba(239,90,131,0.08);
}

.tab-button:hover::after {
  background-color: var(--accent-pink-tag);
}

.tab-button:focus {
  outline: none;
  border-color: var(--accent-pink-tag);
  box-shadow: 0 2px 8px rgba(239,90,131,0.08);
}

.tab-button.active {
  background: var(--theme-bg-light-beige, #F9F6F0) !important;
  border-color: var(--accent-pink-tag);
  color: var(--accent-pink-tag);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(239,90,131,0.1);
}

.tab-button.active::after {
  background-color: var(--accent-pink-tag);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 뉴스 섹션 스타일 */
.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.news-section-header h3 {
  color: var(--theme-brown-text);
  font-size: 1.5rem;
}

.news-section-header a {
  color: var(--accent-pink-tag);
  font-weight: 500;
  transition: color var(--transition-speed);
}

.news-section-header a:hover {
  color: var(--accent-pink-hover);
}

/* 유틸리티 클래스 */
.section {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-screen-xl {
  max-width: 1280px;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transition {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:bg-\[\#6B5B51\]:hover {
  background-color: #6B5B51;
}

/* 서비스 아이콘 컨테이너 */
.service-icon-container {
  width: 60px;
  height: 60px;
  background-color: var(--theme-brown-light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-container i {
  font-size: 1.5rem;
  color: var(--theme-brown-text);
}

/* 그리드 레이아웃 */
.grid {
  display: grid;
}

.gap-8 {
  gap: 2rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 텍스트 스타일 */
.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-neutral-700 {
  color: #374151;
}

.text-neutral-600 {
  color: #4B5563;
}

.leading-relaxed {
  line-height: 1.625;
}

/* 버튼 스타일 */
.bg-\[\#6B5B51\] {
  background-color: #6B5B51;
}

.text-white {
  color: white;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }

  .tab-buttons {
    gap: 1rem;
    padding: 0 0.5rem;
    justify-content: center;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  /* 전체 폰트 크기 축소 */
  html, body {
    font-size: 0.8rem;
  }
  h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  h3 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
  }
  h4, h5, h6 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .section, .section-padding {
    padding: 1rem 0 !important;
  }
  .container {
    padding: 0 0.5rem !important;
  }
  .card, .blog-card, .news-item, .workshop-item {
    padding: 0.8rem !important;
    font-size: 0.9rem;
  }
  .tab-title, .news-title, .blog-title, .workshops-tab .tab-title {
    font-size: 1rem;
    margin-bottom: 0.7rem;
  }
  .news-content, .blog-excerpt, .news-list, .blog-list {
    font-size: 0.85rem;
  }
  .button, .education-card-link, .contact-button {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  .footer-content, .footer-info, .footer-education-card {
    font-size: 0.8rem;
    padding: 1rem 0.5rem;
  }
  .footer-education-card {
    padding: 1rem !important;
  }
  .tab-panel-title {
    font-size: 1rem;
  }
  .tab-panel {
    padding: 1rem 0.5rem;
  }
  .quick-contact-widget {
    bottom: 10px;
    right: 10px;
    gap: 6px;
  }
  .contact-button {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .minimal-cta-link {
    flex-direction: row !important;
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    text-align: left;
  }
  .minimal-cta-arrow {
    margin-left: auto !important;
    flex-shrink: 0;
    display: flex;
    align-items: center !important;
    align-self: center !important;
    height: auto;
  }
  .minimal-cta-text {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1500px) {
    .carousel-track > .post-card {
        flex: 0 0 calc(33.333% - 11px);
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .carousel-track > .post-card {
        flex: 0 0 calc(50% - 8px);
    }
    
    .section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .news-section-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* 사이드바 스타일 */
.sidebar {
    position: fixed;
    right: 0;
    top: 35%;
    transform: translateY(-35%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.sidebar-item {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 30px 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.1);
}

.sidebar-item i {
    font-size: 1.5rem;
    color: var(--theme-brown-text);
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    width: 70px;
    background: var(--theme-brown-bg);
}

.sidebar-item:hover i {
    color: white;
}

.sidebar-item.active {
    width: 70px;
    background: var(--theme-brown-bg);
}

.sidebar-item.active i {
    color: white;
}

/* 사이드바 드롭다운 스타일 */
.sidebar-dropdown {
    position: absolute;
    right: 60px;
    top: 0;
    background: var(--primary-bg);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.sidebar-item:hover .sidebar-dropdown,
.sidebar-item.active .sidebar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sidebar-dropdown h3 {
    color: var(--theme-brown-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-dropdown li {
    margin: 0.5rem 0;
}

.sidebar-dropdown a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.sidebar-dropdown a:hover {
    color: var(--accent-pink-tag);
}

/* 모바일 메뉴가 열려있을 때 사이드바 숨김 */
.mobile-menu-open .sidebar {
    display: none;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}

.care-list-section {
  background: var(--primary-bg);
  border-radius: 1.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}

.care-category-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--theme-brown-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.care-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.care-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 110px;
  position: relative;
}
.care-card:hover {
  box-shadow: 0 6px 24px rgba(239,90,131,0.10);
  transform: translateY(-3px) scale(1.02);
}

.care-card-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 1.25rem;
  border-radius: 0.5rem;
  background: #f9f6f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.care-card-info {
  flex: 1 1 auto;
  min-width: 0;
}

.care-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--theme-brown-text);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.care-card-desc {
  font-size: 0.98rem;
  color: var(--secondary-text);
  font-weight: 500;
}

.care-card-photo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #f5f5f5;
}
@media (max-width: 600px) {
  .care-card-grid {
    grid-template-columns: 1fr;
  }
  .care-list-section {
    padding: 1.2rem 0.5rem;
  }
  .care-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .care-card-logo img,
  .care-card-photo img {
    margin: 0 0 0.5rem 0;
  }
}

/* ===== 케어 가격표(카드형) 디자인 ===== */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 2rem 1rem;
}
.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--theme-brown-text);
  margin-bottom: 0.5rem;
}
.pricing-header p {
  color: var(--secondary-text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.pricing-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.pricing-cards {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pricing-card {
  background: var(--theme-bg-light-beige);
  border-radius: 1.2rem;
  color: var(--theme-brown-text);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2rem 2.5rem 1.5rem 2rem;
  position: relative;
  min-width: 320px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-color: var(--accent-pink-tag);
}
.pricing-card-header {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--theme-brown-text);
}
.pricing-card-header span {
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 0.5rem;
  color: var(--secondary-text);
}
.pricing-card-header .badge {
  background: var(--accent-pink-tag);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.2rem 0.8rem;
  margin-left: 0.7rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
}
.pricing-features li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--main-text);
}
.check {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  border: 2px solid var(--theme-brown-text);
  background: transparent;
  margin-left: 0.5em;
  position: relative;
}
.check.on {
  background: var(--theme-brown-text);
}
.check.on::after {
  content: '';
  display: block;
  width: 0.5em;
  height: 0.25em;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  position: absolute;
  left: 0.3em;
  top: 0.4em;
  transform: rotate(-45deg);
}
.pricing-price {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: right;
  color: var(--accent-pink-tag);
  letter-spacing: -0.02em;
}
.pricing-card.recommend {
  box-shadow: 0 8px 32px rgba(239,90,131,0.15);
  border: 2.5px solid var(--accent-pink-tag);
  background: white;
}
.pricing-side {
  flex: 1;
  min-width: 280px;
  background: var(--theme-bg-light-beige);
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid var(--border-color);
}
.membership-table {
  margin-bottom: 1.5rem;
}
.membership-title {
  font-weight: 700;
  color: var(--theme-brown-text);
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}
.membership-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
}
.membership-table th, .membership-table td {
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.3rem;
  text-align: center;
  font-size: 1rem;
}
.membership-table th {
  background: var(--theme-brown-light-bg);
  color: var(--theme-brown-text);
}
.membership-note {
  font-size: 0.85rem;
  color: var(--secondary-text);
  margin-top: 0.3rem;
}
.faq-title {
  font-weight: 700;
  color: var(--theme-brown-text);
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}
.faq-item {
  margin-bottom: 1.1rem;
}
.faq-item b {
  color: var(--theme-brown-text);
  font-size: 1rem;
}
.faq-item p, .faq-item ul {
  color: var(--secondary-text);
  font-size: 0.97rem;
  margin: 0.2rem 0 0.5rem 0;
}
.faq-item ul {
  padding-left: 1.2em;
}
@media (max-width: 900px) {
  .pricing-content {
    flex-direction: column;
  }
  .pricing-side {
    margin-top: 2rem;
  }
}


main,
#main-content,
.page-content {
  background-color: var(--theme-bg-light-beige, #F9F6F0) !important;
}


.utility-nav,
.header-controls-right {
  gap: 1.2rem;
}

@media (max-width: 900px) {
  .utility-nav,
  .header-controls-right {
    gap: 0.7rem;
  }
}

@media (max-width: 640px) {
  .utility-nav,
  .header-controls-right {
    gap: 0.3rem;
  }
}

@media (max-width: 900px) {
  .minimal-cta-link {
    flex-direction: row !important;
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    text-align: left;
  }
  .minimal-cta-icon {
    margin-right: 1rem !important;
    margin-bottom: 0 !important;
    min-width: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .minimal-cta-arrow {
    margin-left: auto !important;
    flex-shrink: 0;
    display: flex;
    align-items: center !important;
    align-self: center !important;
    height: auto;
  }
  .minimal-cta-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
  }
}

.footer-menu-column ul {
  padding: 1.2rem 1.2rem !important;
  min-width: 180px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

.footer-menu-column ul li a {
  padding: 0.6rem 0.5rem !important;
  display: block;
  text-align: center;
}

/* ===== Section Background System ===== */
/* Main content backgrounds for visual hierarchy */

.section-light {
  background-color: #FFFFFF;
  color: var(--text-primary);
}

.section-soft {
  background-color: #F8F9FA;
  color: var(--text-primary);
}

.section-subtle {
  background-color: #F5F5F5;
  color: var(--text-primary);
}

.section-warm {
  background-color: #FFF8F5;
  color: var(--text-primary);
}

.section-cream {
  background-color: #FFFBF7;
  color: var(--text-primary);
}

/* Pattern overlays for subtle texture */
.bg-pattern-subtle {
  position: relative;
}

.bg-pattern-subtle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(107, 91, 81, 0.02) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.bg-dots {
  position: relative;
}

.bg-dots::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(239, 90, 131, 0.03) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.bg-texture-paper {
  position: relative;
}

.bg-texture-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, transparent 40%, rgba(107, 91, 81, 0.01) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(107, 91, 81, 0.01) 50%, transparent 60%);
  background-size: 15px 15px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content appears above patterns */
.section-light > *,
.section-soft > *,
.section-subtle > *,
.section-warm > *,
.section-cream > * {
  position: relative;
  z-index: 1;
}
