/* Additional styles for auxiliary pages */

/* Page Navigation */
.page-nav {
    display: flex;
    gap: 2rem;
}

.page-nav a {
    color: #2D3748;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.page-nav a:hover {
    color: #DC2626;
    border-bottom-color: #DC2626;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(22, 163, 74, 0.1) 0%, transparent 25%);
    pointer-events: none;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Page Main Content */
.page-main {
    background: white;
    min-height: 60vh;
    padding: 80px 0;
}

.content-section {
    margin-bottom: 4rem;
}

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

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif JP', serif;
    border-bottom: 3px solid #DC2626;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
}

.content-section p {
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.content-section a {
    color: #DC2626;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Team Values Grid (for About page) */
.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background: #F7FAFC;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #DC2626;
}

.value-item h3 {
    color: #2D3748;
    margin-bottom: 1rem;
}

.value-item p {
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Empty Content (for placeholder pages) */
.empty-content {
    text-align: center;
    padding: 4rem 2rem;
    background: #F7FAFC;
    border-radius: 12px;
    border: 2px dashed #E2E8F0;
}

.empty-content p {
    font-size: 1.125rem;
    color: #4A5568;
    margin-bottom: 1rem;
}

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

/* About page specific styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-content.reverse {
    direction: rtl;
}

.about-content.reverse > * {
    direction: ltr;
}

.about-text {
    text-align: left;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(45, 55, 72, 0.1);
    max-height: 300px;
    object-fit: cover;
}

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

.about-svg svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.08);
}

/* Responsive adjustments for pages */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .page-main {
        padding: 60px 0;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .team-values {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content.reverse {
        direction: ltr;
    }
    
    .empty-content {
        padding: 3rem 1.5rem;
    }
    
    .page-nav {
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}