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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 네비게이션 바 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
}

#sphereCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* 주요 작품 섹션 */
.featured-works {
    padding: 5rem 0;
}

.featured-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-card h3 {
    padding: 1rem;
    font-size: 1.25rem;
}

.work-card p {
    padding: 0 1rem;
    color: #666;
}

.work-info {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    color: #666;
    border-top: 1px solid #eee;
}

/* 학과 소개 섹션 */
.about-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* 졸업 준비 위원회 섹션 */
.committee-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.committee-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.member-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e0e7ff;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-card .position {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.member-card .role {
    color: #666;
}

/* 교수님 소개 섹션 */
.professors-section {
    padding: 5rem 0;
}

.professors-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.professors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.professor-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.professor-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e0e7ff;
}

.professor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.professor-card .position {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.professor-card .field {
    color: #666;
}

/* 연락처 섹션 */
.contact-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-image img {
    width: 100%;
    border-radius: 10px;
}

/* 갤러리 섹션 */
.gallery-section {
    padding: 5rem 0;
    margin-top: 4rem;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: #666;
    margin-bottom: 1rem;
}

/* 졸업생 소개 섹션 */
.alumni-section {
    padding: 5rem 0;
    margin-top: 4rem;
    background: #f8fafc;
}

.alumni-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.alumni-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.alumni-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e0e7ff;
}

.alumni-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumni-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.alumni-card .graduation-year {
    color: #2563eb;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.alumni-card .position {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.alumni-card .company {
    color: #666;
    margin-bottom: 1rem;
}

.alumni-card .description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 게시판 섹션 */
.board-section {
    padding: 5rem 0;
    margin-top: 4rem;
}

.board-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.board-content {
    max-width: 800px;
    margin: 0 auto;
}

.comment-form {
    margin-bottom: 3rem;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    resize: vertical;
}

.comment-form button {
    padding: 0.75rem 2rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.comment-form button:hover {
    background: #1d4ed8;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: bold;
    color: #2563eb;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
}

.like-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.like-button:hover {
    color: #dc2626;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .gallery-grid,
    .alumni-grid {
        grid-template-columns: 1fr;
    }

    .comment-header {
        flex-direction: column;
        gap: 0.5rem;
    }
} 