/* Auxiliary Pages Styles */

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 200px); /* Adjust based on header and footer height */
}

.page-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F5F5DC 0%, #E8F5E8 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2C2C2C;
}

.page-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 0;
}

.content-section.alt-bg {
    background-color: #FAFAFA;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 1.5rem;
    color: #2C2C2C;
}

.content-text p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

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

.image-placeholder {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.values-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.values-content h2 {
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.value-item h3 {
    margin-bottom: 1rem;
    color: #2C2C2C;
}

.value-item p {
    color: #666;
    line-height: 1.5;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legal-text {
    line-height: 1.6;
    color: #2C2C2C;
}

.legal-text h2 {
    color: #8FBC8F;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #E8F5E8;
    padding-bottom: 0.5rem;
}

.legal-text h3 {
    color: #6B8E6B;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-text p {
    margin-bottom: 1rem;
    color: #555;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-text strong {
    color: #2C2C2C;
    font-weight: 600;
}

.content-placeholder {
    padding: 3rem;
    text-align: center;
    color: #666;
    font-style: italic;
    background-color: #F9F9F9;
    border-radius: 8px;
    border-left: 4px solid #8FBC8F;
}

.content-placeholder p {
    margin: 0;
    line-height: 1.6;
}

/* Heritage Section Styles */
.heritage-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.heritage-content h2 {
    margin-bottom: 3rem;
    color: #2C2C2C;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.heritage-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.heritage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.heritage-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.heritage-item h3 {
    margin-bottom: 1rem;
    color: #2C2C2C;
    font-size: 1.25rem;
}

.heritage-item p {
    color: #666;
    line-height: 1.5;
}

/* Navigation active state for auxiliary pages */
.header .nav-links a.active {
    color: #8FBC8F;
    font-weight: 600;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.125rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .values-grid,
    .heritage-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-item,
    .heritage-item {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .content-placeholder {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .content-text h2 {
        font-size: 1.75rem;
    }
    
    .heritage-content h2 {
        font-size: 1.75rem;
    }
}