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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a5fb4;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: #1a5fb4;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #1a5fb4;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #154a8f;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a5fb4;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1a5fb4;
    margin: 20px auto 0;
}

/* Company Section */
.company {
    background: #f8f9fa;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-text h3 {
    font-size: 24px;
    color: #1a5fb4;
    margin-bottom: 20px;
}

.company-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.company-text .signature {
    margin-top: 30px;
    font-size: 18px;
}

.company-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-icon {
    height: 200px;
    overflow: hidden;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.business-card:hover .card-icon img {
    transform: scale(1.1);
}

.business-card h3 {
    font-size: 20px;
    color: #1a5fb4;
    padding: 25px 25px 10px;
}

.business-card p {
    padding: 0 25px 25px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* History Section */
.history {
    background: #f8f9fa;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1a5fb4;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 94px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #1a5fb4;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #1a5fb4;
}

.timeline-date {
    width: 80px;
    font-size: 16px;
    font-weight: 700;
    color: #1a5fb4;
    flex-shrink: 0;
}

.timeline-content {
    margin-left: 50px;
    padding-top: 2px;
}

.timeline-content h4 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    background: #1a5fb4;
    padding: 40px;
    border-radius: 8px;
    color: #fff;
}

.info-item {
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 17px;
    font-weight: 400;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-map iframe {
    display: block;
}

/* Footer */
.footer {
    background: #222;
    color: #aaa;
    padding: 50px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-copyright p {
    font-size: 13px;
    color: #777;
}

/* Quick Menu */
.quick-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 70px;
    background: #1a5fb4;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s;
}

.quick-item:hover {
    background: #154a8f;
}

.quick-item.phone {
    background: #28a745;
}

.quick-item.phone:hover {
    background: #1e7b34;
}

/* Responsive */
@media (max-width: 992px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-content {
        grid-template-columns: 1fr;
    }
    
    .company-image {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        margin-top: 60px;
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-menu {
        display: none;
    }
    
    .timeline::before {
        left: 80px;
    }
    
    .timeline-item::before {
        left: 74px;
    }
    
    .timeline-date {
        width: 60px;
        font-size: 14px;
    }
    
    .timeline-content {
        margin-left: 40px;
    }
}
