/* Auxiliary Pages Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(248, 187, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1f2937;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.back-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.back-link:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

/* Main Content */
.main-content {
    min-height: 60vh;
    padding: 3rem 0;
    background-color: #ffffff;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.last-updated {
    font-size: 0.95rem;
    color: #9ca3af;
    font-style: italic;
}

/* Content Blocks */
.content-blocks {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

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

.content-block h2 {
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F8BBD9;
}

.content-block p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

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

/* About Page Specific Styles */
.content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.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: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-content {
    text-align: center;
}

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

.community-features {
    text-align: center;
}

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

/* Legal Content Specific Styles */
.legal-content {
    font-family: 'Crimson Text', serif;
}

.legal-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content em {
    color: #6b7280;
    font-style: italic;
    display: block;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-left: 4px solid #4F46E5;
    border-radius: 0 8px 8px 0;
}

.legal-content h3 {
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-content h3:first-child {
    margin-top: 0;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo-link .brand-name {
        font-size: 1.25rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .page-title {
        margin-bottom: 2rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-block {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-with-image.reverse {
        grid-template-columns: 1fr;
    }
    
    .content-with-image.reverse .content-text,
    .content-with-image.reverse .content-image {
        order: unset;
    }
    
    .content-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .page-header {
        padding: 1rem 0;
    }
    
    .logo-link .brand-name {
        font-size: 1.1rem;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .page-title h1 {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    .content-block h2 {
        font-size: 1.35rem;
    }
    
    .back-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/* Print Styles for Legal Pages */
@media print {
    .page-header,
    .footer {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    .content-block {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .page-title h1 {
        color: #000;
        font-size: 24pt;
    }
    
    .content-block h2 {
        color: #000;
        font-size: 18pt;
    }
    
    .legal-content p,
    .legal-content li {
        color: #000;
        font-size: 12pt;
        line-height: 1.5;
    }
}