/* Auxiliary Pages Styles */

/* Import base styles from main CSS */
@import url('style.css');

/* Header for auxiliary pages */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.back-link {
    color: var(--harbor-teal);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--harbor-teal);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: var(--harbor-teal);
    color: white;
}

/* Main content for auxiliary pages */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 80px 0;
    background-color: var(--sky-gray);
}

.main-content h1 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-navy);
}

.content-block {
    background: white;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-block h2 {
    color: var(--harbor-teal);
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: left;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 20px;
}

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

/* Empty content placeholder */
.content-block:empty {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-style: italic;
}

.content-block:empty::before {
    content: 'Content will be added here';
}

/* About page specific styles */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

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

.expertise-item {
    text-align: center;
    padding: 20px;
}

.expertise-icon {
    margin-bottom: 20px;
}

.expertise-item h4 {
    color: var(--harbor-teal);
    margin-bottom: 15px;
}

.expertise-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .content-block {
        padding: 30px 20px;
    }
    
    .main-content h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Override footer for auxiliary pages */
.footer {
    margin-top: auto;
}

.footer .footer-content {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.footer .footer-links {
    display: none;
}

@media (max-width: 768px) {
    .footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}