/* Solution Page Styles */
/* 다크 모드 비활성화 - 항상 라이트 모드로 고정 */
.solution-hero,
.tab-content,
.module-container {
    color-scheme: light only;
}

.solution-hero {
    padding: 70px 0 60px !important;  /* solution3 기준으로 축소 - 2025년 9월 10일 오후 3:10 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* Charter Hero Section - 전세버스 페이지 전용 */
.charter-hero {
    padding: 70px 0 60px !important;  /* solution3 기준으로 축소 - 2025년 9월 10일 오후 3:10 */
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    position: relative;
    overflow: hidden;
}

.charter-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.charter-hero .hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solution-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.solution-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Tab Navigation */
.solution-tabs {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 50px;  /* 헤더 크기 축소에 맞춰 조정 - 2025년 9월 9일 오후 10:30 */
    z-index: 100;
    width: 100%;
    margin: 0;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-button {
    flex: 1;
    min-width: 120px;
    padding: 15px 12px;  /* 헤더 크기 축소에 맞춰 조정 - 2025년 9월 9일 오후 10:31 */
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    background: var(--gray-50);
    color: #10b981;
}

.tab-button.active {
    color: #10b981;
    border-bottom-color: #10b981;
    background: var(--bg-secondary);
}

.tab-icon {
    font-size: 1.5rem;
}

.tab-label {
    font-size: 0.95rem;
}

/* Tab Content */
.tab-content {
    padding: 25px 0 30px;
    min-height: calc(100vh - 180px); /* 모니터 한 화면 크기로 조정 - 푸터 숨김 */
    background: var(--bg-secondary);
    width: 100%;
    margin: 0;
}

.tab-pane {
    animation: fadeIn 0.5s ease;
}

.module-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.module-header {
    text-align: center;
    margin-bottom: 30px;
}

.module-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.module-description {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h4 {
    color: var(--gray-900);
    margin: 20px 0 15px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-card ul li {
    padding: 8px 0;
    color: var(--gray-600);
}

/* Dispatch Grid */
.dispatch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.dispatch-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.dispatch-box h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.dispatch-box ul {
    list-style: none;
    padding: 0;
}

.dispatch-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

/* Salary Features */
.salary-features {
    background: white;
    padding: 40px;
    border-radius: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Income Grid */
.income-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.income-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.income-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Material Grid */
.material-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.material-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.material-card h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.material-card ul {
    list-style: none;
    padding: 0;
}

.material-card ul li {
    padding: 8px 0;
    color: var(--gray-600);
}

/* Accounting Features */
.accounting-features {
    background: white;
    padding: 40px;
    border-radius: 16px;
}

.accounting-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.accounting-features ul li {
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Safety Grid */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.safety-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.safety-card h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Maintenance Workflow */
.maintenance-workflow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.workflow-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Animations for Charter Hero */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

/* Charter Highlights Section */
.charter-highlights {
    padding: 60px 0;
    background: #f9fafb;
}

.charter-highlights .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.charter-highlights .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.highlight-card i {
    color: #f59e0b;
}

.highlight-card h4 {
    color: #111827;
    margin: 20px 0 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.highlight-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tabs-nav {
        overflow-x: scroll;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Charter Hero Responsive */
    .charter-hero {
        padding: 80px 0 60px !important;
    }
    
    .charter-highlights .row {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 30px 20px;
    }
    
    .solution-hero-title {
        font-size: 2rem;
    }
    
    .tab-button {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .tab-icon {
        font-size: 1.25rem;
    }
    
    .tab-label {
        font-size: 0.875rem;
    }
    
    .feature-grid,
    .dispatch-grid,
    .income-grid,
    .material-grid,
    .safety-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .maintenance-workflow {
        grid-template-columns: 1fr;
    }
    
    /* 모바일 환경에서 모든 카드 배경색 명시적 지정 */
    .feature-card,
    .dispatch-box,
    .salary-features,
    .income-card,
    .material-card,
    .accounting-features,
    .safety-card,
    .workflow-item,
    .highlight-card {
        background-color: #ffffff !important;
        color: var(--gray-900) !important;
    }
    
    .feature-card h4,
    .dispatch-box h4,
    .income-card h4,
    .material-card h4,
    .safety-card h4,
    .highlight-card h4 {
        color: var(--gray-900) !important;
    }
    
    .feature-card ul li,
    .dispatch-box ul li,
    .material-card ul li {
        color: #111827 !important;  /* gray-900 - 검은색으로 변경 */
    }
}
