:root {
    --primary-color: #00695c;
    --secondary-color: #0277bd;
    --accent-color: #ffab00;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    padding-top: var(--nav-height);
    /* 고정 메뉴 공간 확보 */
    text-align: center;
    /* 모든 텍스트 중앙 정렬 */

    /* Sticky footer setup */
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
}

/* 중앙 정렬 컨테이너 (SciCADE 스타일) */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 상단 메뉴 고정 (Navbar) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-links>li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
}

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

/* 드롭다운 메뉴 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 220px;
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    text-align: center;
}

/* Welcome Section (Hero) */
/*
.hero {
    position: relative;
    height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
*/
.hero {
    position: relative;
    /* 세로 길이를 조절하는 핵심 부분 */
    height: 500px;
    /* 고정 높이로 설정 (추천: 500px ~ 600px) */
    /* 또는 height: 60vh; (화면 높이의 60% 사용 시) */

    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Section 스타일 */
.section {
    padding: 60px 0;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

/* Committee Grid */
.committee-group {
    margin-bottom: 50px;
}

.committee-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.committee-grid.chairs {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.member-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.member-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.member-info h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.member-info p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Important Dates 리스트 스타일 */
.date-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    /* 리스트 자체를 중앙 정렬 */
    text-align: left;
    /* 텍스트는 가독성을 위해 좌측 정렬 (원할 경우 center로 변경 가능) */
}

.date-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
}

.date-list li strong {
    color: var(--primary-color);
}

.date-list li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

/* Sponsors Section */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

footer {
    flex-shrink: 0;
}

/* Main content wrapper for sticky footer */
.content-wrapper {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 2001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links>li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links>li>a {
        display: block;
        padding: 15px 20px;
    }

    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        display: none;
        margin: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown>a::after {
        content: ' ▼';
        font-size: 0.7em;
    }

    .dropdown.active>a::after {
        content: ' ▲';
    }

    /* Proposal button mobile style */
    .nav-links>li:last-child a {
        margin: 10px 20px;
        display: inline-block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}