/* Auxiliary Pages Styles */

/* Header Navigation for auxiliary pages */
.aux-nav {
    margin-left: auto;
}

.aux-nav a {
    color: #2D3748;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.aux-nav a:hover {
    background-color: #E2E8F0;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #F7F3E9 0%, #E8F5E8 100%);
    margin-bottom: 3rem;
    border-radius: 12px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #4A5568;
    margin: 0;
}

/* Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

.block-content {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.block-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 1.5rem;
}

.block-content p {
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.block-content p:last-child {
    margin-bottom: 0;
}

/* Features List for About Page */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: #F7FAFC;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Legal Content Styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-text {
    background: #F7FAFC;
    padding: 2rem;
    border-radius: 8px;
    border: 2px dashed #CBD5E0;
    color: #718096;
    font-style: italic;
    text-align: center;
}

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

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse .content-text,
.content-with-image.reverse .content-image {
    direction: ltr;
}

.content-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Advantage Section */
.advantage-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.advantage-icon {
    margin-bottom: 1rem;
}

.advantage-intro p {
    font-size: 1.2rem;
    color: #4A5568;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Feature Items */
.feature-item {
    background: #F7FAFC;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-svg {
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .block-content {
        padding: 2rem 1.5rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .aux-nav {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-image.reverse {
        direction: ltr;
    }
    
    .content-image img {
        height: 250px;
    }
}