/* CSS Reset & Variables */
:root {
    --primary-color: #00a86b;
    --primary-dark: #008a56;
    --primary-light: #4cc9a8;
    --secondary-color: #f36d38;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-nav a:hover {
    opacity: 0.8;
}

.main-nav-container {
    background-color: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    gap: 10px;
}

.logo i {
    font-size: 36px;
}

.search-form .input-group {
    max-width: 500px;
}

.search-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
    font-size: 15px;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-form .btn {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    border-radius: 0 30px 30px 0;
    padding: 12px 25px;
    font-size: 16px;
}

.search-form .btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Category Cards */
.category-section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Job Cards */
.job-section {
    padding: 60px 0;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: var(--text-color);
}

.job-card.featured {
    border-left-color: var(--secondary-color);
    background: linear-gradient(to right, #fff8f3, white);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-card-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.job-card-company {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.job-card-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-card-tags {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-primary {
    background-color: #e8f8f0;
    color: var(--primary-color);
}

.badge-secondary {
    background-color: #fff3e8;
    color: var(--secondary-color);
}

.badge-urgent {
    background-color: #ffebee;
    color: #f44336;
}

/* Job Detail Page */
.job-detail-header {
    background: white;
    padding: 40px 0;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.job-detail-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.job-detail-company {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.job-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.job-detail-sidebar {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.job-detail-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.job-info-item {
    margin-bottom: 15px;
}

.job-info-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.job-info-value {
    font-size: 15px;
    font-weight: 500;
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.main-footer h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-footer h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.main-footer ul {
    list-style: none;
}

.main-footer li {
    margin-bottom: 10px;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.main-footer a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .job-card-header {
        flex-direction: column;
    }
    
    .search-form .input-group {
        max-width: 100%;
    }
    
    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}
