/* Auxiliary Pages Styles */

/* Legal Content Styles */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

.legal-section p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.contact-details {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--light-seafoam) 0%, var(--light-indigo) 100%);
    padding: 1.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    pointer-events: none;
}

.page-header .logo-container {
    position: relative;
    z-index: 1;
}

.page-header .brand-name h1 a {
    color: var(--gray-800);
    text-decoration: none;
    font-size: 1.75rem;
}

.page-header .brand-name h1 a:hover {
    color: var(--indigo);
}

/* Page Main Content */
.page-main {
    min-height: 60vh;
    padding: 3rem 0;
}

.page-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.page-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Content Sections */
.content-section.centered {
    text-align: center;
}

.content-section.centered .content-text {
    text-align: left;
}

.content-section.centered .content-grid {
    align-items: center;
}

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

.content-section:last-of-type {
    margin-bottom: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.content-grid.reverse .content-visual {
    order: -1;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-text p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.content-visual {
    text-align: center;
}

.content-visual .placeholder-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: inline-block;
}

/* Photo placeholders for About page */
.photo-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: inline-block;
    text-align: center;
}

.photo-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-style: italic;
}

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

/* Expertise section styles */
.expertise-content {
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-highlights {
    margin-top: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--seafoam), var(--indigo));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.expertise-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Single column content for sections without images */
.content-section .content-text:only-child {
    max-width: 800px;
    margin: 0 auto;
}

.content-section .content-text:only-child h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.content-section .content-text:only-child p {
    font-size: 1.125rem;
    line-height: 1.7;
}

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

.content-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 2px dashed var(--gray-300);
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    color: var(--gray-400);
}

.content-placeholder h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.content-placeholder p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-placeholder p:last-of-type {
    margin-bottom: 0;
}

/* Responsive Design for Pages */
@media (max-width: 968px) {
    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse .content-visual {
        order: 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .content-text h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .content-text h2 {
        font-size: 1.5rem;
    }
    
    .content-placeholder {
        padding: 2rem 1rem;
    }
    
    .page-header .brand-name h1 a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-main {
        padding: 2rem 0;
    }
    
    .page-hero {
        margin-bottom: 2rem;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .content-section .content-text:only-child p {
        font-size: 1rem;
    }
}