/* Conversion Tool CSS Styles */

/* Breadcrumbs */
.breadcrumbs-container {
    background-color: #f8f9fa;
    padding: 10px 0;
    margin-top: 60px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    padding: 40px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Converter Tool Card */
.converter-section {
    margin-bottom: 50px;
}

.converter-tool-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.converter-tool-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2a5298;
    font-weight: 600;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.result-container {
    margin-top: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.result-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #6c757d;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2a5298;
}

/* Conversion Tables */
.common-conversions {
    margin-bottom: 50px;
}

.common-conversions h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2a5298;
}

.conversion-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.conversion-table th {
    background-color: #2a5298;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    border: none;
}

.conversion-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.conversion-table td {
    padding: 12px 15px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

/* Content Section */
.content-section {
    margin-bottom: 50px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.content-section h2 {
    font-weight: 700;
    margin-bottom: 25px;
    color: #2a5298;
}

.content-section h3 {
    font-weight: 600;
    margin: 30px 0 15px;
    color: #2a5298;
}

.expert-author {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-name {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-credentials {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #6c757d;
}

.publish-date {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Conversion Steps */
.conversion-steps {
    margin: 30px 0;
}

.step-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.step-number {
    background-color: #2a5298;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin-top: 0;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 15px;
}

.step-content ul {
    padding-left: 20px;
}

/* Formula Section */
.formula-section {
    margin: 30px 0;
}

.formula-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 5px solid #2a5298;
}

.formula-box p {
    margin-bottom: 10px;
}

/* Time Zone Table */
.time-zone-table th {
    background-color: #2a5298;
    color: white;
}

/* Scenarios Section */
.scenarios-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.scenario-card {
    flex-basis: calc(33.33% - 20px);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.example {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.example-military, .example-standard {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-weight: 600;
}

.example-military {
    color: #2a5298;
}

.example-standard {
    color: #28a745;
}

.example-arrow {
    padding: 0 15px;
    color: #6c757d;
    font-size: 1.5rem;
}

/* Applications Section */
.applications-section {
    margin: 30px 0;
}

.application-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    height: 100%;
}

.application-icon {
    color: #2a5298;
    font-size: 2rem;
    margin-bottom: 15px;
}

.application-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #2a5298;
}

/* Mistakes Section */
.mistakes-section {
    margin: 30px 0;
}

.mistake-list {
    padding-left: 20px;
}

.mistake-list li {
    margin-bottom: 15px;
}

/* Visual Chart */
.visual-chart {
    margin-bottom: 50px;
    background-color: #f8f9fa;
    padding: 40px 0;
}

.visual-chart h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2a5298;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto;
}

.clock-conversion-chart {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.chart-header {
    display: flex;
    background-color: #2a5298;
    color: white;
    padding: 15px;
}

.chart-title-24, .chart-title-12 {
    flex: 1;
    text-align: center;
    font-weight: 600;
}

.chart-body {
    padding: 10px;
}

.time-row {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.time-row:last-child {
    border-bottom: none;
}

.time-label {
    width: 30%;
    font-weight: 600;
    color: #2a5298;
}

.time-column {
    flex: 1;
    text-align: center;
}

.time-24 {
    color: #2a5298;
    font-weight: 600;
}

.time-12 {
    color: #28a745;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 50px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2a5298;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f0ff;
    color: #2a5298;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e9ecef;
}

/* CTA Section */
.cta-section {
    margin-bottom: 50px;
}

.cta-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 10px;
    padding: 30px;
}

.cta-card h2 {
    margin-bottom: 15px;
}

/* Related Resources */
.related-resources {
    margin-bottom: 50px;
}

.related-resources h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2a5298;
}

.resource-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    height: 100%;
}

.resource-card .card-icon {
    color: #2a5298;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #2a5298;
}

.resource-card p {
    margin-bottom: 20px;
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .scenario-card {
        flex-basis: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .scenario-card {
        flex-basis: 100%;
    }
    
    .time-row {
        flex-direction: column;
    }
    
    .time-label {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .time-column {
        margin-bottom: 5px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .breadcrumbs-container {
        background-color: #2b2b2b;
    }
    
    .converter-tool-card, 
    .application-card,
    .step-card,
    .scenario-card,
    .resource-card,
    .clock-conversion-chart {
        background-color: #2b2b2b;
    }
    
    .result-container,
    .formula-box,
    .expert-author,
    .example-military, 
    .example-standard {
        background-color: #333;
    }
    
    .content-section {
        color: #e0e0e0;
    }
    
    .visual-chart {
        background-color: #333;
    }
    
    .conversion-table tr:nth-child(even) {
        background-color: #333;
    }
    
    .conversion-table td {
        border-top: 1px solid #444;
    }
} 