/* 
 * Seerati Legal Pages Styles
 * تنسيق صفحات سيرتي القانونية
 */

:root {
    --primary-color: #1B4D3E;
    --primary-light: #2A6B56;
    --accent-color: #4CAF50;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --background: #F5F5F5;
    --surface: #FFFFFF;
    --border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 40px 24px;
    text-align: center;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

header .subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 4px;
}

header .date {
    font-size: 14px;
    opacity: 0.7;
}

/* Main Content */
main {
    padding: 24px;
}

section {
    background: var(--surface);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

section h2 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

section h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
}

section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

section ul {
    color: var(--text-secondary);
    padding-right: 24px;
    margin-bottom: 12px;
}

section li {
    margin-bottom: 8px;
}

section li strong {
    color: var(--text-primary);
}

/* Contact Info */
.contact-info {
    background: var(--background);
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

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

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

/* Contact Cards */
.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 4px;
    margin-top: 0;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-link {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.contact-link:hover {
    background: var(--primary-light);
    text-decoration: none !important;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Intro Section */
.intro {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.intro p {
    color: white;
    font-size: 18px;
    text-align: center;
    margin: 0;
}

/* Response Time */
.response-time {
    background: #FFF9E6;
    border: 1px solid #FFD54F;
}

.response-time h2 {
    border-bottom-color: #FFD54F;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid #4CAF50;
}

.highlight-box h2 {
    color: #2E7D32;
    border-bottom-color: #4CAF50;
}

.highlight-box p {
    color: #1B5E20;
}

/* Note */
.note {
    background: #E3F2FD;
    padding: 12px 16px;
    border-radius: 8px;
    border-right: 4px solid #2196F3;
    margin-top: 16px;
    color: #1565C0 !important;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 32px 16px;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    main {
        padding: 16px;
    }
    
    section {
        padding: 20px;
    }
    
    section h2 {
        font-size: 18px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #FFFFFF;
        --text-secondary: #B0B0B0;
        --background: #121212;
        --surface: #1E1E1E;
        --border: #333333;
    }
    
    section {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .contact-card {
        background: var(--surface);
        border-color: var(--border);
    }
    
    .contact-info {
        background: #2A2A2A;
    }
    
    .response-time {
        background: #2A2500;
        border-color: #665500;
    }
}
