/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Apple SD Gothic Neo', sans-serif;
    background-color: #fafbfc;
    color: #333;
    line-height: 1.6;
}

/* 상단 헤더 및 탭 메뉴 */
header {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px 40px 20px;
}
header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
header p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 탭 버튼 스타일 */
.tab-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.tab-btn:hover, .tab-btn.active {
    background: white;
    color: #222;
    font-weight: bold;
}

/* 메인 컨테이너 */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 카드 그리드 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 20px;
}

/* 뱃지 디자인 */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 10px;
}
.badge.healing { background: #e2f0d9; color: #385723; }
.badge.travel { background: #d9e1f2; color: #1f3864; }
.badge.food { background: #fce4d6; color: #c65911; }
.badge.hobby { background: #fff2cc; color: #7f6000; }

.card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #222;
}
.card-content p {
    font-size: 0.9rem;
    color: #666;
}

/* 푸터 */
footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    font-size: 0.85rem;
}