/* Pages CSS - Auxiliary Pages Styling */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Color System */
:root {
    --primary-color: #1a237e;
    --secondary-color: #2196f3;
    --accent-color: #ff9800;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --neutral-100: #f8f9fa;
    --neutral-200: #e9ecef;
    --neutral-300: #dee2e6;
    --neutral-400: #ced4da;
    --neutral-500: #6c757d;
    --neutral-600: #495057;
    --neutral-700: #343a40;
    --neutral-800: #212529;
    --neutral-900: #000000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    line-height: 1.5;
    margin-bottom: 16px;
}

ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

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

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

/* Page Hero */
.page-hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    margin-bottom: 40px;
    border-radius: 12px;
}

.page-hero h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto 16px;
}

.last-updated {
    font-size: 1rem;
    color: var(--neutral-500);
    font-style: italic;
    margin: 0;
}

/* Content Sections */
.content-section {
    margin-bottom: 48px;
    padding: 32px 0;
}

.content-section:nth-child(even) {
    background-color: var(--neutral-100);
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.section-header h2 {
    color: var(--primary-color);
    margin: 0;
}

.content-text {
    max-width: 800px;
}

.content-text h3 {
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.content-text p {
    color: var(--neutral-700);
    font-size: 1rem;
    line-height: 1.6;
}

.content-text ul {
    color: var(--neutral-700);
}

.content-text li {
    line-height: 1.5;
}

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

.value-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.value-item p {
    color: var(--neutral-600);
    font-size: 0.95rem;
    margin: 0;
}

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

.contact-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Image Styling for About Page */
.content-text img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-text img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section:nth-child(even) {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .content-text img {
        height: 200px !important;
        margin: 16px 0 !important;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 20px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .content-section {
        margin-bottom: 32px;
        padding: 24px 0;
    }
    
    .nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .content-text img {
        height: 180px !important;
        margin: 12px 0 !important;
    }
}