/* Reset and Base Styles for Auxiliary Pages */
* {
    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: #2C2C2C;
    background-color: #F8F6F0;
}

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

/* Header */
.header {
    background: #F8F6F0;
    padding: 20px 0;
    border-bottom: 1px solid #E5E1D8;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.logo svg {
    display: block;
}

.brand-name {
    font-size: 28px;
    font-weight: 600;
    color: #2C2C2C;
    letter-spacing: -0.5px;
}

.back-nav {
    margin-left: auto;
}

.back-link {
    color: #7D8471;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-link:hover {
    background: #E5E1D8;
    transform: translateX(-2px);
}

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

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2C2C2C;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    color: #5A5A5A;
    line-height: 1.5;
    margin-bottom: 12px;
}

.last-updated {
    font-size: 14px;
    color: #7D8471;
    font-weight: 500;
}

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

.content-section {
    margin-bottom: 48px;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44, 44, 44, 0.05);
}

.content-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #2C2C2C;
    border-bottom: 2px solid #E5E1D8;
    padding-bottom: 12px;
}

.section-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #2C2C2C;
    margin-bottom: 20px;
}

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

/* About Page Specific Styles */
.content-with-illustration,
.content-with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 24px;
}

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

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

.about-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.1);
}

.content-text p {
    margin-bottom: 16px;
}

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

/* Legal Notice Styling */
.legal-notice {
    background: #F8F6F0;
    padding: 32px;
    border-radius: 8px;
    border-left: 4px solid #7D8471;
}

.legal-notice p {
    font-size: 16px;
    line-height: 1.6;
    color: #2C2C2C;
    margin-bottom: 16px;
}

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

.legal-notice ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-notice li {
    font-size: 15px;
    color: #5A5A5A;
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-notice a {
    color: #7D8471;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.legal-notice a:hover {
    border-bottom-color: #7D8471;
}

/* About Page Specific Styles */
.content-with-illustration,
.content-with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 24px;
}

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

.content-photo .image-placeholder {
    background: #E5E1D8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7D8471;
    font-weight: 500;
    font-size: 14px;
}

.about-photo {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.content-text p {
    margin-bottom: 16px;
}

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

/* Footer */
.footer {
    background: #2C2C2C;
    color: #F8F6F0;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 600;
}

.footer-brand p {
    color: #A0A0A0;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #A0A0A0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #F8F6F0;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #A0A0A0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-brand {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .back-nav {
        margin-left: 0;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .content-section {
        padding: 24px;
        margin-bottom: 32px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .section-content p {
        font-size: 15px;
    }
    
    .legal-notice {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-with-illustration,
    .content-with-photo {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-photo {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .page-header {
        margin-bottom: 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 22px;
    }
    
    .legal-notice {
        padding: 20px;
    }
    
    .legal-notice ul {
        padding-left: 20px;
    }
}
