/* 기본 설정 */
:root {
    --primary-color: #FF6600; /* 주황색 */
    --text-dark: #333;
    --text-white: #fff;
    --bg-light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-orange { background-color: var(--primary-color); }
.text-white { color: var(--text-white); }
.center { text-align: center; }

/* Header */
header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul { display: flex; }
nav ul li { margin-left: 30px; }
nav ul li a:hover { color: var(--primary-color); }

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active { opacity: 1; }

.overlay {
    background: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content { text-align: center; color: #fff; }
.hero-content h2 { font-size: 48px; margin-bottom: 20px; }
.hero-content h2 span { color: var(--primary-color); }

/* Section Grid */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto;
}

.content-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: #fff;
    /* 높이를 동일하게 맞추기 위한 설정 */
    display: flex;
    flex-direction: column;
}

.card {
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-10px); }

.img-box {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    background: #eee;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Button */
.btn-white {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 20px;
    border-radius: 5px;
}

/* Scroll Top */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 20px;
}

/* Footer */
footer {
    padding: 40px 0;
    background: #333;
    color: #ccc;
    font-size: 14px;
}

.footer-info {
    text-align: left;
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}