/* Main Styles */

/* Variables */
:root {
    --primary-color: #1e5799;
    --secondary-color: #3498db;
    --accent-color: #2980b9;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Global Styles */
body {
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

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

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

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* 헤더 로고 */
.logo img {
    width: 300px;
    height: 50px;
    object-fit: contain; /* 비율을 유지하면서 크기에 맞춤 */
}

.nav-pc ul {
    display: flex;
}

.nav-pc li {
    margin-left: 1.5rem;
}

.nav-pc a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-pc a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-pc a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: var(--transition);
}

.nav-sp {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    z-index: 999;
}

.nav-sp ul {
    display: flex;
    flex-direction: column;
}

.nav-sp li {
    margin: 0.5rem 0;
    text-align: center;
}

.nav-sp a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
}

.about-cards {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-image: url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.service-card p {
    color: #666;
}

/* Company Section */
.company {
    padding: 5rem 0;
    background-color: white;
}

.company-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.company-details, .company-history {
    flex: 1;
    min-width: 300px;
}

.company-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.company-table {
    border: 1px solid var(--border-color);
}

.company-table th, .company-table td {
    border: 1px solid var(--border-color);
    padding: 0.8rem;
}

.company-table th {
    background-color: var(--light-color);
    width: 30%;
    font-weight: 500;
}

.history-list li {
    display: flex;
    margin-bottom: 1rem;
}

.year {
    flex: 0 0 80px;
    font-weight: 500;
}

.license {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
}

.license h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Recruitment Section */
.recruitment {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.recruitment-content {
    max-width: 800px;
    margin: 0 auto;
}

.recruitment-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.recruitment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.recruitment-list {
    margin-bottom: 2rem;
}

.recruitment-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.recruitment-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.recruitment-action {
    text-align: center;
    margin-top: 2rem;
}

/* News Section */
.news {
    padding: 5rem 0;
    background-color: white;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-item:hover {
    background-color: var(--light-color);
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background-color: #e9ecef;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 1rem;
}

.news-category.important {
    background-color: #dc3545;
    color: white;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    flex: 0 0 40px;
    color: var(--primary-color);
}

.info-label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
#footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-pc {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .about-content, .company-content, .contact-content {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr 1fr;
    }
}