/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-symbol {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.left-circle {
    background: #e31e24;
    z-index: 1;
}

.right-circle {
    background: #e31e24;
    left: 8px;
    z-index: 2;
}

.logo-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        white 2px,
        white 4px
    );
    border-radius: 50%;
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffd700;
}

/* 메인 콘텐츠 */
main {
    margin-top: 80px;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.project-title {
    margin-bottom: 2rem;
}

.main-title {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #f4f8ff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.team-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.team-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-name {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f59e0b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.team-subtitle {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.3rem;
    font-weight: 400;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 섹션 공통 스타일 */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c4372;
    font-weight: 700;
}

/* 달력 섹션 */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-nav {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-nav:hover {
    background: #2a5298;
}

#currentMonth {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3c72;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 1rem;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #1e3c72;
    padding: 1rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day:hover {
    background: #f0f8ff;
    border-color: #1e3c72;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.today {
    background: #1e3c72;
    color: white;
    font-weight: 600;
}

.calendar-day.has-meeting {
    background: #ffd700;
    color: #333;
    font-weight: 600;
}

.calendar-day.has-meeting::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: #e74c3c;
    border-radius: 50%;
}

/* 주민설명회 섹션 */
.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.meeting-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.meeting-card:hover {
    transform: translateY(-5px);
}

.meeting-date {
    text-align: center;
    min-width: 80px;
}

.meeting-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
}

.meeting-date .month {
    color: #666;
    font-size: 0.9rem;
}

.meeting-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.meeting-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.meeting-info i {
    color: #1e3c72;
    margin-right: 0.5rem;
    width: 16px;
}

/* 결과 섹션 */
.results-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: #f0f0f0;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #1e3c72;
    color: white;
}

.tab-btn:hover {
    background: #2a5298;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.result-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.result-item h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.result-details p {
    margin-bottom: 0.8rem;
    color: #666;
}

.result-details strong {
    color: #333;
}

/* 문의 섹션 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-info i {
    color: #1e3c72;
    margin-right: 0.5rem;
    width: 16px;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.btn-submit {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #2a5298;
}

/* 푸터 */
.footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-symbol {
        width: 35px;
        height: 35px;
    }
    
    .logo-circle {
        width: 35px;
        height: 35px;
    }
    
    .right-circle {
        left: 7px;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 1.8rem;
        padding: 0.8rem 1.5rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .team-badge {
        padding: 0.8rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-name {
        font-size: 1.5rem;
    }
    
    .meetings-grid {
        grid-template-columns: 1fr;
    }
    
    .meeting-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-day {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
} 