/* 기본 리셋 및 공통 스타일 */
:root {
    /* Apple 스타일 색상 팔레트 */
    --primary-color: #EE8C29;
    --primary-hover: #EE8C29;
    --secondary-color: #86868b;
    --background-color: #f5f5f7;
    --card-background: #ffffff;
    --text-color: #1d1d1f;
    --text-secondary: #86868b;
    --border-color: #d2d2d7;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --highlight-color: #f2f2f2;
    
    /* 타이포그래피 */
    --base-font-size: 16px;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    
    /* 레이아웃 */
    --container-max-width: 1200px;
    --container-padding: 20px;
    --section-spacing: 80px;
    --card-border-radius: 16px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: var(--h2-size);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 16px auto 0;
    border-radius: 3px;
}

.card {
    background-color: var(--card-background);
    border-radius: var(--card-border-radius);
    box-shadow: 0 8px 30px var(--shadow-color);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: var(--highlight-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.btn i {
    margin-right: 8px;
}

/* 헤더 스타일 */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border-color);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;      /* 세로 중앙 정렬 */
    gap: 8px;                 /* 이미지와 텍스트 사이 간격 */
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    margin: 0;                /* h1 기본 마진 제거 */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--text-color);
}

.mobile-menu a:hover {
    background-color: var(--highlight-color);
}

/* 히어로 섹션 */
.hero {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f5f5f7, #ffffff);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.main-screenshot {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.main-screenshot:hover {
    transform: translateY(-10px) scale(1.02);
}

/* 개요 섹션 */
.overview-card {
    padding: 40px;
}

.overview-card p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 주요 기능 섹션 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
}

/* 갤러리 섹션 */
.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    background-color: var(--highlight-color);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.tab-btn:hover {
    background-color: var(--border-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 가로 중앙 정렬 */
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.gallery-item {
    flex: 0 0 220px; /* 너비 220px로 고정, 늘어나거나 줄어들지 않음 */
    width: 220px;
    max-width: 220px;
    overflow: hidden;
    border-radius: var(--card-border-radius);
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: transform var(--transition-speed);
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* 갤러리 모달 스타일 */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-content {
    display: block;
    margin: 50px auto;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-caption {
    margin: 20px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    padding: 10px 0;
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 팀 구성 섹션 */
.team-card {
    padding: 40px;
    overflow-x: auto;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
}

.team-table th,
.team-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.team-table th {
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.team-table tbody tr:hover {
    background-color: var(--highlight-color);
}

/* 팀 기여 섹션 */
.team-contribution {
    margin-top: 40px;
}

.contribution-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: var(--text-color);
}

.contribution-card {
    padding: 30px;
}

.contribution-item {
    margin-bottom: 25px;
}

.contribution-item:last-child {
    margin-bottom: 0;
}

.contribution-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contribution-item p {
    padding-left: 26px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* 개발 스택 섹션 - 배지 스타일 */
.tech-badges {
    margin-bottom: 40px;
}

.tech-badges h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.tech-badges h3:first-child {
    margin-top: 0;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background-color: var(--card-background);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.badge-group img {
    height: 28px;
    transition: transform 0.2s ease;
}

.badge-group img:hover {
    transform: translateY(-3px);
}

.tech-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-detail-card {
    padding: 25px;
    height: 100%;
}

.tech-detail-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.tech-detail-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 회고 및 한계 섹션 */
.reflection-card {
    padding: 40px;
}

.reflection-item {
    margin-bottom: 30px;
}

.reflection-item:last-child {
    margin-bottom: 0;
}

.reflection-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.reflection-item h3 i {
    color: var(--primary-color);
}

.reflection-item p {
    color: var(--text-secondary);
    padding-left: 28px;
}

/* 푸터 스타일 */
.site-footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.site-footer p {
    margin-bottom: 20px;
}

.site-footer i.fa-heart {
    color: #ff3b30;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* 페르소나 섹션 스타일 */
.personas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.persona-card {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-color);
}

.persona-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
}

.persona-avatar {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
}

.persona-intro h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.persona-role {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.persona-content {
    padding: 25px;
    flex-grow: 1;
}

.persona-quote {
    background-color: var(--highlight-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    position: relative;
}

.persona-quote i {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    position: absolute;
    top: 15px;
    left: 15px;
}

.persona-quote p {
    margin: 0;
    padding-left: 25px;
    font-style: italic;
    color: var(--text-color);
}

.persona-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.persona-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.persona-section ul {
    list-style: none;
    padding-left: 25px;
    margin: 0;
}

.persona-section li {
    position: relative;
    padding-left: 5px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.persona-section li::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.persona-conclusion {
    background-color: var(--highlight-color);
    border-radius: var(--card-border-radius);
    padding: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.persona-conclusion h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.persona-conclusion p {
    line-height: 1.7;
    margin: 0;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.gallery-image {
    opacity: 0;
    transition: opacity 0.5s ease, transform var(--transition-speed);
}

.gallery-image.loaded {
    opacity: 1;
}

.site-header {
    transition: background-color 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    :root {
        --h1-size: 2.2rem;
        --h2-size: 1.8rem;
        --h3-size: 1.3rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-grid,
    .gallery-container,
    .tech-details {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .badge-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .overview-card,
    .team-card,
    .reflection-card,
    .tech-detail-card,
    .contribution-card {
        padding: 25px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        transform: scale(0.9);
    }
    
    .badge-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tech-badges h3 {
        text-align: center;
    }
    
    /* 모바일에서 테이블 스크롤 가능하게 */
    .team-table {
        min-width: 650px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .features-grid,
    .tech-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 갤러리 컨테이너 가로 스크롤 */
    .gallery-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding: 10px 5px 20px;
        margin: 0 -5px 30px;
        scroll-padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .gallery-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .gallery-item {
        flex: 0 0 auto;
        width: 220px;
        margin-bottom: 5px;
    }
    
    .gallery-image {
        aspect-ratio: 9/16;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .badge-group {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .badge-group img {
        height: 24px;
    }
    
    .tech-badges h3 {
        text-align: left;
        font-size: 1.1rem;
    }
}

.logo {
  display: flex;
  align-items: center;      /* 세로 중앙 정렬 */
  gap: 8px;                 /* 이미지와 텍스트 사이 간격 */
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  margin: 0;                /* h1 기본 마진 제거 */
}

/* 팀 구성 섹션 스타일 */
.team.section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* 팀 카드 그리드 스타일 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 팀 카드 스타일 */
.team-card {
    position: relative;
    background-color: var(--card-background);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 카드 배너 */
.card-banner {
    background: linear-gradient(135deg, var(--primary-color), #FFA047);
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

/* 카드 본문 */
.card-body {
    padding: 25px;
    text-align: center;
}

.card-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.team-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.team-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.team-contact a:hover {
    color: var(--primary-color);
}

.team-contact a i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 오버레이 효과 */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(238, 140, 41, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.team-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.overlay-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* 미디어 쿼리 - 반응형 스타일 */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .card-banner {
        height: 130px;
    }
    
    .team-avatar {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .card-body h3 {
        font-size: 1.3rem;
    }
    
    .team-role {
        font-size: 0.9rem;
    }
    
    .overlay-content h3 {
        font-size: 1.6rem;
    }
    
    .overlay-content p {
        font-size: 1rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .card-banner {
        height: 110px;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .card-body {
        padding: 15px 10px;
    }
    
    .card-body h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .team-role {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .team-contact {
        gap: 8px;
    }
    
    .team-contact a {
        font-size: 0.8rem;
    }
    
    .team-contact a i {
        font-size: 1rem;
    }
    
    .overlay-content h3 {
        font-size: 1.4rem;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

/* 터치 디바이스를 위한 추가 스타일 */
@media (hover: none) {
    .card-overlay {
        opacity: 0;
        visibility: hidden;
    }
    
    .team-card.touched .card-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    .team-card.touched .overlay-content {
        transform: translateY(0);
    }
}

/* 히어로 슬라이더 스타일 */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-slides {
    display: flex;
    transition: transform 0.8s ease;
}

.hero-slide {
    flex: 0 0 100%;
    opacity: 0;
    transition: opacity 1s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.main-screenshot {
    width: 100%;
    display: block;
    border-radius: 24px;
    transition: transform var(--transition-speed);
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 호버 효과 */
.hero-slider:hover .main-screenshot {
    transform: scale(1.02);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}