/* Company profiles specific styles */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/api/placeholder/1200/300');
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 1rem;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.filter-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background: #f0f2f5;
}

.filter-tag.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

/* Company Profiles */
.company-profiles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-profile {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.company-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.company-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
}

.company-info {
    flex-grow: 1;
}

.company-info h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.company-location {
    color: #666;
    margin-bottom: 1rem;
}

.company-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f2f5;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.company-content {
    color: #666;
}

.company-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: #2c3e50;
}

.company-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-link, .secondary-link {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.primary-link {
    background: #2c3e50;
    color: white;
}

.primary-link:hover {
    background: #3498db;
}

.secondary-link {
    background: white;
    color: #2c3e50;
    border: 1px solid #2c3e50;
}

.secondary-link:hover {
    background: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        height: 150px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .company-header {
        flex-direction: column;
        gap: 1rem;
    }

    .company-logo {
        width: 100px;
        height: 100px;
    }

    .company-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .company-profile {
        padding: 1rem;
    }

    .company-links {
        flex-direction: column;
    }

    .primary-link, .secondary-link {
        text-align: center;
    }
}