/* 기본 설정 및 퍼스널 컬러(블루) */
:root {
    --primary-color: #0056b3;
    --dark-blue: #003366;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Section Common */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--dark-blue);
}

.content-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 섹션 안의 카드 높이 통일 */
.content-grid > .card {
    display: flex;
}

.card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

.card h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 40px 0;
    font-size: 14px;
}

.footer-info {
    text-align: center;
    margin-bottom: 20px;
    line-height: 2;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Scroll Top Button */
#scrollTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 20px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero-text h2 {
        font-size: 30px;
    }
}