/* Auxiliary Pages Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 2rem 0 4rem 0;
}

.page-header .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.back-link:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.page-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0;
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
}

.page-section.alt-bg {
    background-color: #F8FAFC;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.content-block h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 2rem 0 1rem 0;
}

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

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

.content-block ul li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.content-block ul li strong {
    color: var(--accent-color);
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.rounded-image {
    border-radius: 12px;
}

.team-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

/* Contact Info */
.contact-info {
    background-color: #F8FAFC;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Values Grid (About Page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    background-color: #ECFDF5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

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

/* Team Grid (About Page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.member-image {
    margin-bottom: 1.5rem;
}

.team-member h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.member-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-member p:not(.member-title) {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Commitment Grid */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.commitment-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.commitment-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.commitment-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Browser Instructions */
.browser-instructions {
    background-color: #F1F5F9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.browser-instructions p {
    margin-bottom: 0.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}

.browser-instructions p:last-child {
    margin-bottom: 0;
}

/* Footer Links */
.footer-section ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .content-block h2 {
        font-size: 1.75rem;
    }
    
    .content-block h3 {
        font-size: 1.25rem;
    }
    
    .content-block p,
    .content-block ul li {
        font-size: 1rem;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-image.reverse {
        grid-template-columns: 1fr;
    }
    
    .content-with-image.reverse .content-text,
    .content-with-image.reverse .content-image {
        order: unset;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item,
    .team-member {
        padding: 1.5rem;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 1.5rem 0 3rem 0;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .value-item,
    .team-member {
        padding: 1.25rem;
    }
    
    .browser-instructions {
        padding: 1rem;
    }
    
    .browser-instructions p {
        font-size: 0.75rem;
    }
}