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

:root {
    --primary-color: #0d2a54;
    --accent-color: #1e88e5;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --white: #ffffff;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
}

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

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

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;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(13, 42, 84, 0.8), rgba(13, 42, 84, 0.8)), url('https://images.unsplash.com/photo-1454165833767-027ffea9e78b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn.primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

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

.service-card {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border-bottom: 5px solid transparent;
    text-decoration: none; /* 추가: 링크 밑줄 제거 */
    color: inherit; /* 추가: 텍스트 색상 유지 */
    display: block; /* 추가: 클릭 영역 확장 */
}

/* 블로그 페이지 스타일 */
.blog-content {
    padding-top: 120px;
    padding-bottom: 80px;
}

.blog-header {
    margin-bottom: 40px;
    text-align: center;
}

.blog-meta {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
}

.blog-body {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.blog-body h4 {
    margin: 25px 0 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.blog-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--white);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 5px solid var(--accent-color);
}

.service-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

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

.flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.check-list {
    list-style: none;
    margin-top: 25px;
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

.check-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

.about-img {
    flex: 1;
}

.img-box {
    background-color: var(--primary-color);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 24px;
    border-radius: 10px;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.map-placeholder {
    flex: 1.5;
    background-color: #eee;
    height: 350px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .flex, .contact-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        display: none;
    }
}

/* Blog Section */
.blog-section {
    background-color: var(--white);
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: var(--white);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-card-img {
    height: 200px;
    background-color: #e3f2fd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e3f2fd;
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.blog-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.read-more:hover {
    text-decoration: underline;
}

