/* Auxiliary Pages Specific Styles */

/* Main content area for auxiliary pages */
.auxiliary-main {
    padding: var(--spacing-2xl) 0;
    background: var(--background-light);
    min-height: calc(100vh - 200px);
}

/* Page header styling */
.page-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.page-header-img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    display: block;
}

/* Content sections */
.content-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
}

.content-section:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
    line-height: 1.4;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.content-img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin: var(--spacing-lg) 0;
    transition: transform 0.3s ease;
}

.content-img:hover {
    transform: scale(1.02);
}

.content-img-left {
    float: left;
    margin-right: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.content-img-right {
    float: right;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.content-section ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.content-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

/* Values grid for About page */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.value-item {
    background: var(--background-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.value-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: 0;
}

.value-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Contact details styling */
.contact-details {
    background: var(--background-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
}

.contact-details p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

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

.contact-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Footer links styling for auxiliary pages */
.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive design for auxiliary pages */
@media (max-width: 768px) {
    .auxiliary-main {
        padding: var(--spacing-xl) 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .value-item {
        padding: var(--spacing-md);
    }

    .contact-details {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .content-section h2 {
        font-size: 1.375rem;
    }

    .content-section h3 {
        font-size: 1.125rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.9375rem;
    }
    
    .content-img-left,
    .content-img-right {
        float: none;
        margin: var(--spacing-lg) auto;
        display: block;
    }
    
    .page-header-img {
        height: 200px;
    }
    
    .content-img {
        height: 200px;
    }
}