/* Additional styles for auxiliary pages */

/* Reset and ensure proper inheritance */
* {
    box-sizing: border-box;
}

/* Content with visual layout */
.content-with-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.content-with-visual.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-visual.reverse .content-text {
    order: 2;
}

.content-with-visual.reverse .content-visual {
    order: 1;
}

.content-text h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.content-visual {
    display: flex;
    justify-content: center;
}

/* Services grid for about page */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.service-visual {
    flex-shrink: 0;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.service-item p {
    margin: 0;
    color: var(--text-dark);
}

/* Ensure proper spacing and layout */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--background-color);
    border-radius: 12px;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.content-block {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.content-block h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-block ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Services List for About Page */
.services-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.service-item p {
    margin: 0;
    color: var(--text-dark);
}

/* Company Info Table */
.company-info {
    margin-top: 2rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-table th,
.info-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.info-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    width: 30%;
}

.info-table td {
    color: var(--text-dark);
    background: white;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Contact info styling */
.contact-info {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Empty content placeholder for policy pages */
.empty-content {
    text-align: center;
    padding: 3rem;
    background: var(--background-color);
    border-radius: 8px;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive adjustments for pages */
@media (max-width: 768px) {
    .content-with-visual {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-visual.reverse .content-text,
    .content-with-visual.reverse .content-visual {
        order: unset;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .page-content {
        padding: 1rem 0;
    }
    
    .content-block {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .page-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .content-block h3 {
        font-size: 1.2rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .info-table th {
        width: 35%;
    }
    
    .contact-info {
        padding: 1rem;
    }
}