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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a2332;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(26, 35, 50, 0.1);
}

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

.logo-brand a {
    text-decoration: none;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
    letter-spacing: -0.5px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 0 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 20px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    font-size: 14px;
    color: #adb5bd;
    margin-top: 10px;
    font-style: italic;
}

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

.content-block {
    margin-bottom: 50px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 35, 50, 0.05);
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.image-placeholder img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(26, 35, 50, 0.1);
}

.illustration-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 20px;
    position: relative;
}

.content-block h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ff9500;
    margin-top: 10px;
}

.content-block p {
    font-size: 18px;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(26, 35, 50, 0.05);
    border-left: 4px solid #ff9500;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 16px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.contact-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    font-weight: 500;
}

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

/* Content Placeholder for Empty Pages */
.content-placeholder {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 40px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 35, 50, 0.05);
}

.content-placeholder p {
    font-size: 18px;
    color: #6c757d;
    font-style: italic;
}

/* Footer */
.footer {
    background: #1a2332;
    padding: 60px 0 40px;
    color: #ffffff;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.footer-brand-name {
    font-size: 20px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

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

.footer-copyright p {
    font-size: 14px;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .content-with-image,
    .content-with-image.reverse,
    .content-with-illustration {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .content-block {
        padding: 30px 25px;
        margin-bottom: 30px;
    }
    
    .content-block h2 {
        font-size: 24px;
    }
    
    .content-block p {
        font-size: 16px;
    }
    
    .legal-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .legal-section h2 {
        font-size: 22px;
    }
    
    .legal-section p {
        font-size: 15px;
    }
    
    .content-placeholder {
        padding: 60px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 40px 0 60px;
    }
    
    .page-header {
        margin-bottom: 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .content-block {
        padding: 25px 20px;
    }
    
    .content-block h2 {
        font-size: 22px;
    }
    
    .legal-section {
        padding: 20px 15px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .content-placeholder {
        padding: 50px 25px;
    }
}